Article View: news.software.nntp
Article #22590Re: c-nocem undermining history cache?
From: Marcus Needham
Date: Thu, 23 Oct 1997 00:00
Date: Thu, 23 Oct 1997 00:00
27 lines
2142 bytes
2142 bytes
In article <86pvowi893.fsf@blah.erols.com>, coneill@blah.erols.com wrote: >marcus@theriver.com (Marcus Needham) writes: >And what if you just added a bunch of message-id's that you have >cached as "don't have". You're screwed in that instance. You have to >keep the cache coherent with the on disk history, and the only way to >do that is to invalidate the cache on reload or revalidate it on >reload. I think most people would prefer to invalidate it. If you >come up with another solution, feel free to submit the code. I do, or at least I think I do. My original suggestion was to sweep item by item through the history cache when the history file is closed, keeping all "haves" and discarding all "don't haves." I implemented this yesterday, and I have observed that only a handful of entries are discarded each time. For midnight to 9am this morning for example my server was paused 46 times (mainly by c-nocem) and on average only 144 articles (out of approx 64k) were dropped from the cache each time. This makes sense because almost every time you add a "don't have" to the cache in normal operation the article is accepted very soon thereafter and the entry changed to "have." I am not an inn hacker (yet) though so that's why I am seeking opinions on the idea from those in the know. // Marcus Needham // Internet Operations Manager, The River Internet \\ marcus@theriver.com \\ Access Co., Tucson AZ. http://www.theriver.com/
Technical Details
Message-ID:
<62ob86$86g$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> <62ntk1$66t$1@news.theriver.com> <86pvowi893.fsf@blah.erols.com>Show Full Headers
Complete Article Headers
Message-ID: <62ob86$86g$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> <62ntk1$66t$1@news.theriver.com> <86pvowi893.fsf@blah.erols.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-mail X-Deja-AN: 282694719 Organization: The River Internet Access Co. Newsgroups: news.software.nntp