Re: Persistence + Round Robin

From: Jeffrey 'jf' Lim <jfs.world#gmail.com>
Date: Thu, 25 Sep 2008 11:56:38 +0800


On Thu, Sep 25, 2008 at 1:09 AM, Brian Moschel <brian.moschel#gmail.com> wrote:
> Hey guys,
> I'm new to HAProxy. I've read through the docs and this doesn't seem
> possible in the current setup, but I could be wrong. Here's what I need:
> Load balancing using a uri param, but if its not found, fall back to round
> robin, but in chunks of 100 by the Referer header. For example, the first
> 100 people with Referer=www.somedomain.com get sent to nodeA, the 2nd 100 to
> nodeB, the 3rd 100 to nodeA, etc. After a user is assigned a node, any
> subsequent request they make needs will have a uri_param that points HAProxy
> to the right server.

uh... question is, why would you want to do this?

-jf Received on 2008/09/25 05:56

This archive was generated by hypermail 2.2.0 : 2008/09/25 06:01 CEST