[OpenSIPS-Users] loadbalancer module and adding servers to the load balancing pool

Bobby Smith bobby.smith at gmail.com
Sat Nov 27 21:34:08 CET 2010


I feel there can be something done using the ratelimit module here:
http://www.opensips.org/html/docs/modules/1.6.x/ratelimit.html, but I don't
see that happening without a way to do a "select next" with the loadbalancer
module.  Currently, the implementation calculates load based on resources
available, but is there a way to forcibly skip a resource and pick the "next
best" resource, like a lb_do_next() function?

Thanks,

Bobby Smith

On Sat, Nov 27, 2010 at 3:25 PM, Bobby Smith <bobby.smith at gmail.com> wrote:

> Greetings,
>
> Currently with our load balancing implementation, we're encountering a
> problem where when a server is added to the active pool during load, all
> calls immediately hit that server until all the resources are reached.
>  While in a perfect situation (restarting call load) this is not a problem,
> in a situation where we're under call load with many servers and need to
> dynamically add more servers, this causes a problem as the resource added
> can't handle the sudden burst of calls per second.  This is also causing a
> problem when a resource is removed from the pool for troubleshooting
> purposes and needs to be added back without a restart of opensips.
>
> Is there any way from a scripting perspective to throttle how this works?
>  If not, I'd like to request it as a feature (something like maximum CPS per
> resource or something).  Also, resetting the load balancing metrics is not
> an option; we need to be able to keep an accurate track of resources load
> balanced to each server.
>
> Thanks,
>
> BobbyS
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20101127/07f68c9a/attachment.htm>


More information about the Users mailing list