Article View: news.software.nntp
Article #22602Re: c-nocem undermining history cache?
From: Marcus Needham
Date: Thu, 23 Oct 1997 00:00
Date: Thu, 23 Oct 1997 00:00
28 lines
2029 bytes
2029 bytes
In article <62nju0$i9o$1@bigred.inka.de>, olaf@bigred.inka.de (Olaf Titz) wrote: >Marcus Needham <marcus@theriver.com> wrote: >> I notice that Jeff Garzik's history cache patch's cache is cleared when >> innd is paused and the history file closed (and I think Clayton O'Niell's >> is too). Running c-nocem this happens on my news server every 10-30 >> minutes or so which seems to me to undermine the usefulness of the cache >> somewhat. Is it strictly necessary to wholly flush the cache? > >I don't know how the history cache works, but I assume the answer is >yes, because theoretically re-opening the history can mean opening a >completely new history file. Think of what expire does. The cache stores message-id hashes with "have" or "don't have" from previous lookups. Even though expire generates a whole new history file the existing values of these lookups seem to me to still be valid (or at least "useful"). If we have a "have" value cached that is now no longer actually correct because expire removed the message its does not matter because we still don't want another copy of the message so its ok to believe we still have one. If we have a "don't have" value cached then expire does not add messages so it must still be valid. No? // Marcus Needham // Internet Operations Manager, The River Internet \\ marcus@theriver.com \\ Access Co., Tucson AZ. http://www.theriver.com/
Technical Details
Message-ID:
<62ntk1$66t$1@news.theriver.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<62ju25$b7q$1@news.theriver.com> <62nju0$i9o$1@bigred.inka.de>Show Full Headers
Complete Article Headers
Message-ID: <62ntk1$66t$1@news.theriver.com> Subject: Re: c-nocem undermining history cache? Date: Thu, 23 Oct 1997 00:00:00 +0000 From: marcus@theriver.com (Marcus Needham) References: <62ju25$b7q$1@news.theriver.com> <62nju0$i9o$1@bigred.inka.de> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 282651698 Organization: The River Internet Access Co. Newsgroups: news.software.nntp