On Sat, Jan 16, 2010 at 1:37 PM, Poul-Henning Kamp <[email protected]>wrote:

>Are you saying that the default hash is not a mod-n-type algorithm?
>
> Well, it is mod-n, with the footnote that n has nothing to do with
> the number of backends, because these have a configurable weight.
>
> >If not, what happens when the failed backend is restored to service?
>
> It's probably simplest to paraphrase the code:
>
>        Calculate hash over full complement of backends.
>        Is the selected backend sick
>                Calculate hash over subset of healthy backends


Ah, ok.  That should behave reasonably in the event of a backend failure if
you're implementing Varnish tiers.  Thanks for the clarification.

--Michael
_______________________________________________
varnish-misc mailing list
[email protected]
http://projects.linpro.no/mailman/listinfo/varnish-misc

Reply via email to