[Devel] rand function in config file

Henning Westerholt henning.westerholt at 1und1.de
Thu Mar 22 09:20:20 CET 2007


On Wednesday 21 March 2007 17:26, you wrote:
> > For the SER ratelimit module we have RED (random early detection).
> > In a nutshell it samples the number of messages and for the next
> > timeframe drops every n-th message in order to get the total number
> >
> >> drop (causes retransmissions) or reject?
>
> It's up to the user to opt for drop or reject. Personally I had
> quite good results rejecting messages with a 500-class error
> including a Retry-After header.
> The Retry-After value should differ between replies though.
> That's where the randomize function comes into play.

Thanks all for your suggestions. I'll implement a simple module with some 
randomize functions. 

Cheers,

Henning



More information about the Devel mailing list