Article View: news.software.nntp
Article #68360Re: LIST ACTIVE vs GROUP
From: Curt Welch
Date: Sat, 28 Feb 2004 03:24
Date: Sat, 28 Feb 2004 03:24
38 lines
3212 bytes
3212 bytes
Russ Allbery <rra@stanford.edu> wrote: > Curt Welch <curt@kcwc.com> writes: > > > Most newsreaders use the GROUP command to find out the article range of > > the group when checking for new articles, and very few newsreaders use > > the article numbers from the LIST ACTIVE command for that purpose. > > Because of that, it's likely that some servers may have implemented > > LIST ACTIVE in a way that would make it more out-of-date in terms of > > the current article numbers than the GROUP command. If your newsreader > > does things which are more non-standard than other newsreaders, you are > > increasing the probability that it will cause problems with some server > > in the future. > > This is something that I would encourage server authors to look at, > though, since there are widely used clients that use LIST ACTIVE in this > way. INN specially optimizes the case of LIST ACTIVE with a single group > to do the same thing as GROUP but without changing the current group > pointer rather than scanning the actual active file. Yeah, that's an interesting point. LIST ACTIVE in my server shares the same data as what the GROUP command works with so there's no issue of the two ever being out of sync, however, the GROUP command does do a bit more in that it double checks the lowest number articles to see if they have recently expired and will adjust the low article count as needed because of expired articles. So you could do a LIST ACTIVE and get one version of the low article number, and then do a GROUP, and get a higher low article value, but if you then did a LIST ACTIVE you would get the updated value so it's never inconsistent. And the group low article count is constantly being updated as articles expire, so LIST ACTIVE is never far away from the truth. I could however likewise special case LIST ACTIVE for a single group to do the exact same thing and check and update the low article value. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<20040227222414.163$9D@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!intern1.nntp.aus1.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mailReferences:
<sjrqg1-541.ln1@brians.username.cs.cmu.edu> <20040227130704.843$DS@newsreader.com> <87hdxccr3g.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <20040227222414.163$9D@newsreader.com>
Subject: Re: LIST ACTIVE vs GROUP
Date: Sat, 28 Feb 2004 03:24:14 +0000
From: curt@kcwc.com (Curt Welch)
References: <sjrqg1-541.ln1@brians.username.cs.cmu.edu> <20040227130704.843$DS@newsreader.com> <87hdxccr3g.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!intern1.nntp.aus1.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com fPGIAlno5L-zS@9m0CfKFcqS1i5syGRgJcAE@syeGCn2XnYJ.B
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: 38