🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #14992

Re: NEWNEWS Command

#14992
From: Forrest J. Cavalier III
Date: Wed, 12 Feb 1997 00:00
25 lines
1640 bytes
>>it's using the ID's hash to look in the history file and pull out the
>>path and item number.
>
>Something like that. The dbz database contains a map of Message-ID to seek
>position within the text file. This leads to a very fast lookup of where
>an article lives on the spool.
>

The alternative that I proposed in "Redesign the spool and history database"
thread was to use the message ID itself as the file name.  This idea
is not a new one, as the thread discusses.  But no-one seems to have
extended the idea to readers.  Then the nnrpd program could get messages
by ID without having to consult anything.  (Well, my idea was a bit more 
complicated, but essentially the same.)

I haven't looked at the INN code, but doesn't the NEWNEWS command have to
sort out which groups were involved?  
It is not as simple as a quick tour through the history file, is it?

Forrest Cavalier
Mib Software


Technical Details
Message-ID: <5dt1o9$oqo@news1.epix.net>
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: <5doh1j$en4$1@jair.pressenter.com> <E5GFKo.Goz@spcuna.spc.edu> <33019E95.4B85@bpfh.net> <E5Hq41.4M2@spcuna.spc.edu> <33020774.15E2@bpfh.net>

Show Full Headers
Complete Article Headers
Message-ID: <5dt1o9$oqo@news1.epix.net>
Subject: Re: NEWNEWS Command
Date: Wed, 12 Feb 1997 00:00:00 +0000
From: mibsoft@epix.net (Forrest J. Cavalier III)
References: <5doh1j$en4$1@jair.pressenter.com> <E5GFKo.Goz@spcuna.spc.edu> <33019E95.4B85@bpfh.net> <E5Hq41.4M2@spcuna.spc.edu> <33020774.15E2@bpfh.net>
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: 218301240
Distribution: inet
Content-Type: Text/Plain; charset=US-ASCII
Organization: Mib Software
Mime-Version: 1.0
Newsgroups: news.software.nntp