Re: haproxy hash that honors already connected connections

2014-05-24 Thread Jai Gupta
On Sat, May 24, 2014 at 11:00 AM, Willy Tarreau wrote: > On Sat, May 24, 2014 at 08:23:04AM +0530, Jai Gupta wrote: > > > > What hash should we use in this case or is there any other > configuration > > > > that we should be using? > > > > > > It's totally irrelevant to the hash here, because the

Re: haproxy hash that honors already connected connections

2014-05-23 Thread Willy Tarreau
On Sat, May 24, 2014 at 08:23:04AM +0530, Jai Gupta wrote: > > > What hash should we use in this case or is there any other configuration > > > that we should be using? > > > > It's totally irrelevant to the hash here, because the hash is determinist > > so it ensures that a given input always lead

Re: haproxy hash that honors already connected connections

2014-05-23 Thread Jai Gupta
Thank for reply Willy. On Fri, May 23, 2014 at 10:42 PM, Willy Tarreau wrote: > On Fri, May 23, 2014 at 09:54:18PM +0530, Jai Gupta wrote: > > We have configured haproxy 1.5 and are using map-based hash (default). > > > > For e.g. we have two backend servers. Server A and Server B. > > Clients 1

Re: haproxy hash that honors already connected connections

2014-05-23 Thread Willy Tarreau
On Fri, May 23, 2014 at 09:54:18PM +0530, Jai Gupta wrote: > We have configured haproxy 1.5 and are using map-based hash (default). > > For e.g. we have two backend servers. Server A and Server B. > Clients 1,2,3,4,5 will go to same backend. > > For example > Client 1,2,3 are connected to Server

haproxy hash that honors already connected connections

2014-05-23 Thread Jai Gupta
We have configured haproxy 1.5 and are using map-based hash (default). For e.g. we have two backend servers. Server A and Server B. Clients 1,2,3,4,5 will go to same backend. For example Client 1,2,3 are connected to Server A as per hash. Server A is crashed. haproxy shifts clients to Server B. S