Hi,

I believe Jetty provides QoSFilter [1] or something similar. You can configure 
a maximum amount of concurrent requests, waiting period, etc. If a request is 
not able to acquire a permit, the filter will quickly return a 503 error.

[1] 
http://download.eclipse.org/jetty/stable-9/apidocs/org/eclipse/jetty/servlets/QoSFilter.html

-- 
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.

Reply via email to