[SGVLUG] web server throttling
Dmitriy Vinogradov
dmitriy at linux.ucla.edu
Thu Feb 3 19:37:30 PST 2011
I'm a fan of nginx and a quick search confirmed that there's a module
that does sort of what you're trying to achieve. See this discussion
thread: http://forum.nginx.org/read.php?2,47990,47991 Even without
optimizations, though, nginx is known to do a much better job when
there are limited resources and/or lots of work to do.
- Dmitriy Vinogradov
LUG at UCLA VP (External)
http://linux.ucla.edu/
On Thu, Feb 3, 2011 at 7:32 PM, Claude Felizardo <cafelizardo at gmail.com> wrote:
> Got an interesting web server question for the list...
>
> How would you plan for a slashdot effect?
>
> Basically one of the projects at work is getting ready to publish some
> new data which will be available via a web service. They expect most
> users will run it interactively trying a few queries and download some
> data when they find something of interest. They also expect some
> people will write scripts which will try to download as much as they
> can. The project wants to throttle the heavy users so that the
> interactive users can use the system as it was designed.
>
> Are there any apache modules that can be used to automatically limit
> the number of requests from either a specific IP or block of IPs
> without having to explicitly list them in advance. Need something
> that will do this automatically and can be tuned. Possibly a tunable
> parameter that says once you go above X number of requests in a
> certain time period then you get a tailored message saying to try
> again later. Don't want to just drop the request as they'll just keep
> retrying - we want them to know they are abusing the system.
>
> Apparently there was something like this for Apache 1.x but it hasn't
> been updated for 2.x.
>
> Has anyone done anything similar?
>
> claude
>
More information about the SGVLUG
mailing list