users@grizzly.java.net

Re: glassfish v3 throttling

From: Oleksiy Stashok <Oleksiy.Stashok_at_Sun.COM>
Date: Tue, 27 Oct 2009 10:47:28 +0100

Hi,

> How can I throttle requests per ip, say, max 10 requests per ip, or
> rather ip/useragent when I am using glassfish v3? I though grizzly had
> some built in mechanisms for that, but I could not figure out how to
> do it.
AFAIK we don't have such a mechanism. You can add it by implementing
custom HTTP com.sun.grizzly.util.Interceptor.

WBR,
Alexey.

>
> Best.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>