r530 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Thu Jul 20 17:10:36 CEST 2006


Author: phk
Date: 2006-07-20 17:10:36 +0200 (Thu, 20 Jul 2006)
New Revision: 530

Modified:
   trunk/varnish-cache/bin/varnishd/cache_expire.c
Log:
Add XXX comment


Modified: trunk/varnish-cache/bin/varnishd/cache_expire.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_expire.c	2006-07-20 14:46:49 UTC (rev 529)
+++ trunk/varnish-cache/bin/varnishd/cache_expire.c	2006-07-20 15:10:36 UTC (rev 530)
@@ -2,6 +2,13 @@
  * $Id$
  *
  * Expiry of cached objects and execution of prefetcher
+ *
+ * XXX: Objects can linger on deathrow as long as a slow client
+ * XXX: tickles data away from it.  With many slow clients this could
+ * XXX: possibly make deathrow very long and make the hangman waste
+ * XXX: time.  The solution is to have another queue for such "pending
+ * XXX: cases" and have HSH_Deref() move them to deathrow when they
+ * XXX: are ready.
  */
 
 #include <unistd.h>




More information about the varnish-commit mailing list