🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #6369

Re: cyclic news file system - two interesting quirks

#6369
From: Mark Delany
Date: Sun, 07 Apr 1996 00:00
45 lines
2260 bytes
mark@kram.org (Mark Turner) writes:

>In article <4k78u1$lbu@bushwire.mira.net.au>,
>Mark Delany  <markd@mira.net.au> wrote:
>> 
>> I don't know for sure, but in practice does lownum really need to be
>> accurate for all NNTP commands or only a subset?

>Maybe you've already read the following but I'll include them here in
>case not....

>1) From INN's active(5) man page where it talks about the fields in the
>active file:

>	"The third field is the lowest article number in the group; this
>	 number is not guaranteed to be accurate, and should only be taken
>	 to be a hint."


>2) From RFC977 section 3.2.1 where it talks about the data returned by
>the "group" command:

Indeed I have, along with the common extensions draft, but thanks for
the refresher. The only NNTP command definitely affected are those
that solely rely on the active file for their answer. As far as I can
tell, the only relevant command is LIST [ACTIVE].

Both GROUP and LISTGROUP consult the directory periodically so I have
no problem doing the equivalent. Furthermore a GROUP command is likely
to be followed by an article request or two within that group thus
giving a locality win.

Doesn't tell me how to keep the info even partially accurate with the
cyclic scheme (unless I shoot for a renumber - ugh), but I agree that
a "moderately accurate" scheme should suffice for the LIST command.

Currently a cyclic renumber requires reading all of the NOV data,
which is what, around 10-15% of the news storage? So a 10G news system
will need to read over 1G of NOV to do a complete renumber. Definitely
not an option in my book.


Regards.

Technical Details
Message-ID: <4k870o$n4o@bushwire.mira.net.au>
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: <4k78u1$lbu@bushwire.mira.net.au> <4k7s42$13i@clio.kram.org>

Show Full Headers
Complete Article Headers
Message-ID: <4k870o$n4o@bushwire.mira.net.au>
Subject: Re: cyclic news file system - two interesting quirks
Date: Sun, 07 Apr 1996 00:00:00 +0000
From: Mark Delany <markd@mira.net.au>
References: <4k78u1$lbu@bushwire.mira.net.au> <4k7s42$13i@clio.kram.org>
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: 146216656
Organization: Werple Internet, Melbourne
Newsgroups: news.software.nntp