7 messages in ru.sysoev.nginxRe: Persistence + 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:Re: Persistence + Round robinActions...
From:Aleksandar Lazic (al-n@none.at)
Date:Sep 25, 2008 2:36:19 am
List:ru.sysoev.nginx

On Don 25.09.2008 03:43, Brian Moschel wrote:

Grzegorz, While your proposed solution provides a clever way to stick requests to the same node, it doesn't provide a way to fulfill the first part of my requirement: dispatching the first 100 requests with Referer= www.somedomain.com to nodeA and the next 100 to nodeB. UPSTREAM_FAIR looks great but it doesn't fill this need.

maybe the perl module can help you in this:

http://wiki.codemongers.com/NginxEmbeddedPerlModule

but i don't know if there is a 'global' variable which can holds the current counter.

Maybe Igor can answer this.

BR

Aleks