Hi Norman,

On Fri, Sep 25, 2020 at 03:58:54PM +0000, Branitsky, Norman wrote:
> Wondering if this was ever implemented?

Yes it was merged into 2.0, it's used by default when you select
random since it's always slightly better than a naive random, and
you can even configure it to set the number of draws you want.

I also made some experiments to measure the gains :

    https://www.haproxy.com/blog/power-of-two-load-balancing/

TL;DR: it's only better than the default random, but isn't as good as
the real leastconn like the one we have which is combined with round
robin hance limits collisions between LB nodes in a distributed system.

Willy

Reply via email to