🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #22574

c-nocem undermining history cache?

#22574
From: Marcus Needham
Date: Wed, 22 Oct 1997 00:00
25 lines
1720 bytes
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?

If article entries have been deleted during the pause (by expire for
example) then if the cache indicates we still have them then its not a big 
loss because we don't want them again anyway if offered.

If articles have been added during the pause (by c-nocem's fastcancel 
adding entries for example), and the cache indicates we do not have them 
then there IS a problem because we would accept the articles that c-nocem 
is trying to save us from.

But what is only the "don't have" cache entries were purged when the 
history file is reopened?  Would the extra time involved checking each 
cache entry in turn be worth it for the number of "have" items that can be 
retained?  

// Marcus Needham      // Internet Operations Manager, The River Internet
\\ marcus@theriver.com \\ Access Co., Tucson AZ. http://www.theriver.com/

Technical Details
Message-ID: <62ju25$b7q$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-mail

Show Full Headers
Complete Article Headers
Message-ID: <62ju25$b7q$1@news.theriver.com>
Subject: c-nocem undermining history cache?
Date: Wed, 22 Oct 1997 00:00:00 +0000
From: marcus@theriver.com (Marcus Needham)
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: 282338325
Organization: The River Internet Access Co.
Newsgroups: news.software.nntp