In message <[email protected]>, Micha
el Fischer writes:

>For instance sizes larger than 2, I think a consistent hash is needed.
> Otherwise, the overall hit ratio will fall dramatically upon failure of an
>instance as the requests are rerouted.

If you have perfect 1/3 splitting between 3 varnishes, having one die
will do bad things to your hitrate until the remaining two distribute
the load between them.

That's a matter of math, and has nothing to do with the hash algorithm.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
[email protected]         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
_______________________________________________
varnish-misc mailing list
[email protected]
http://projects.linpro.no/mailman/listinfo/varnish-misc

Reply via email to