🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #2129

Re: overview -vs- active update synchronization

#2129
From: Tom Limoncelli
Date: Wed, 08 Sep 1993 15:15
44 lines
2771 bytes
In <SPIKE.93Sep7202730@world.std.com> spike@world.std.com (Joe Ilacqua) writes:

>	I've written an add on for GNUS' nnspool.el which uses the
>overview file.  I handled the out of sync issue by checking to see if
>requested articles not found in the overview file exist on disk and
>then reading them in the old fashion way.  A NNTP reader could do this
>using STAT and HEAD.  Usually it is only one or two articles and it
>does not noticeably slow things down.

Rich has said this already, but I'd like to repeat it with a little
more explaination:

There are two issues here.

#1 -- ARTICLE WITHOUT OVERVIEW:  An article may have come in but
the .overview file hasn't been updated yet.

#2 -- OVERVIEW WITHOUT ARTICLE:  The .overview file has been populated
with data about an article, but the article was later canceled.

A NNTP-based newsreader that connects to nnrpd (the reading daemon of
INN) will never see these "problems".

The NNTP "xhdr", "xpat", and "xover" commands are all smart enough to
use the .overview file (if it exists for that newsgroup).  If the
.overview file doesn't exist OR if the data for that article isn't in
the .overview, the article file is opened and the data is gotten out of
the file.  (this takes care of #1 above).

Wait, there's more!

nnrpd is also smart enough to NOT return data for any article if the
article file doesn't exist.  This solves #2.

NOTE TO NEWSREADER AUTHORS:  If you are reading via NNTP, you should
rely on these features.  If you are reading off a local (on-disk)
spool, you should implement the same kind of checks.

Tom

-- 
Tom Limoncelli -- tal@warren.mentorg.com (work) -- tal@plts.org (play)
"Some people run 'biff' to alert them that  | Disclaimer:  I do not
they have new email.  I run '/bin/true'".   | speak for Mentor Graphics.
Technical Details
Message-ID: <26ksu0$16m@norton.Warren.MENTORG.COM>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!drew.drew.edu!rutgers!cs.utexas.edu!uunet!news.mentorg.com!sdl!not-for-mail
References: <24b46r$pho@amhux3.amherst.edu> <CBLvu9.F5A.3@cs.cmu.edu> <SPIKE.93Sep7202730@world.std.com>

Show Full Headers
Complete Article Headers
Message-ID: <26ksu0$16m@norton.Warren.MENTORG.COM>
Subject: Re: overview -vs- active update synchronization
Date: Wed, 08 Sep 1993 15:15:12 +0000
From: tal@Warren.MENTORG.COM (Tom Limoncelli)
References: <24b46r$pho@amhux3.amherst.edu> <CBLvu9.F5A.3@cs.cmu.edu> <SPIKE.93Sep7202730@world.std.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!drew.drew.edu!rutgers!cs.utexas.edu!uunet!news.mentorg.com!sdl!not-for-mail
Newsgroups: news.software.nntp,news.software.readers,news.software.b
Distribution: inet
Organization: Mentor Graphics -- IC Group, Warren, NJ, USA
NNTP-Posting-Host: norton.warren.mentorg.com
X-Newsreader: NN version 6.4.19 #2
Lines: 44