[sr-dev] [tracker] Comment added: dispatcher doesn't loadbalance correctly if one target is offline

sip-router bugtracker at sip-router.org
Mon Aug 25 17:26:58 CEST 2014


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#460 - dispatcher doesn't loadbalance correctly if one target is offline
User who did this - Daniel-Constantin Mierla (miconda)

----------
I expect that the selection of the next hop is done based on initial size of the set (hash-id % set-size). It would require to keep another value with the size of 'active next hops' (hash-id % number-of-active-next-hops) -- but then it also requires a way to count the 'current' index int the active-next-hops.

Perhaps this can be introduced as an option to the module -- when enabled, instead of simply picking next-hops[hash-id % number-of-active-next-hops], it will walk the next-hops array from beginning and count the active ones until it get to the value of hash-id % number-of-active-next-hops.

----------

More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=460#comment1603

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the sr-dev mailing list