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

Cannot make fixed balancing with "leastconn"

$
0
0

Hi,

I’m tying to make a very silple thing : bascivc configuration, with one frontend, associated with 6 backend, no weight, and using “balance leastconn”, “mode tcp”.

When I connect 6 connections on “frontend”, from 6 different clients, one connection performed every second, I was expecting having one tcp connection on each of my 6 backends. Tsi is not the case, behaviour is randop : in most case, at least one backend has 2 or more connections, and at least one has no connection, which is bad …
“laxconn” to one is not a good solution, since in case I loose a backend, I’m afraid it will not allow 2 connexions on backend (which would be necessary in this case).

Thanks for any idea,

Guenhaël

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4723

Trending Articles



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