🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #65186

Slow getting headers of all messages in group

#65186
From: Gerry
Date: Thu, 08 May 2003 00:30
20 lines
1477 bytes
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?

I've tried repeatedly sending 'next' and 'head' until I reach the last
message.
And I've tried indexing from the first message number to the last
message number sending 'head <message number>'.

Both methods work fine, but they are not nearly as fast as other
newsreaders.

-- 
gbeggs@Canada.com   http://www3.sympatico.ca/~gbeggs/
Technical Details
Message-ID: <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!cyclone.bc.net!news-in.mts.net!news1.mts.net.POSTED!gbeggs

Show Full Headers
Complete Article Headers
Message-ID: <1fulso0.i1w65mh0muv4N%gbeggs@Canada.com>
Subject: Slow getting headers of all messages in group
Date: Wed, 7 May 2003 19:30:40 -0500
From: gbeggs@Canada.com (Gerry)
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!cyclone.bc.net!news-in.mts.net!news1.mts.net.POSTED!gbeggs
Newsgroups: news.software.nntp
Organization: G.B.C.S.
User-Agent: MacSOUP/2.4.5
Lines: 19
NNTP-Posting-Host: 142.161.54.107
X-Complaints-To: admin@mts.net
X-Trace: news1.mts.net 1052353836 142.161.54.107 (Wed, 07 May 2003 19:30:36 CDT)
NNTP-Posting-Date: Wed, 07 May 2003 19:30:36 CDT