Multi varnish setup and purging
andy at eventbase.com
Thu Aug 13 07:18:00 CEST 2015
We're in the process of taking our 3.0.X single varnish instance into a HA
My plan for caching was to initially use a hash director to pass requests
whatever the incoming varnish instance is to a specific one (based on the
so that the cache for a given URL will only be kept in one place.
Hence the flow would be
Varnish -> varnish -> backend
However our overall application makes heavy use of wildcard purging via the
command. As each URL in a wildcard ban could be on different varnish
don't see how this could actually work?
Does anyone have any experience in supporting purging multiple varnish
while supporting wildcard purges without having to get the application to
separate purge requests to all varnish instances?
I was thinking of maybe a round robin director with all varnish instances
defined as backends and some vcl to actually do the ban but return a error
the calling varnish instance) so that the ban gets sent to all varnish
(because each of them return an error after the ban)
Any thoughts appreciated
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the varnish-misc