Hi.

On Mon, May 14, 2012 at 2:29 AM, shahab bakhtiyari <[email protected]>wrote:

> Hi again
>
> The link does not say clearly what policies varnish uses rather discusses
> about problems implementing LRU .. does it mean that varnish is using LRU
> and only LRU  for both Ram and disk object replacements?
>

You're quoting wrong.

Varnish doesn't know what is on disk and what is in memory. Varnish
maintains one global LRU list. Actually I think it keeps one LRU list for
each stevedore. So you could tweak stuff somewhat by sending objects to
various stevedores. You can set beresp.storage in vcl_fetch to pick the
backend.

-- 
Per Buer, CEO
Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / Skype: per.buer
*Varnish makes websites fly!*
Whitepapers <http://www.varnish-software.com/whitepapers> |
Video<http://www.youtube.com/watch?v=x7t2Sp174eI> |
Twitter <https://twitter.com/varnishsoftware>
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to