[Devel] rand function in config file
Klaus Darilion
klaus.mailinglists at pernau.at
Wed Mar 21 14:47:27 CET 2007
Hi Henning!
How will you find out that there are "too many clients registering on a
given time"?
I once thought of having a mechanism which checks the input queue of the
sockets. If it reaches a certain level, some messages get rejected, e.g.:
reject not so critical messages (SUBSCRIBE, NOTIFY ...)
reject INVITEs without to tag
allow in dialog requests
reject REGISTER
reject calls to external domains
regards
klaus
Henning Westerholt wrote:
> Hello all,
>
> i need a function that return true or false, depending on a probability that
> can be changed on runtime, e.g. with a fifo command.
>
> The purpose of this function is simple load shedding, if for example to many
> clients register on a given time, then i could send a error message to e.g.
> 40% of them.
>
> Should i build a simple module for this function, or is this is a change that
> is more reasonable implemented in the core?
>
> I just want to ask, perhaps there is interest to later include this function
> in the trunk.
>
> Cheers,
>
> Henning
>
> _______________________________________________
> Devel mailing list
> Devel at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/devel
More information about the Devel
mailing list