Re: source algorithm - question.

2020-09-25 Thread Willy Tarreau
On Fri, Sep 25, 2020 at 03:57:58PM +0200, Lukasz Tasz wrote: > first is opposite to leastconn - first keep load at the beginning, > leastconn same everywhere. Indeed. > but why source is limiting balancing only to one machine? Because in almost every case people want to use it to maintain affini

Re: source algorithm - question.

2020-09-25 Thread Łukasz Tasz
hi, thanks for answer, Not exactly, rather a mix of source and first. reason behind is that in case that we have free resources, different clients would get different machines, with "first" you will get first available slot - and reason behind is to scale down source works good until one client sti

Re: source algorithm - question.

2020-09-24 Thread Lukas Tribus
Hello, On Thu, 24 Sep 2020 at 11:40, Łukasz Tasz wrote: > > Hi all, > haproxy is gr8 - simply. > > Till today I was using roundobin algorithm, but after studying documentation > it popped up that source might be better. > I'm using haproxy in tcp mode, version 1.8, load from one client sometimes

source algorithm - question.

2020-09-24 Thread Łukasz Tasz
Hi all, haproxy is gr8 - simply. Till today I was using roundobin algorithm, but after studying documentation it popped up that source might be better. I'm using haproxy in tcp mode, version 1.8, load from one client sometimes requires more then few servers from the backend. but also initializati