Nginx offers weighted round robin requests if memory serves... what does your config look like? The upstream module should be cool for what you want.
http://wiki.nginx.org/NginxHttpUpstreamModule See that it uses class-c ip hashing to always distribute requests to the same backend node... making the query string redundant :-) Cheers, Tim On 13 Jan 2010, at 11:29, Marius wrote: > Hi all, > > Did anyone here used nginx with sticky sessions? What I'm looking for > is: > > if a request comes in with e certain HTTP header or query string > paramers the request should be dispatched to a given node. So I have a > header like server_id=1 -> dispatch the request to node1, if > server_id=2 dispatch the request to node2 and so on. > > Is it possible to configure nginx like this? > > Br's, > Marius > -- > You received this message because you are subscribed to the Google Groups > "Lift" group. > To post to this group, send email to lift...@googlegroups.com. > To unsubscribe from this group, send email to > liftweb+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/liftweb?hl=en. > >
-- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to lift...@googlegroups.com. To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.