idea for load "balancer" with fan-out/ voting

Poul-Henning Kamp phk at
Wed Jan 6 17:52:43 CET 2010

In message <4B44B968.6060806 at>, Paul Mansfield writes:
>just some ideas for discussion...
>whilst varnish has been very good at alleviating load by virtue of its
>forced caching feature, I was wondering whether it's be possible to have
>one request be duplicated to multiple back-end servers and the first one
>to reply is used and the others ignored.

Ouch.  That one is not easy, we pretty much hardcoded that we would
only fetch from one backend at a time for each session.

Sounds sort of hackish though.

Couldn't you solve this by aggressively probing your backends and
let them go sick during GC ?

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-dev mailing list