Article View: news.software.nntp
Article #91856Re: Efficiency of requesting by message-id vs group+number
From: Russ Allbery
Date: Thu, 22 Aug 2024 15:09
Date: Thu, 22 Aug 2024 15:09
17 lines
1761 bytes
1761 bytes
Colin Macleod <user7@cmacleod.me.uk.invalid> writes:
> Hi, I'm looking for some guidance on the efficiency of requesting
> individual articles by message-id compared to group and article number.
> For a server such as INN, does finding an article from its message-id
> impose extra load?
No, it should be fast. It's a history lookup of the message ID to get the
storage token, and then retrieval of the article by storage token. It
should be roughly equivalent to retrieving the article by number. There's
one extra hash calculation, I think, but it's going to be in the noise.
--
Russ Allbery (eagle@eyrie.org) <https://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<https://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<87cym08ugo.fsf@hope.eyrie.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!apf8.newsdeef.eu!nnrp.usenet.blueworldhosting.com!!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nntp-feed.chiark.greenend.org.uk!ewrotcd!news.xcski.com!news.eyrie.org!.POSTED!not-for-mailReferences:
<1724312020-7@cmacleod.me.uk>Show Full Headers
Complete Article Headers
Message-ID: <87cym08ugo.fsf@hope.eyrie.org> Subject: Re: Efficiency of requesting by message-id vs group+number Date: Thu, 22 Aug 2024 08:09:59 -0700 From: Russ Allbery <eagle@eyrie.org> References: <1724312020-7@cmacleod.me.uk> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!apf8.newsdeef.eu!nnrp.usenet.blueworldhosting.com!!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nntp-feed.chiark.greenend.org.uk!ewrotcd!news.xcski.com!news.eyrie.org!.POSTED!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie MIME-Version: 1.0 Content-Type: text/plain Injection-Info: hope.eyrie.org; logging-data="31359"; mail-complaints-to="news@eyrie.org" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:YEUt0JDK2wa6s4rOV14k6TjK9/M=