🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #68316

Re: LIST ACTIVE vs GROUP

#68316
From: Russ Allbery
Date: Tue, 24 Feb 2004 20:30
29 lines
2354 bytes
Brian Sammon <usenet@brisammon.fastmail.fm> writes:

> I'm poking around at the sourcecode to my newsreader, and I'm trying to
> understand some of the design decisions.

> When the newsreader starts up, it iterates through the groups I am
> subscribed to, doing a "LIST ACTIVE" on each group to determine if there
> are any new messages.  If it can't do that, it "falls back" to using the
> GROUP command.

> This suggests to me that the author thought that "LIST ACTIVE" was
> preferable to "GROUP" as a method of scanning the group.

> The only difference I can see is that "GROUP" selects the group, while
> "LIST ACTIVE" (obviously) doesn't.

> Is there any good reason to prefer "LIST ACTIVE" to "GROUP" for this
> purpose?

GROUP can be heavier-weight for the server (mildly) than LIST ACTIVE,
since by using GROUP, the news reader is generally indicating its
intention to actually read the group.  The server may therefore do things
like open the overview file for the group.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <874qtgp6di.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!elnk-atl-nf1!elnk-nf2-pas!newsfeed.earthlink.net!newshub.sdsu.edu!headwall.stanford.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
References: <sjrqg1-541.ln1@brians.username.cs.cmu.edu>

Show Full Headers
Complete Article Headers
Message-ID: <874qtgp6di.fsf@windlord.stanford.edu>
Subject: Re: LIST ACTIVE vs GROUP
Date: Tue, 24 Feb 2004 12:30:49 -0800
From: Russ Allbery <rra@stanford.edu>
References: <sjrqg1-541.ln1@brians.username.cs.cmu.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!elnk-atl-nf1!elnk-nf2-pas!newsfeed.earthlink.net!newshub.sdsu.edu!headwall.stanford.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 29
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1077654649 5402 171.64.19.147 (24 Feb 2004 20:30:49
 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Common Lisp, linux)
Cancel-Lock: sha1:NY3yhnAbyZRtwOXH2TagRnir3Hg=