java


Dropwizard request processing is deferred


Dropwizard version: 0.9.2
I have a pretty simple dropwizard rest api on live servers.
There is a nginx in front of it.
For many request nginx shows that client timed out (status 499) as our service breached the SLA (150 ms).
On examining the access log and application log, it appears that the request reached dropwizard late (around 250ms after nginx had already declared the client timeout).
On enabling the debug logs at Dropwizard side, found out that the select thread is waking up late
I have tried multiple things including:
1) Setting the selector count to 200,300,400,500. None helped.
2) Increasing the acceptor count to 32,50,etc.
3) Changing GC strategies
4) Changing versions of dropwizard from 0.9.2 to 0.9.1.
Have you tried increasing threads in your config.yaml?
server:
...
minThreads: 20
maxThreads: 400

Related Links

Spring : Singleton VS Prototype
SQL Error: 1795, SQLState: 42000 - maximum number of expressions in a list is 1000
Apache Util.copyStream: Stop Stream
Error importing subscriptions from publish settings file (Azure) Eclipse
Synchronised VS Striped Lock
Parse without ignoring whitespaces - Java
Invalid JAVA_HOME directory
Why can't I create object outside any method
Getting a Date from a GregorianCalendar
is it good to use system properties in a singleton in Java?
HashMap get method in Java 6 & Java 8
Storm reading files throws “Java.lang.OutOfMemoryError: GC overhead limit exceeded”
custom dialog in android is coming different size in android
Duplicate Shortcut icon on Android
Java thread order of execution
com.microsoft.sqlserver.jdbc.sqlserverexception:the column name count(pr) is not valid

Categories

HOME
deployment
fluentd
drivers
hp-exstream
vmware
read-eval-print-loop
bookshelf.js
cakephp-2.5
c#-2.0
ojdbc
cross-validation
awesome-wm
gorm
handsontable
collectd
circuit
after-effects
tostring
opencover
jquery-ajaxq
ehcache
accessor
angular2-aot
smb
apache-commons-io
spring-mybatis
elasticsearch-ruby
ping
jspm
webkitspeechrecognition
frame
.net-4.0
karaf
form-data
jquery-bootgrid
automake
space-complexity
unspecified
sqlite2
elasticsearch-plugin
tasker
mapzen
grid.mvc
dynamic-reports
google-closure
vao
checkboxlist
websphere-mq-fte
auto-update
jquery-nestable
paxos
pnotify
rdfs
drupal-6
mako
redundancy
account-kit
chord-diagram
smart-table
word-vba-mac
nested-sets
wdf
google-feed-api
gridpane
home-directory
fuzzy-search
lua-5.1
design-by-contract
two-factor-authentication
freedesktop.org
xna-4.0
purge
kcachegrind
embedded-code
operation
generic-programming
key-management
dereference
fscommand
website-monitoring
gadt
socketexception
html-helper
openexr
sgen
java.nio.file
gnu-smalltalk
dbconnection
dotnetnuke-5
shellexecute
padarn
mqx
distutils
manchester-syntax
dbproviderfactories
pendrive
doh
horizontal-accordion
ecl
actionview
mirah
bespin
noscript
zend-decorators
msdev

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App