<div dir="ltr"><div><div><div><div>Hi James,<br><br></div>I wrote the Purge module for Drupal. ( <a href="http://drupal.org/project/purge">http://drupal.org/project/purge</a> ) and the "stable" 1.x branch allows you to enter multiple proxy addresses, separated by spaces. like: "<a href="http://10.0.1.10">http://10.0.1.10</a> <a href="http://10.0.1.11">http://10.0.1.11</a>". This will fire off all purge requests to both of the servers as a single burst of http requests (using curl_multi), preserving your sites domain name.<br>
<br></div>Admittingly thte current state of the module isn't that great but I expect to work on it some more on it soon.<br><br></div>Paul Krischer<br></div>"SqyD"<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Oct 1, 2013 at 9:40 AM, Rainer Duffner <span dir="ltr"><<a href="mailto:rainer@ultra-secure.de" target="_blank">rainer@ultra-secure.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Am Mon, 30 Sep 2013 13:44:34 -0700<br>
schrieb James Pearson <<a href="mailto:james@ifixit.com">james@ifixit.com</a>>:<br>
<div class="im"><br>
> Excerpts from Rainer Duffner's message of 2013-09-29 13:45:51 -0700:<br>
> > Hi,<br>
> ><br>
> > suppose you've got a couple of load-balanced varnish-servers, is<br>
> > there a way to have an item removed from the cache on multiple<br>
> > servers at the same time?<br>
><br>
> How small of a window do you need?  I'd probably just fire off a<br>
> PURGE request to each server, but that'd give a few seconds where<br>
> some servers would have a cache entry and others would not.<br>
<br>
</div>It's not a question of a certain time-window.<br>
More a question of transparency.<br>
E.g. in Drupal, you can only enter a single IP.<br>
<br>
It's unreasonable to assume a user would be able to issue a purge on a<br>
2nd (or 3rd) server himself - as he may not know the IPs of these<br>
servers anyway.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<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>
</div></div></blockquote></div><br></div>