[SR-Users] Which algorithm to use as load-balance

Daniel-Constantin Mierla miconda at gmail.com
Thu Nov 15 17:05:57 CET 2018


Hello,

besides master, you can also use branch 5.2 -- this is going to be used
to release 5.2.0 and other future 5.2.x versions. Those two branches
have the same version of the module at this moment.

Cheers,
Daniel

On 15.11.18 16:48, David Villasmil wrote:
> Hey Daniel,
>
> Thanks for replying. Can I test this from master?
>
> David
> On Thu, 15 Nov 2018 at 15:12, Daniel-Constantin Mierla
> <miconda at gmail.com <mailto:miconda at gmail.com>> wrote:
>
>     Hello,
>
>
>     On 14.11.18 23:16, David Villasmil wrote:
>     > Hello,
>     >
>     > Is it possible to set an algorithm like the following?
>     >
>     > fs1 - Priority 10 - maxload 20 calls
>     > fs2 - Priority 10 - maxload 20 calls
>     > fs3 - Priority 9 - maxload 20 calls
>     > fs4 - Priority 8 - maxload 20 calls
>     > fs5 - Priority 7 - maxload 20 calls
>     >
>     > So that, whenever any new call comes in, fs1 and fs2 would be used,
>     > meaning the fs with the highest priority would be use UNLESS there's
>     > 20 calls on that server, in which case, the next server with the
>     > highest priority would be used.
>     >
>     this should be easier possible with the upcoming 5.2.0 (to be released
>     in about 2 weeks or so), see:
>
>       -
>     https://www.kamailio.org/docs/modules/devel/modules/dispatcher.html#dispatcher.f.ds_select_routes
>
>     For older versions you may need to do more complex logic in the
>     configuration file to call dispatcher for different groups at
>     different
>     stages of failure re-routing.
>
>     Cheers,
>     Daniel
>
>     -- 
>     Daniel-Constantin Mierla -- www.asipto.com <http://www.asipto.com>
>     www.twitter.com/miconda <http://www.twitter.com/miconda> --
>     www.linkedin.com/in/miconda <http://www.linkedin.com/in/miconda>
>     Kamailio World Conference -- www.kamailioworld.com
>     <http://www.kamailioworld.com>
>     Kamailio Advanced Training, Nov 12-14, 2018, in Berlin --
>     www.asipto.com <http://www.asipto.com>
>
-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference -- www.kamailioworld.com
Kamailio Advanced Training, Nov 12-14, 2018, in Berlin -- www.asipto.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20181115/90ac9e40/attachment.html>


More information about the sr-users mailing list