🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #34573

Re: Is inn 2.2b2 ready for production?

#34573
From: Mark Wedel
Date: Mon, 11 Jan 1999 00:00
64 lines
3971 bytes
In article <ylww2uyvk8.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:
>Mark Wedel <mark@pyramid.com> writes:
>
>> I have made a patch for inn 2.2 that uses the old style overview on top
>> of the unified overview.  The readers use the old style overview.
>
>> I'm still doing some testing with it (need to make sure the expire works
>> as needed), but with my testing so far, it works fine and gets the xover
>> performance back to expected levels.  The disadvantage is you need more
>> disk space (storing both unified and traditional overview) more horse
>> power (2 overchans now running - one for the .index, one for the
>> traditional).
>
>Why are you still storing unified overview?  For group-based expire?  That
>should be fixable with some more hacking; all the things that use the
>unified overview even with CNFS/timehash storage methods should be able to
>be taught to use the traditional overview as well.  Unified overview isn't
>used for receiving and feeding news, so you should be able to turn it off.

 Because originally I didn't want to dive into all the expiring processes and
how it gets its information.

 However, as I work more, it is becoming more tempting.  However, to get
rid of the unified information, the history routines need to be changed
around a bit (article group and location need to be put back into the history
db so when we expire, we know what to output).  But you are correct - beyond
that, the unified overview and .index files could be tossed.  I'll have to
relook at that.  One of the enhancements was to include the file referance
(token) into the old overview information, so that isn't a problem.

 A few questions were raised from others which I will answer here:

 corrupted overview:  Don't know what is really meant by corruption - if
you get a backlog, a couple lines get corrupted.  A nice enhancement to
inn would be to have it break the backlogs on a line break (since we are
buffering, if we are within a couple K of our buffer, start writing at
that point.  But in any case, a few lines of the overchannel are garbled -
overchan seems to know to ignore them, so the end result is some articles
don't get filed into the overview stuff.  Out of hundreds of thousands of
articles a day, it isn't a big deal.

 One thing I did have to do was allow the nnrpd to handle at least slightly
out of order overview data (since the refeed may be 10 minutes laters,
the articles numbers may not be correct).  This has a slight penalty in
speed, but not much.

 Cancels:  another enhancement - a new log file of the canceled articles
(including crossposts.)  Then again via cron, this list periodically gets
rotated and fed to expireover to clear out the entries.  This works fine - if
a user tries to read an expired entry that overview hasn't cleared out yet,
he will just get an error.  If this is a big concern, there are features
in the storage manager to check for the existance of the articles, but
once again this is a timing issue (check the status of 500 articles is
going to take a little while/hit the disks a bit).  Running the expireovers
on the cancelled articles a couple times an hour keeps things tidy enough.


-- 

-- Mark Wedel
mark@pyramid.com

Technical Details
Message-ID: <77egdi$3to$1@stealth.eng.pyramid.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
References: <776is9$mu3$1@canopus.cc.umanitoba.ca> <1rogo6xsla.fsf@haey.ifi.uio.no> <77ci3m$akj$1@stealth.eng.pyramid.com> <ylww2uyvk8.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <77egdi$3to$1@stealth.eng.pyramid.com>
Subject: Re: Is inn 2.2b2 ready for production?
Date: Mon, 11 Jan 1999 00:00:00 +0000
From: mark@pyramid.com (Mark Wedel)
References: <776is9$mu3$1@canopus.cc.umanitoba.ca> <1rogo6xsla.fsf@haey.ifi.uio.no> <77ci3m$akj$1@stealth.eng.pyramid.com> <ylww2uyvk8.fsf@windlord.stanford.edu>
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: 431508706
Organization: Pyramid Technology Corporation
Newsgroups: news.software.nntp