Strategies for splitting load across varnish instances? Andavoiding single-point-of-failure?

Poul-Henning Kamp phk at phk.freebsd.dk
Mon Jan 18 10:24:55 CET 2010


In message <53C652A09719C54DA24741D0157CB26904C5F464 at TFPRDEXS1.tf1.groupetf1.fr

>> 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
>
>Let's get back to consistent hashing and it's use...
>
>Correct me if I am wrong, but doesn't this mean that adding a new 
>varnish instance implies a full rehash ? 

Yes, that is pretty much guaranteed to be the cost with any
stateless hashing.

-- 
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.



More information about the varnish-misc mailing list