<div dir="ltr">I think you need to set each varnish server as a backend, and then hash the URL to a backend (that is a varnish server).  If the backend matches the current varnish server serving the request then you use the real backend (origin).  I am not sure the details of the setup, but Artur from Fastly said they do something similar in their setup maybe one of the Fastly guys or someone else can comment on how this is done ?<div>
<br></div><div>Curious myself as to how to make this work</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 21, 2013 at 12:07 PM,  <span dir="ltr"><<a href="mailto:maillists0@gmail.com" target="_blank">maillists0@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>An older blog post on the Varnish site says this:<br><br>"... you can emulate ICP-like behaviour by writing VCL code to 
check your neighouring cache for the request that you are looking for. 
Setups like these have been discussed on <a href="http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc/" target="_blank">varnish-misc</a> several times and implementing it should be fairly simple." <br><br>

</div>I must be searching the wrong terms, because I can't find any descriptions of this. <br><br></div>It looks to me like the setup would be little more than setting the peer as a backend and then setting req.hash_ignore_busy on one of the servers to avoid race conditions, as described on the wiki. Is there anything I'm missing, or does someone have a reference on how to set this up? Any help is appreciated. <br>

</div>
<br>_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a><br>
<a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" target="_blank">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><br></blockquote></div><br></div>