Director with Sticky session
perbu at varnish-software.com
Sat Dec 10 14:51:16 CET 2011
On Sat, Dec 10, 2011 at 5:03 AM, Alejandro <cdgraff at gmail.com> wrote:
> Hi guys,
> I would like to know if currently the director support Sticky session?
Sort of. The client director can do load balancing on the basis some input,
maybe a session cookie. See "man VCL", search for "client director". The
problem with however is that the server setting the initial cookie might
not get the request back if you just use the default hashing. If you can
live with that, or better, you're able to set the cookie in Varnish itself
and then restart the transaction you'll be fine.
So, as you see see, all the pieces are here. There is just a bit of
customer assembly required. :-)
Or you can just use the client.ip as input to the client director.
Per Buer, CEO
Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / Skype: per.buer
*Varnish makes websites fly!*
Whitepapers <http://www.varnish-software.com/whitepapers> |
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the varnish-misc