On 07/02/08 12:51, Willy Tarreau wrote:
> you shouldn't rely on user-agent hashing for load balancing, because user-agent
> does not follow a good distribution.
>
OK. Then, how about source IP (or X-Forwarded-For) plus user-agent hashing?
> but it requires that we are able to specify which occurrence of the header
> we want to hash (and we need that for the ACLs too BTW). What I want to do
> is the following :
>
> - balance hdr(X-Forwarded-For,-1) => hash last occurrence
> - balance hdr(X-Forwarded-For,-2) => hash previous last occurrence
> - balance hdr(X-Forwarded-For,1) => hash first occurrence
>
> Same for ACLs.
>
Thanks.
Would you please enable multi-headers balance? Something like:
I wish you and other guys would consider this feature request is necessary. We need this feature in our situation.
Thanks again, Willy.
-- Rgds, Cherife.Received on 2008/07/02 09:40
This archive was generated by hypermail 2.2.0 : 2008/07/02 09:46 CEST