[OpenSIPS-Devel] [opensips] A new flag for LB module lb_start() function to pick a rand()'om destinations with equal load (#610)

Sergey KHripchenko notifications at github.com
Mon Aug 24 12:16:16 CEST 2015


...if multiple destinations selected.

This could help to offload an excessive load from first destination and distribute load in situations when calls duration is near to zero (like failed calls)
and counts in resources are almost always zero and does not reflect an actual calls flow.

Already discussed in PR: OpenSIPS/opensips#345
You can view, comment on, or merge this pull request online at:

  https://github.com/OpenSIPS/opensips/pull/610

-- Commit Summary --

  * A new flag for LB module lb_start() function to pick a rand()'om destinations with equal load,

-- File Changes --

    M modules/load_balancer/lb_data.c (78)
    M modules/load_balancer/lb_data.h (1)
    M modules/load_balancer/load_balancer.c (4)

-- Patch Links --

https://github.com/OpenSIPS/opensips/pull/610.patch
https://github.com/OpenSIPS/opensips/pull/610.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/610
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20150824/44ec6a7a/attachment.htm>


More information about the Devel mailing list