🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #62274

Re: Group list, please someone explain...

#62274
From: Russ Allbery
Date: Tue, 10 Dec 2002 15:19
36 lines
2682 bytes
Bert Hyman <bert@visi.com> writes:

> The calculation would be "(last-first)+1", but don't get the information
> from a LIST command. It's a BAD idea to retrieve the full newsgroup list
> unless the user explicitly asks for it. The list can be tens of
> thousands of lines long, and on a dialup connection retrieving it can be
> murder.

While in general I think Bert is right, this can vary depending on the
circumstance.  For example, I read news over a local connection to
Stanford's news server (it's in the same building), we only carry about
8,000 groups, and I'm subscribed to a couple hundred.  Gnus wants to
display a summary of the number of unread messages in every group I read
for me, and I want to have that summary.  In that situation, it's much
faster for Gnus to just retrieve the entire active file than to send
several hundred GROUP commands.

For a small number of groups, it's probably better to use:

    LIST ACTIVE <group>

than to send GROUP commands, since the former is probably more optimized
for this purpose than the latter.  The GROUP command may do other things,
such as open the overview database for that group, on the assumption that
after a GROUP command you'll probably start retrieving articles in the
group.

But I'm not sure if that really matters enough to cause a noticable
performance impact.

-- 
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: <ylel8p295u.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
References: <is7J9.3519$DJ4.366@fe03> <yl1y4qyjuk.fsf@windlord.stanford.edu> <pNlJ9.313732$f9.188723@FE06> <Xns92E0560E9EA0CVeebleFetzer@news.visi.com>

Show Full Headers
Complete Article Headers
Message-ID: <ylel8p295u.fsf@windlord.stanford.edu>
Subject: Re: Group list, please someone explain...
Date: Tue, 10 Dec 2002 07:19:57 -0800
From: Russ Allbery <rra@stanford.edu>
References: <is7J9.3519$DJ4.366@fe03> <yl1y4qyjuk.fsf@windlord.stanford.edu> <pNlJ9.313732$f9.188723@FE06> <Xns92E0560E9EA0CVeebleFetzer@news.visi.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 35
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1039533598 7643 171.64.13.23 (10 Dec 2002 15:19:58 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Honest Recruiter,
 sparc-sun-solaris2.6)
Cancel-Lock: sha1:WHivla1Y4lLkUCBJMM/0IhGu7hI=