[SR-Users] How fair is the rtpengine loadbalancing?

Daniel-Constantin Mierla miconda at gmail.com
Fri Mar 22 14:37:46 CET 2019


I haven't looked at the code for rtpengine, but iirc correctly, the
rpproxy was also doing sort of hashing over call-id to select the
node... I would be also curious to see how the balancing algorithm is
designed in this case, whether is intended to be strict, or best effort.


On 19.03.19 13:23, Daniel Tryba wrote:
> I have 3 rtp backends defined with equal weights (33 each). But when I
> look at the number of calls being handled the spreaded load is always
> 5:4:3 for the machines in the orderd listed:
> modparam("rtpengine", "rtpengine_sock", "udp:
> udp: udp:")
> Looking at select_rtpp_node_new I see nothing unfair happening (with my
> total lack of knowledge of how the node set is populated).
> Anybody else noticing this?
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference - May 6-8, 2019 -- www.kamailioworld.com
Kamailio Advanced Training - Mar 25-27, 2019, in Washington, DC, USA -- www.asipto.com

More information about the sr-users mailing list