Re: throttle filter

2014-12-08 Thread Tim Funk
[resend ... I just realized my email settings were borked for sending] It might be easier (and much more efficient) for your operating system to do this for you: For example: http://unix.stackexchange.com/questions/139285/limit-max-connections-per-ip-address-and-new-connections-per-second-with-i

Re: throttle filter

2014-12-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Leo, On 12/2/14 5:12 PM, Leo Donahue wrote: > On Tue, Dec 2, 2014 at 3:28 PM, Chris Gamache > wrote: > >> You could probably be more sophisticated in your throttling, >> letting certain IPs or requests through while tarpitting others. >> >> I w

Re: throttle filter

2014-12-02 Thread Leo Donahue
On Tue, Dec 2, 2014 at 4:08 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Chris, > > On 12/2/14 4:28 PM, Chris Gamache wrote: > > Anyone ever suggested? No idea. But I'd be glad to riff on the > > subject in case it shakes so

Re: throttle filter

2014-12-02 Thread Leo Donahue
On Tue, Dec 2, 2014 at 3:28 PM, Chris Gamache wrote: > You could probably be more sophisticated in your > throttling, letting certain IPs or requests through while tarpitting > others. > > I was thinking about how, from my perspective, I see developers wanting to throttle back the number of reque

Re: throttle filter

2014-12-02 Thread Christopher Schultz
me, this can be easy (session -- stats are in the session; problem solved) or difficult (IP address must be broadcast to all nodes to keep stats up-to-date). It's a non-trivial problem. - -chris > On Tue, Dec 2, 2014 at 12:28 PM, Leo Donahue > wrote: > >> Has anyone ever sugge

Re: throttle filter

2014-12-02 Thread Chris Gamache
te with one another for global counter stats. On Tue, Dec 2, 2014 at 12:28 PM, Leo Donahue wrote: > Has anyone ever suggested a configurable throttle filter as one of the > container provided filters in Tomcat? > > Or are people generally using the attributes in the HTPP connector f

throttle filter

2014-12-02 Thread Leo Donahue
Has anyone ever suggested a configurable throttle filter as one of the container provided filters in Tomcat? Or are people generally using the attributes in the HTPP connector for limiting requests to the server for a given amount of time? leo