🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #39203

Re: NNTP protocol question

#39203
From: Ade Lovett
Date: Mon, 16 Aug 1999 00:00
73 lines
4069 bytes
On 15 Aug 1999 18:05:03 -0700, Russ Allbery <rra@stanford.edu> wrote:
>
>No, I'm sorry, but I'm not wrong here.  To implement NEWNEWS efficiently,
>while still properly dealing with crossposting

977/nntp-base-08 says nothing about crossposts for NEWNEWS.  All it talks
about is "a list of message-ids of articles .. one per line".


>and the full syntax of the
>command (which allows specification of distribution restrictions) requires
>a data storage that is not present on most news servers.

Not true.  In it's general sense, a news server is made up of a number
of articles, and indexing information about those articles.

>Doing the
>distribution part in particular is difficult because Distribution is not
>in the overview database;

Think of the "overview database" as a subset of of "indexing information",
and there's no reason why it can't be.  As an aside, it's interesting
to see just how many newsreaders out there assume the response from
XOVER/OVER is in a very specific format, rather than doing a
LIST OVERVIEW.FMT first...  *sigh*

> [snip]
>
>I didn't say it was rocket science.  It's fairly straightforward to figure
>out what data structures one would need, and one could even leverage off
>overview if one's clients wouldn't get confused by the extra entries.  But
>it does require storing additional information that isn't cached by
>default.

This is more an artefact of thinking in terms of *current* news software,
rather than *future* news software.  As I've said in other posts,
current software is simply going to stop scaling.  INN, for example,
with its single-threaded core, is eventually going to stop working.
Even solid-state disks require a finite time to write an article.


>Provided you're willing to settle for slop around the edges, given that
>articles don't arrive at different servers at the same time.

Well, couple a local client-side messageID database with a little
slop in sending the date/time part of the NEWNEWS command, and you're
pretty well sorted.  Certainly a damn sight easier than dealing with
the "my server just renumbered all their articles" problem.


>That would be massively slower than the current overview-driven method in
>any news server implementation I can picture.  Maybe I'm wrong, but I'd
>need some convincing.  HEAD requires opening the article.

HEAD requires retrieving the headers for an article.  That's not
necessarily the same as opening the article.  It just happens to be
the way current servers do it.

In addition, there is some useful information that can (and is) being
used for killfiling purposes, that isn't contained within the "standard"
overview information -- in that particular circumstance, you're faced
with the distinct possibility of a whole bucketload of, say,
"XHDR Path 0-" requests turning up.  All it takes is for one bright
spark at AOLscape, or MS, to offer this kind of extended killfiling
capability, and....  well, you get the picture..

-aDe

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

Technical Details
Message-ID: <slrn7res81.atr.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> <slrn7rek6s.ajq.ade@localhost.lovett.com> <yllnbc7cxs.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <slrn7res81.atr.ade@localhost.lovett.com>
Subject: Re: NNTP protocol question
Date: Mon, 16 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> <slrn7rek6s.ajq.ade@localhost.lovett.com> <yllnbc7cxs.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: 513205479
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