-=| Martín Ferrari, Fri, Feb 13, 2009 at 06:41:58AM -0200 |=- > On Fri, Feb 13, 2009 at 04:28, Martín Ferrari <martin.ferrari@gmail.com> wrote: > > > I've read it, but I don't find any rate limiter module for POE... > > Schedule::RateLimiter could be used without problems inside a POE app, > > but it doesn't handle burst mode. In any case, it's not difficult to > > code a basic rate limiter, I'll give it a shot. > > Scratch that, after thinking about the problem I realized I was being > stupid: the burst is more or less given by the iterations parameter. > Now you can add two new config parameters to the server: > > soap: > max_requests_per_minute: 2.5 > max_requests_burst: 5 > > It defaults to being disabled. Great! Thanks! > PS: I embedded Schedule::RateLimiter, I don't know if it's worth to > package it. Bad Tincho :) Of course it is worth packaging. KGB uses it, and one day we'll package it too. I'll take care of it. -- dam JabberID: dam@jabber.minus273.org
Attachment:
signature.asc
Description: Digital signature