RE: balance source and weighted records

2013-04-03 Thread Jim Gronowski
: Jeff Zellner [mailto:j...@olark.com] Sent: Tuesday, April 02, 2013 17:58 To: Jim Gronowski Cc: haproxy@formilux.org Subject: Re: balance source and weighted records Hey Jim, Here's the pertinent section from the docs (http://cbonte.github.com/haproxy-dconv/configuration-1.4.html#4-balance

Re: balance source and weighted records

2013-04-03 Thread Jeff Zellner
: balance source and weighted records Hey Jim, Here's the pertinent section from the docs (http://cbonte.github.com/haproxy-dconv/configuration-1.4.html#4-balance ) The source IP address is hashed and divided by the total weight of the running servers to designate which server

Re: balance source and weighted records

2013-04-03 Thread Willy Tarreau
On Wed, Apr 03, 2013 at 06:20:44PM +0200, Baptiste wrote: I confirm that as long as the number of server and each server's weight is the same, two HAProxy instances would have the same result for a source hash. So, in case of HAProxy instance failover, the affinity remains. And if you have

Re: balance source and weighted records

2013-04-02 Thread Jeff Zellner
Hey Jim, Here's the pertinent section from the docs (http://cbonte.github.com/haproxy-dconv/configuration-1.4.html#4-balance) The source IP address is hashed and divided by the total weight of the running servers to designate which server will receive the request.