Understanding persistent storage

Yang Zhang yanghatespam at gmail.com
Tue Apr 19 18:44:10 CEST 2011


On Tue, Apr 19, 2011 at 1:14 AM, Poul-Henning Kamp <phk at phk.freebsd.dk> wrote:
> In message <E7097BFB283E614C96AE10D5307726E301C0FF99E6E4 at SLOTHMAIL.eea.eu.int>,
>  Traian Bratucu writes:
>
>>There is no persistent cache in varnish. At least, not yet.
>
> Uhm, you are not up to date.
>
> Varnish does have an -spersistent storage function, and it should work
> better in 3.0 than it did in 2.x, but it is far from perfect yet.
>
> I don't know what the original poster found wanting last time, I can
> only suggest that he gives -trunk a spin and see if he likes it better
> now.

What I found last time was:

(1) Fetch a page. Miss first time, hit subsequent times.

(2) Restart Varnish.

(3) Fetch same page. Miss.

Also, docs mention things like "When storage is full, Varnish should
restart, cleaning storage."

>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk at FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>



-- 
Yang Zhang
http://yz.mit.edu/




More information about the varnish-misc mailing list