Sticky Load Balancing with Varnish - sick backends
Soesoe
dev at soeren-soerries.de
Thu Jan 20 16:25:43 CET 2011
Hi
oh that was quick - thanks for the fast answers.
right now we can't easly upgrade to a newer varnish version.
the stickyness should only catch if a Session is this (when you logged in)
if you don't have this session cookie no stickyness should be there - for
better performance.
THX
Soeren
> ---------- Ursprüngliche Nachricht ----------
> Von: Wido den Hollander <wido at widodh.nl>
> An: dev at soeren-soerries.de
> Cc: varnish-misc at varnish-cache.org
> Datum: 20. Januar 2011 um 14:59
> Betreff: Re: Sticky Load Balancing with Varnish - sick backends
>
> Hi.
>
> On Thu, 2011-01-20 at 14:51 +0100, Soesoe wrote:
> > Hello everybody,
> >
> >
> > we tried to enable "Sticky Load Balancing" with varnish 2.0.6 like
> > this
> > thread:
> http://www.varnish-cache.org/lists/pipermail/varnish-misc/2010-April/004111.html
> >
>
> Any particular reason why you are still using 2.0.6?
>
> >
> > But changed a custom cookie to the JSESSION Cookie from Tomcat and
> > select the right backend via the jvmrout of the session:
> > works fine - if the selected backend doesn't go sick.
> >
> >
> > if the selected backend gos sick, varnish tries to choose still the
> > sick backend
> > or sends an error 503 -
>
> Correct, since you specify that you want to use that backend.
>
>
> > to you have any hints for me?
> > Thanks Soeren
>
> Yes, my advice is to upgrade to at least Varnish 2.1.3 and use the
> client director: http://www.varnish-cache.org/trac/wiki/LoadBalancing
>
> Wido
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20110120/7ea0aab2/attachment-0003.html>
More information about the varnish-misc
mailing list