Soft purge support (patch)
Lasse Karstensen
lasse.karstensen at gmail.com
Sat Jan 5 21:55:58 CET 2013
Magnus Hagander:
> On Fri, Jan 4, 2013 at 3:37 PM, Lasse Karstensen
> <lasse.karstensen at gmail.com> wrote:
>> Attached is a small patch set that implement soft purge support
>> for Varnish trunk.
[..]
>> The main use case for soft purges are big Varnish setups with many
>> backends and automated purging systems. When doing maintenance on one of
>> the backends, you end up with automatically purging something that can't be
>> recreated right now and Varnish starts sending 503 replies.
>> With softpurge the grace handling will kick in and serve a stale object instead.
> Is there anything about this that actually becomes different in the
> "with many backends" scenario? I've been looking forward to this
> feature for many usecases with a single backend - when that backend is
> slow or unreliable. I don't see why the number of backends would make
> any difference, but am I missing something about the implementation?
> (Automated purging is exactly the usecase for me though)
No, there is nothing in there that is specific to how many backends you have.
I was just trying to set the stage a bit, since it might not be entirely
obvious when you need this.
--
Lasse Karstensen
Varnish Software AS
http://www.varnish-software.com/
More information about the varnish-dev
mailing list