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

David Villasmil david.villasmil.work at gmail.com
Thu Nov 15 17:09:43 CET 2018


Ah, 5.2 branch. Will test it, thanks!

On Thu, 15 Nov 2018 at 16:06, Daniel-Constantin Mierla <miconda at gmail.com>
wrote:

> 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>
> 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
>> 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
>>
>> --
> Daniel-Constantin Mierla -- www.asipto.comwww.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/4fd7a80b/attachment.html>


More information about the sr-users mailing list