2 varnish server "work together" config question

Olivier Beau obeau79 at gmail.com
Mon Mar 30 13:41:40 CEST 2009


Hi all,

Up to now, i'm been running "standalone" varnish on 2 servers (for 
redundoncy).

I've been asked to have those 2 varnish "work together" :
if there is miss on server1, server1 asks server2 (in case server2 has 
the object in cache), before asking the backend

Do any of you have any comments/thoughts about this ?
(it does make sense..i think)


This is doable using Directors in vcl
(a failover algorithm would be optimal, rather than round-robin or random)

Any other solutions ?



Olivier








More information about the varnish-misc mailing list