efficient strategy to cache warm multiple varnish servers

Lukas Kahwe Smith mls at pooteeweet.org
Mon Sep 12 14:25:01 CEST 2011


On Sep 12, 2011, at 14:13 , Per Buer wrote:

> On Mon, Sep 12, 2011 at 1:58 PM, Lukas Kahwe Smith <mls at pooteeweet.org> wrote:
> 
> 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?
> 
> You can probably chain them, but seriously, why would you? You would of course script these actions, and executing them one after the other.

well the use case is deploying a new version of the app or some horrible issue causing the varnishes to need a full reset and so quickly needing to get all the varnish instances uptodate.
the problem with just "chaining" them is that varnish is configured to strip some of the headers etc ..

regards,
Lukas Kahwe Smith
mls at pooteeweet.org







More information about the varnish-misc mailing list