That and the DoS filter seem similar but I don't think they can be used to 
limit the max size of the request. E.g. Looking for something where if 
someone tried to send a ton of 1MB requests filled with gibberish to the 
service, to fail fast and return an error without having it go through the 
request filters through to the resource methods.

On Tuesday, April 4, 2017 at 12:38:26 PM UTC-7, Artem Prigoda wrote:
>
> 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