7 messages in ru.sysoev.nginxPersistence + Round robin
FromSent OnAttachments
Brian MoschelSep 24, 2008 10:18 am 
Grzegorz NosekSep 25, 2008 12:45 am 
Jeffrey 'jf' LimSep 25, 2008 12:56 am 
Grzegorz NosekSep 25, 2008 1:15 am 
Brian MoschelSep 25, 2008 1:43 am 
Grzegorz NosekSep 25, 2008 1:55 am 
Aleksandar LazicSep 25, 2008 2:36 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Persistence + Round robinActions...
From:Brian Moschel (bria@gmail.com)
Date:Sep 24, 2008 10:18:18 am
List:ru.sysoev.nginx

Hey guys,

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 Nginx to the right server.

We're using Evan Miller's awesome Upstream Hash Module, but it doesn't seem its configureable to this level.

Is this possible? If not, I'd like to hire anyone willing to implement this. Anyone interested?

Thanks, Brian