Varnish and sticky sessions

Torstein Krause Johansen torstein at escenic.com
Thu Nov 13 16:59:37 CET 2008


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?

Right now, it looks like I need:

   LB -> apache1/mod_inflate -> varnish/esi -> 
apache2/mod_proxy_balancer -> app servers

to get ESI support, gzip-ed content delivered to the client and sticky 
sessions


Cheers,

-Torstein


-- 
Torstein Krause Johansen
System architect
mobile: +47 97 01 76 04
web: http://www.escenic.com/
Escenic - platform for innovation



More information about the varnish-misc mailing list