Varnish and sticky sessions

JT Justman jt at endpoint.com
Thu Nov 13 17:03:39 CET 2008


Torstein Krause Johansen wrote:
> Heya,
> 
> is there a way to get Varnish load balancing (the director) to support 
> sticky sessions?
> 
> Or do I need to put a load balancer behind the Varnish that ensures that 
> a client with a given session always goes to the same backend server?

Never tried it, but it seems to me you could read a cookie in VCL to
determine the backend to use. This is how most load balancers handle
sticky sessions, right?

-- 
jt at endpoint.com
http://www.endpoint.com



More information about the varnish-misc mailing list