🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #39178

Re: NNTP protocol question

#39178
From: Ade Lovett
Date: Sun, 15 Aug 1999 00:00
68 lines
3632 bytes
On 14 Aug 1999 20:16:57 -0700, Russ Allbery <rra@stanford.edu> wrote:
>
>NEWNEWS is an optional feature in RFC 977

Wrong.  RFC977 states:

	3.8.2.	Reponses
	    230 list of new articles by message-id follows

Nowhere does it state that this command is optional.

Almost identical wording is used in draft-ietf-nntpext-base-08.txt

Indeed, grepping through both documents for the word "optional",
reveals nothing at all with regards to NEWNEWS.

>and the type of data storage
>required to implement it efficiently isn't the type of storage used by
>most news servers

Wrong again.  This is absolutely nothing to do with the type of
data storage, just the apparent inability of (most) news server
authors to take a tiny step back from the problem, look at what is
actually required to implement the NEWNEWS command and make another
tiny step to actually implement it.

It really isn't rocket science.  Honestly.  And I know there's a
few used-to-be disbelievers out there (you know who you are :) who
can attest to at least a couple of real-world examples where NEWNEWS
works just fine.

Who knows, maybe when I'm not in the commercial business of implementing
such systems, I'll share the "secrets".  It really is staggeringly
easy to implement -- indeed, the first system that I implemented it
on involved around 40 lines of new code to CNEWS/CR-G, and another 50
into the reference NNTP implementation.  This isn't, as some might
think, a boast, just an indication of how trivial it really is to
"solve" this particular problem.

Of course, a fast NEWNEWS implementation raises other bugbears (you then
have to make damn certain your article retrieval via messageID isn't
a system killer, for example).


>meaning that it tends to be a big load hit on the
>server.  So a lot of people turn it off.

Indeed they do.  Something of a shame, really, since the global
(or near global) implementation of this command would make multi-server
newsreaders a whole lot easier to implement.  In fact, taking things
to their logical conclusion, if it were implemented across-the-board,
becoming the preferred method of article retrieval (do a NEWNEWS on
the groups you're interested in, followed by a bunch of HEAD <id>,
and later on, BODY <id> after local filters have done their work),
a lot of the pain that bigger sites have to deal with in terms of
keeping slave servers in sync would simply disappear.

By all means berate NEWNEWS.. just do it for the right reasons.
The command itself is intrinsically sound, and a very useful part
of the protocol, it's just the well-known implementations that suck.

-aDe

-- 
Ade Lovett, Supernews Inc., San Jose, CA.
mailto:ade@supernews.com   http://www.supernews.com

Technical Details
Message-ID: <slrn7rek6s.ajq.ade@localhost.lovett.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: <7oqj34$j662@bbs2.pnl.gov> <rr1rfe3rkrl72@news.supernews.com> <37B2C58D.4569C005@pc.grm.hia.no> <eZft3.857$5H1.4753@news2.randori.com> <ylhfm1g2c6.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <slrn7rek6s.ajq.ade@localhost.lovett.com>
Subject: Re: NNTP protocol question
Date: Sun, 15 Aug 1999 00:00:00 +0000
From: ade@supernews.com (Ade Lovett)
References: <7oqj34$j662@bbs2.pnl.gov> <rr1rfe3rkrl72@news.supernews.com> <37B2C58D.4569C005@pc.grm.hia.no> <eZft3.857$5H1.4753@news2.randori.com> <ylhfm1g2c6.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: 513177005
Organization: Posted via Supernews, http://www.supernews.com
User-Agent: slrn/0.9.5.6 (UNIX)
Reply-To: ade@supernews.com
Newsgroups: news.software.nntp,news.software.readers
X-Complaints-To: newsabuse@supernews.com