Understanding persistent storage

Yang Zhang yanghatespam at gmail.com
Tue Apr 19 02:46:41 CEST 2011

Hi, we're reconsidering using Varnish again, and this question I
posted 4 months ago is the biggest blocker for us.  We've been using
Squid for a while, but it doesn't have collapsed forwarding, which we
need (and Varnish provides).  But we also need a persistent cache.
We're ready to roll our own caching proxy, but if Varnish already
provides persistence, then that would be a huge boon.  We tried
playing around with Varnish -s persistent 4 months ago but it didn't
seem to be what the name implied.

On Thu, Jan 27, 2011 at 8:25 PM, Yang Zhang <yanghatespam at gmail.com> wrote:
> I've been playing around with the experimental persistent storage in
> varnish-2.1.5 SVN 0843d7a, but I'm finding that the cache doesn't seem
> to survive across restarts.
> This matches up with hints like "When storage is full, Varnish should
> restart, cleaning storage" from
> http://www.varnish-cache.org/trac/wiki/changelog_2.0.6-2.1.0.
> Can anyone clarify what's persistent about persistent storage, how it
> differs from -sfile, etc.? I tried looking up info but didn't find
> much beyond implementation details in
> http://www.varnish-cache.org/trac/wiki/ArchitecturePersistentStorage.
> Thanks in advance.
> --
> Yang Zhang
> http://yz.mit.edu/

Yang Zhang

More information about the varnish-misc mailing list