🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #42051

Re: ARTICLE efficiency.

#42051
From: Alternative Fluffy
Date: Wed, 08 Dec 1999 00:00
27 lines
1995 bytes
Luu Tran <luutran@nomail.invalid> wrote:

> Hello
> I don't know the internal working of server software, so here's a 
> question for those who do:  In general, is it more efficient to do 
> ARTICLE by msg-id or article-no?

They are generally comparable.  Implementations vary from server to
server and even from version to version of the same server.  More
below...

> Obviously, to do the latter, you first > need to do a GROUP
> command, which may be slow.

Under some common implementatins GROUP is a very expensive operation,
so if you are *not* already in the group, grabbing the message by ID
will be cheaper.  If you are in that group, go ahead and grab by
number, since you've already asked the server to do the indexing work.

BUT (isn't there always a but?) some servers take shortcuts.  You
might not be able to fetch older articles by ID, or ARTICLE <id> might
not work at all.  GROUP/ARTICLE nnn is your best bet for portability,
even if it's not always the fastest way.

Sorry for asking yet?

Technical Details
Message-ID: <873dtd6pkx.fsf@meowhost.meow.invalid>
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!not-for-mail
References: <8E968A81Bluutrangeocities@207.126.101.100>

Show Full Headers
Complete Article Headers
Message-ID: <873dtd6pkx.fsf@meowhost.meow.invalid>
Subject: Re: ARTICLE efficiency.
Date: Wed, 08 Dec 1999 00:00:00 +0000
From: Alternative Fluffy <gerglery@usa.net>
References: <8E968A81Bluutrangeocities@207.126.101.100>
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!not-for-mail
X-Deja-AN: 558318904
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abuse@prserv.net
X-Face: #!n`o'kqzEiF(\CL4IR$H.F-||!S*5wv~g8~prn}Z<+F/-^?oJ:#_V#QP?G}!!yayV0]i\' GTb6:]Tic*!vjH}wm>ILhZBn8U0XEjh'l~yrjB?4Iiph5N9:kwqd/}86UTr9i|LCu]Bd)~G1R9U(qJ KOyEQK8*?
X-Trace: 8 Dec 1999 22:21:38 GMT, 32.100.244.220
Organization: Feline Front of Judea
User-Agent: Gnus/5.070098 (Pterodactyl Gnus v0.98) XEmacs/20.4 (Emerald)
MIME-Version: 1.0
X-Meow: Wouf
Newsgroups: news.software.nntp