🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #71097

Re: [NNTP] LISTGROUP plus a fix for range descriptions

#71097
From: Curt Welch
Date: Wed, 20 Apr 2005 02:23
37 lines
3296 bytes
Russ Allbery <rra@stanford.edu> wrote:

> No, I'm allowing articles to be withdrawn, which is the entire reason why
> this is an estimate and not an exact number.  When articles are
> cancelled, the number of available articles in the group decreases
> immediately; at any point after the cancel, if a client attempts to read
> the message, it will be told the message number is not valid.  This is
> true even if the message number was previously returned by LISTGROUP,
> etc.
>
> In practice, the estimate never errs on the low side, but does err on the
> high side occasionally because it may or may not take into account all
> cancels that have occurred in the group.  I don't see a lot of use in
> requiring a guarantee that the number be accurate at the time of the
> GROUP command when it may become inaccurate due to the arrival of a
> cancel message an instant later.

The cancel problem is the simple example, but the real world is a lot more
complex.  Articles can expire from the group at any time and they can
expire out of order.  It's even common for this to happen when articles are
cross-posted to groups with different expire times.

Because of this, a distributed server would have to signal every expire to
every front-end server and the front end server would have to accuratly
track every expire.  This could be done, but is far more expensive than is
justified for a number which really isn't important.

But, when dealing with hardware errors, like articles lost due to disk, or
server, or software, or operator errors, the amount of processing which
would be required to even attempt to accurately count the number of aricles
in a group with 10 million articles is just totaly unreasonable.  It's the
level of complexity you put in to financial database but wouldn't dream of
wasting your money to make it work for a Usenet server.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                                        http://NewsReader.Com/
Technical Details
Message-ID: <20050419222357.995$zU@newsreader.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.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!newsh.newsreader.com!ellis.newsreader.com!not-for-mail
References: <87is2mz13d.fsf@windlord.stanford.edu> <Pine.WNT.4.63.0504181529350.3216@Tomobiki-Cho.CAC.Washington.EDU> <87pswry6k0.fsf@windlord.stanford.edu> <Pine.WNT.4.63.0504181709160.3216@Tomobiki-Cho.CAC.Washington.EDU> <87wtqzwpmp.fsf_-_@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <20050419222357.995$zU@newsreader.com>
Subject: Re: [NNTP] LISTGROUP plus a fix for range descriptions
Date: Wed, 20 Apr 2005 02:23:58 +0000
From: curt@kcwc.com (Curt Welch)
References: <87is2mz13d.fsf@windlord.stanford.edu> <Pine.WNT.4.63.0504181529350.3216@Tomobiki-Cho.CAC.Washington.EDU> <87pswry6k0.fsf@windlord.stanford.edu> <Pine.WNT.4.63.0504181709160.3216@Tomobiki-Cho.CAC.Washington.EDU> <87wtqzwpmp.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.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!newsh.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com CxLZNnC1YH=rI0qRxOTE@1Yi8RL8l7MDP89Z9fwI2e+LSDr
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,
 ?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
 %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 37