efficient strategy to cache warm multiple varnish servers

Lukas Kahwe Smith mls at pooteeweet.org
Mon Sep 12 13:58:06 CEST 2011


On Sep 12, 2011, at 13:44 , Hettwer, Marian wrote:

> Hi there,
> 
> 
> 
> On 13.07.11 08:28, "Lukas Kahwe Smith" <mls at pooteeweet.org> wrote:
> 
>> Hi,
>> 
>> If we ever have to restart our setup from scratch because of some big
>> crash or because we are rolling out a new version of the site, I am
>> wondering how to most efficiently warm all the varnish servers. Do I just
>> warm one server and then rsync? Searching for "varnish cache warm" and
>> didnt find anything very detailed.
>> 
>> This link seems useful in the general context of cache warming scripts:
>> https://www.varnish-cache.org/trac/wiki/VCLExampleHashAlwaysMiss
> 
> Since I know which url's I need to cache, I'm using a script based on the
> example above.


ok thx.

what i am however wondering about is how i can prevent having to call my app once per url for each varnish to get them all warmed up. is there some way to warm multiple varnish servers but execute just one frontend request per url?

regards,
Lukas Kahwe Smith
mls at pooteeweet.org







More information about the varnish-misc mailing list