🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #28043

NEWNEWS is bad news today (Was: Time of replay on NEWNEWS command is too long.)

#28043
From: Alec Muffett
Date: Wed, 04 Dec 1996 00:00
67 lines
3673 bytes
chrisy@easynet.net (Chrisy Luke) writes:

> The approach I took, which I'm not keeping secret :) is, for each
> article, write a mini-history file to the spool directory of each
> group the article appears in, giving arrival time and message ID (as a
> minimum). You then change NEWNEWS to make a query on each group-based
> history file, in the order given. The file is much smaller and the
> initial binary-chop has a smaller targer, and then the sequential scan
> covers only data you are interested in rather than lots that you
> aren't.

I suspect NEWNEWS is flawed in the modern environment, anyway - that's
why when I wrote something to replace "slurp" I shied away from it.

NEWNEWS was OK back in the 80s when I was reading news on the UCW
Aberystwyth LAN (*and* I was the news admin for the university) - back
when News arrived in *huge* (well, we thought so) batches, via X.25,
every 6 hours or so, and was integrated quietly with the rest of the
C-News database.

Since everyone was running (about) the same clock and since the
granularity of new messages was so coarse, there was little likelihood
of missing anything.

Now (I am still a news admin, now for a big company, 8 years later)
articles arrive by the millisecond and if your clock is wrong you
*are* going to miss out; consider:


If your little dialup workstation thinks it is 12:05 and your NNTP
server thinks it's 12:00, and your workstation asks for anything that
has arrived at the NNTP server within the last hour (since 11:05) -
the NNTP server will not know you're 5 minutes fast and tell you about
the articles that arrived since *1100* - instead you're going to miss
5 minutes worth of articles.  Perhaps a few hundred.

If the time difference is more heinous still (like mine recently was,
after the date got screwed up somewhere between a DOS reboot and the
BST->GMT change, when it got 23 hrs out of sync) then you're going to
miss even more.  If you're in a different *timezone* to the east of
your NNTP server, you're going to get really confused unless your
timezone information is exactly right.

This is really bad news as passive and semi-passive feeds are becoming
more prevalent with internet expansion.


What's missing is the ability to ask the NNTP server what time *it*
thinks it is (to the millisecond) either when you first connect,
effectively giving you a cookie (YYMMDD HHMMSS[.NNNN]) that you can
hand back to the server next time you connect, saying "give me all the
articles you have which have arrived since you gave me this cookie".

Alternatively, you can do like I did with SnarfNews (see website below
if you're interested) - maintain per-group article counts and fetch
articles by number, thus avoiding the whole muddy issue of clock
synchronisation.

Followups to news.software.nntp.

--
		    alec muffett, oxford, england
    please reply to: alecm @ crypto.dircon.co.uk (without spaces)
		http://www.users.dircon.co.uk/~crypto/

Technical Details
Message-ID: <m3sp5miuj1.fsf@crypto.dircon.co.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <1996Nov29.131926@sph.spb.su> <E1qtKL.Dqw@djwhome.demon.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <m3sp5miuj1.fsf@crypto.dircon.co.uk>
Subject: NEWNEWS is bad news today (Was: Time of replay on NEWNEWS command is too long.)
Date: Wed, 04 Dec 1996 00:00:00 +0000
From: Alec Muffett <alecm@crypto.dircon.co.uk%antispam>
References: <1996Nov29.131926@sph.spb.su> <E1qtKL.Dqw@djwhome.demon.co.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 202815970
Followup-to: news.software.nntp
Organization: Disorganised
Newsgroups: news.software.nntp,alt.usenet.offline-reader,news.software.readers