Re: Algorithms and Hashing

From: Patrick Viet <patrick.viet#gmail.com>
Date: Thu, 13 Mar 2008 14:32:32 +0100


On Thu, Mar 13, 2008 at 1:22 PM, Guillaume Bourque <Guillaume.Bourque#gmail.com> wrote:

> I was asking this because we are using tcp mode which don't use cookie
> for persistency so the only thing that is important, I think, is to
> define the backend server in the same order on my 2 haproxy. That way a
> particular client with is hash will always end up on them same backend
> server.
>
> I will do more testing but in tcp mode the important thing in a ha setup
> is to define alle the server in the same order.

Indeed it is important.
Then again, also adding consistent hashing would be even better. I'll discuss it with Willy soon ; it could be used in a very interesting way to load balance cache servers.

Patrick Received on 2008/03/13 14:32

This archive was generated by hypermail 2.2.0 : 2008/03/13 14:46 CET