🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #8986

discussion of nntp directions

#8986
From: Wayne Davison
Date: Wed, 11 May 1994 19:05
77 lines
4158 bytes
According to Tom Limoncelli <tal@Warren.MENTORG.COM>:
> What kind of changes would you be interested in [making to nntp]?

One change I was thinking strongly about is a way to ask for a single
line in the active file.  This not only helps slow-link folks who don't
like to have to wait for the entire active file to be downloaded but
also makes it easier to check for new news since the command would be
MUCH faster than using GROUP. I had thought to bind the command to
"LIST ACTIVE group.name".

Another change would be an easy way to do header and/or article body
searching.

It would be nice to be able to limit/order the xover information via
some kind of setup option (helps slow-link systems by only transferring
the data we're interested in).

Also, I still want to implement some kind of thread database at the
server level, since it is so slow to have to read the entire overview
file just to make sure that you have all the new articles linked into
their proper thread groupings (particularly for thread kills).  It
also seems like a waste to have each newsreader re-invent this info
each time you enter a group.

The problem with mthread's thread files is that the files are kept in
a compact thread order, so too much time and disc bandwidth is spent
on unpacking and repacking the thread data just to add one article.

I was thinking of adding a new command called THREADINFO that would
list the existing article numbers and their immediate parent article
number.  For articles with an unarrived parent or one or more missing
parents prior to a known article, it would be possible to insert a
unique token such as the message-id in between the known numbers.  For
example, instead of using LISTGROUP:

>THREADINFO ALL
<xxx Thread info follows.
<101
<103 101
<104 <not-arrived@some.site.com> 101
<105 101
<107 105
<.

This quick dump tells us all the existing article numbers and gives
us a quick thread tree of how they're all related.  I was also thinking
that it should be easy when the group grows to ask just for the new
threadinfo.

How to make this efficient for the server is an interesting problem.
I have been thinking that it would be easy to have an adjunct file
to the overview file that was updated as each article arrives on the
system (it might even be possible to enhance the overview file to
encompass this data, but that might be harder).  This file would
contain the above information and could be easily appended as new
data arrived.  If we have the news software do this, it would even
have the history file at its fingertips to do a quick scan of the
references line.

The tricky part is updating the holes as new information arrives.
If article <not-arrived@...> showed up as #108, I would suggest just
appending the updated info to the end of the file, like this:

108 101
104 108

Thus, any duplicated article numbers in the file get superceded by the
new information.  An expire process could order these and remove the
duplicates, if desired.

Sounds easy, no?  No.  How do we know that article 104 is in need of
having its line updated when the <not-arrived@...> article shows up?
We don't want to have to read the whole file each time the news software
stores a new article.  Ideas anyone? Any better/simpler ways to do this?
-- 
Wayne Davison
davison@borland.com
Technical Details
Message-ID: <CpnJoz.8vv@borland.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!bga.com!news.sprintlink.net!sundog.tiac.net!usenet.elf.com!rpi!gatech!swrinde!elroy.jpl.nasa.gov!decwrl!borland.com!davison
References: <CpEDEt.5A5@borland.com> <2qo7pb$3te$1@sdl.Warren.MENTORG.COM> <CpLKsu.8LB@borland.com> <2qpji2$grv$1@sdl.Warren.MENTORG.COM>

Show Full Headers
Complete Article Headers
Message-ID: <CpnJoz.8vv@borland.com>
Subject: discussion of nntp directions
Date: Wed, 11 May 1994 19:05:23 GMT
From: davison@borland.com (Wayne Davison)
References: <CpEDEt.5A5@borland.com> <2qo7pb$3te$1@sdl.Warren.MENTORG.COM> <CpLKsu.8LB@borland.com> <2qpji2$grv$1@sdl.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!bga.com!news.sprintlink.net!sundog.tiac.net!usenet.elf.com!rpi!gatech!swrinde!elroy.jpl.nasa.gov!decwrl!borland.com!davison
Newsgroups: news.software.b,news.software.readers
Organization: Borland International
Lines: 77