ICP Emulation

AD straightflush at gmail.com
Mon Sep 9 14:43:26 CEST 2013


did you ever sort this out ?


On Fri, Aug 30, 2013 at 9:50 AM, AD <straightflush at gmail.com> wrote:

> 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 ?
>
> Curious myself as to how to make this work
>
>
>
>
> On Wed, Aug 21, 2013 at 12:07 PM, <maillists0 at gmail.com> wrote:
>
>> An older blog post on the Varnish site says this:
>>
>> "... 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 varnish-misc<http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc/>several times and implementing it should be fairly simple."
>>
>> I must be searching the wrong terms, because I can't find any
>> descriptions of this.
>>
>> 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.
>>
>> _______________________________________________
>> varnish-misc mailing list
>> varnish-misc at varnish-cache.org
>> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20130909/ad05d8b7/attachment.html>


More information about the varnish-misc mailing list