We have configured HA Proxy for forwarding connections to two application servers.
We have used roundrobin algorithm for the balance parameter in the backend code section.
We wish to know if we can use leastconn algorithm for this purpose.
The connections are of a short duration and we are aware that leastconn is generally used for long running sessions.
Can we replace roundrobin with leastconn in our config file? What kind of behaviour can we expect if we were to implement this?