Sticky Load Balancing with Varnish

niklas.norberg at bahnhof.se niklas.norberg at bahnhof.se
Fri Apr 16 16:38:12 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.
>

Perfect. Thanks, then I'm very satisfied.

--
Niklas






More information about the varnish-misc mailing list