🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #91860

Re: Efficiency of requesting by message-id vs group+number

#91860
From: Russ Allbery
Date: Thu, 22 Aug 2024 16:12
28 lines
2443 bytes
Jon Ribbens <jon+usenet@unequivocal.eu> writes:

> I've no idea. I haven't looked since the 1990s, when it was very rarely,
> if ever, blocked.

Hm, I'm not sure about that.  Blocking NEWNEWS in INN goes back a long
time.  The old implementation did history text file searches, IIRC, and
was rather inefficient for single groups if the server had a lot of
traffic.  Maybe I'm misremembering, but I don't think I am; I'm pretty
sure I disabled NEWNEWS on the servers I was running in the late 1990s.

The current implementation is quite efficient if the user specifies a
single newsgroup, which is a common use case of NEWNEWS.  If they specify
a wildmat that matches a bunch of groups, it's still fairly bad.
NEWNEWS * has to search the overview of every group on the server for
articles in the date range, so if you have a lot of groups, that is going
to be painful.

Fast NEWNEWS with broad wildmat patterns requires a different data
structure (article message IDs in arrival order regardless of newsgroup,
but with the newsgroup information available to do the wildmat match)
that's otherwise kind of pointless to maintain.

-- 
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: <877cc88rju.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.eyrie.org!.POSTED!not-for-mail
References: <1724312020-7@cmacleod.me.uk> <slrnvcdrcn.55b.jon+usenet@raven.unequivocal.eu> <va7iaf$2l4$7@pyrite.ereborbbs.duckdns.org> <slrnvcel7g.55b.jon+usenet@raven.unequivocal.eu>

Show Full Headers
Complete Article Headers
Message-ID: <877cc88rju.fsf@hope.eyrie.org>
Subject: Re: Efficiency of requesting by message-id vs group+number
Date: Thu, 22 Aug 2024 09:12:53 -0700
From: Russ Allbery <eagle@eyrie.org>
References: <1724312020-7@cmacleod.me.uk> <slrnvcdrcn.55b.jon+usenet@raven.unequivocal.eu> <va7iaf$2l4$7@pyrite.ereborbbs.duckdns.org> <slrnvcel7g.55b.jon+usenet@raven.unequivocal.eu>
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.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:LV2i1IROoIPHrrMpD/oHIUlmi/c=