If I understand correctly how varnish works :
- the expiration thread (exp_timer) only checks the root of the binheap (= the 
oldest object currently in cache)
- a worker needing to free some space in the cache will nuke (EXP_NukeOne) the 
least recently used object (not taking into account lru_timeout)
 
which means :
- exp_timer can be "forever" checking a valid/very high ttl content
- EXP_Nuke can often nuke valid (medium traffic/high ttl) content, leaving 
expired (high traffic/low ttl) untouched
 
Am I right ?
I yes, shouldn't be better to have exp_timer look deeper ?
 
Jean-François Bustarret
WAT - Responsable technique
http://www.wat.tv
 
_______________________________________________
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc

Reply via email to