Sticky Load Balancing with Varnish

Bryan Fullerton fehwalker at gmail.com
Thu May 6 22:01:57 CEST 2010


On Thu, Apr 15, 2010 at 1:43 PM, Poul-Henning Kamp <phk at phk.freebsd.dk> wrote:
> 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 :-)

This doesn't appear to be in 2.1.1 or 2.1.2 (at least I don't see it
in the changelog). Will it be coming soon? We really need this
capability so we can send established sessions to the same backend
based on session cookie.

Thanks,
Bryan




More information about the varnish-misc mailing list