Re: [SR-Users] Limit the number of requests per second based on the user

2014-05-02 Thread Sebastian Damm
Hi Daniel, my last mail was probably not really clear. I don't want a pipe for all users together, but one for each user. What I wanted to say is, I don't need different limits for some users, they all share the same limits. I have implemented the htable version now, and it's working as expected (

Re: [SR-Users] Limit the number of requests per second based on the user

2014-04-30 Thread Daniel-Constantin Mierla
Hello, On 30/04/14 15:43, Sebastian Damm wrote: Hi, actually, I only need one limit for all users. I can exempt some calls based on IP from the limit. for all users should just work using one pipe. If you want per user, I already committed on master branch to have dynamic pipes, see: http

Re: [SR-Users] Limit the number of requests per second based on the user

2014-04-30 Thread Sebastian Damm
Hi, actually, I only need one limit for all users. I can exempt some calls based on IP from the limit. Thanks for the input on how to implement it with the existing modules. Best Regards, Sebastian On Tue, Apr 29, 2014 at 9:31 PM, Daniel-Constantin Mierla wrote: > Hello, > > do you need wit

Re: [SR-Users] Limit the number of requests per second based on the user

2014-04-29 Thread Daniel-Constantin Mierla
Hello, do you need with different limits for each user and method? Considering to add a default limit and algorithm for dynamic pipes that could be added at runtime, without prior definition. Right now you can probably get it with htable. - set a maximum lifetime for items to the period you w