Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4760

Leastconn algorithm for short lived connections

$
0
0

@Skinnyguinea wrote:

Hi all,

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?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4760

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>