🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #65191

Re: Slow getting headers of all messages in group

#65191
From: Russ Allbery
Date: Thu, 08 May 2003 00:45
20 lines
1691 bytes
Gerry <gbeggs@Canada.com> writes:

> I'm making an NNTP client and I am able to have it fetch all the headers
> from a newsgroup to produce a list of the messages for the user to
> choose from.

> However, my program seems several times slower than others at fetching
> the headers of all the articles in a group.

> What is the best algorithm to do this?

This is what overview was designed for.  See the XOVER command (described
briefly in RFC 2980).

-- 
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: <yl7k92feqi.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: <1fulso0.i1w65mh0muv4N%gbeggs@Canada.com>

Show Full Headers
Complete Article Headers
Message-ID: <yl7k92feqi.fsf@windlord.stanford.edu>
Subject: Re: Slow getting headers of all messages in group
Date: Wed, 07 May 2003 17:45:25 -0700
From: Russ Allbery <rra@stanford.edu>
References: <1fulso0.i1w65mh0muv4N%gbeggs@Canada.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: 19
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1052354725 20212 171.64.19.147 (8 May 2003 00:45:25 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Portable Code,
 sparc-sun-solaris2.6)
Cancel-Lock: sha1:yEXsTCZkelddXzMYkBC2oNCo7ao=