Re: Connection rate limiting with Apache2::ConnectionUtil pnotes

2009-05-12 Thread Philippe M. Chiasson
On 12/05/09 21:50 , Fred Moyer wrote: > Greetings, > > I ran into an issue today where I had a load surge in my application > server, so I looked around for a suitable throttling module and didn't > see anything simple. I personally have used mod_cband quite successfully for stuff like this, give

Connection rate limiting with Apache2::ConnectionUtil pnotes

2009-05-12 Thread Fred Moyer
Greetings, I ran into an issue today where I had a load surge in my application server, so I looked around for a suitable throttling module and didn't see anything simple. So I put together this snippet (very rough) which uses the connection pnotes data structure to track how many requests are ma