<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3492" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=563475413-05022009><FONT face=Arial size=2>If I understand
correctly how varnish works :</FONT></SPAN></DIV>
<DIV><SPAN class=563475413-05022009><FONT face=Arial size=2>- the expiration
thread (exp_timer) only checks the root of the binheap (= the oldest object
currently in cache)</FONT></SPAN></DIV>
<DIV><SPAN class=563475413-05022009><FONT face=Arial size=2>- 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)</FONT></SPAN></DIV>
<DIV><SPAN class=563475413-05022009><FONT face=Arial size=2></FONT></SPAN><FONT
face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=563475413-05022009><FONT face=Arial size=2>which means
:</FONT></SPAN></DIV>
<DIV><SPAN class=563475413-05022009><FONT face=Arial size=2>- exp_timer can be
"forever" checking a valid/very high ttl content</FONT></SPAN></DIV>
<DIV><SPAN class=563475413-05022009><FONT face=Arial size=2>- EXP_Nuke can
often nuke valid (medium traffic/high ttl) content, leaving
expired (high traffic/low ttl) untouched</FONT></SPAN></DIV>
<DIV><SPAN class=563475413-05022009><FONT face=Arial size=2></FONT></SPAN><FONT
face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2>A<SPAN class=563475413-05022009>m I right
?</SPAN></FONT></FONT></DIV>
<DIV><SPAN class=563475413-05022009><FONT face=Arial size=2>I yes,
shouldn't be better to have exp_timer look deeper ?</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV align=left><FONT face=Tahoma size=2>Jean-François Bustarret</FONT></DIV>
<DIV align=left><FONT face=Tahoma size=1><STRONG>WAT - Responsable
technique</STRONG></FONT></DIV>
<DIV align=left><STRONG><FONT face=Tahoma
size=1>http://www.wat.tv</FONT></STRONG></DIV>
<DIV> </DIV></BODY></HTML>