HaProxy balancing


#1

Do I set up more than one balance for a backend?
Example: roundrobin and leastconn


#2

no, that doesn’t make much sense since the balance algorithm determines which server to pick. However, please keep in mind that leastconn is already smart enough to round-robin between servers having the lowest number of connections (to avoid always picking the same server on very low workloads showing either 0 or 1 connection).