Sticky Load Balancing with Varnish

Poul-Henning Kamp phk at phk.freebsd.dk
Thu Apr 15 19:43:15 CEST 2010


In message <1271329847.6165.37.camel at app-srv-debian-amdmp2.idni>, Niklas Norber
g writes:

>Ok, but it would be nice if this load-balancing supports backends that
>uses session-cookies. And that the "control" can be choosen to look at a
>LB-cookie.

You mean:

	sub vcl_recv {
		set client.id = req.cookie[SESSION_BLAH];
	}

Yes, that's the idea :-)

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.




More information about the varnish-misc mailing list