Hello,
while load testing of my server with jmeter(100 threads, ramp-up period 0)
I'll get 1% failures with connections timeouts. I set 20000 millis for
connection 60000 millis for response. More than enough to process a simple
request. It looks like, if all threads are busy then dropwizard stops
accepting new connections.
However, all servlets use async context and all processing is done in
non-blocking manner. So large number of connections could be accepted by
the server. I'm still debugging to be sure that no blocking calls happen in
application code. But my question is, what is recommended config for async,
non-blocking servlets? Shall I explicitly enable non-blocking mode?
I'm using dropwizard 0.9.2 with the following config
server:
gzip:
bufferSize: 8KiB
minThreads: 32
applicationConnectors:
- type: http
port: 80
acceptorThreads: 2
selectorThreads: 4
outputBufferSize: 8KiB
Thanks for your help!
--
You received this message because you are subscribed to the Google Groups
"dropwizard-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.