cache backend using 10X the amount of space

Alex Apke aapke at krugle.com
Tue Feb 6 00:16:51 CET 2007


I was wonding if it's normal that varnish uses 10X the amount of space
for small 3Kb pages?  It seems that the cache ends up using between
28-30Kb for each 3Kb webpage.  I can understand there being some
overhead, but 10 times the size, seems a bit much.

A related question, when the cache backend storagefile reaches the
maximum size, the whole cache seems to get invalidated and the contents
gets lost, and needs re-priming.  Are there any options for using LRU or
other cache algorithms for handling the maximum backend storage file size.
I haven't found anything in the documentation or the website related to
this issue.

Thanks

-- 
Alex



More information about the varnish-misc mailing list