🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #34627

Re: Is inn 2.2b2 ready for production?

#34627
From: Mark Wedel
Date: Tue, 12 Jan 1999 00:00
75 lines
4234 bytes
In article <77h22h$9vug$1@newssvr03-int.news.prodigy.com>,
bill davidsen <davidsen@tmr.com> wrote:
>In article <77egdi$3to$1@stealth.eng.pyramid.com>,
>Mark Wedel <mark@pyramid.com> wrote:
>
>| (much about few missing overview entries removed)
>
>Trust me, if the users are upset, management is upset, it most certainly
>is a big deal at some sites. It would be well worth it to ensure that
>corruption doesn't occur.

 As said, it would be nice.  However, it was always my impression that
news is not 100% reliable/all sites don't get 100% of the posted articles
(a few may get dropped on the floor here and there).  Note that the
overview dropping a few entries as described only happens if overchan can't
keep up.  So if you have a speedy server/disk array, that may never be a
problem at all.

>
>|  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.
>
>Is this still a problem? I haven't seen anything indicating it since
>going to new overview and CNFS.

 Most of this thread is about going back to traditional overview for
improvement reasons.  Traditional overview definately cares that the
entries in the file are in numerical order.  Once again, this is only
a problem if overchan has problems keeping up to speed (if overchan keeps
up, you never get a backlog, and thus you never have to refile the articles
slightly out of order in the future.)

>
>|  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.
>
>Still desirable real time. Pipe it into something which make overview
>entries go away? Can they just be marked invalid instead of rewriting a
>file?

 To do it real time via pipe would require some extension to make it
a feed type.  There is at least some advantage to doing it in batches in
that you can sort the input for a bit better locality.

 You are correct in that actually rewriting the files is not the most
efficient things to do.  I'll have to see about making some change to
expireover (or write a new program just for this purpose) that replaces
the article number in the file with something like XXXXXXX (or other
non numeric character).  expirover could then clean those entries out at
the normal expire time.  Since nnrpd looks for matches based on article
number, minimal if any changes would be needed for nnrpd.

 Note that for cancels, there is always some timeframe in which the user
may see articles which have been cancelled.  Since most readers only
get the articles for a group when the user start reading, any cancels that
come in after that won't be seen by the reader (since the reader already
has information for that particular article number).



-- 

-- Mark Wedel
mark@pyramid.com

Technical Details
Message-ID: <77hdcq$qvf$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> <ylww2uyvk8.fsf@windlord.stanford.edu> <77egdi$3to$1@stealth.eng.pyramid.com> <77h22h$9vug$1@newssvr03-int.news.prodigy.com>

Show Full Headers
Complete Article Headers
Message-ID: <77hdcq$qvf$1@stealth.eng.pyramid.com>
Subject: Re: Is inn 2.2b2 ready for production?
Date: Tue, 12 Jan 1999 00:00:00 +0000
From: mark@pyramid.com (Mark Wedel)
References: <776is9$mu3$1@canopus.cc.umanitoba.ca> <ylww2uyvk8.fsf@windlord.stanford.edu> <77egdi$3to$1@stealth.eng.pyramid.com> <77h22h$9vug$1@newssvr03-int.news.prodigy.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: 432028690
Organization: Pyramid Technology Corporation
Newsgroups: news.software.nntp