On 25 September 2014 16:45, Gerd Müller <gmuel...@gmbd.de> wrote:
> Hi list,
>
> we want to stress test our system. We have 8 nodes behind the haproxy and 8
> server infront to generate the request. Since we are using source based
> loadbalancing I would like to know how the hash is build so I can give the
> requesting the proper ips.

I don't know this. However, in your position, I'd either

a) dive into the source code:
http://git.haproxy.org/?p=haproxy-1.5.git;a=tree or
b) do some very quick experiments with IPs taken from an RFC1918 /24
until I got an even spread of requests to backends or
c) change load balancing algorithm for the tests to something like
round-robin as per
http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#balance

HTH,
Jonathan

Reply via email to