Article View: news.software.nntp
Article #92851Re: Combined LIST command
From: InterLinked
Date: Tue, 02 Jun 2026 21:12
Date: Tue, 02 Jun 2026 21:12
46 lines
3936 bytes
3936 bytes
On 6/2/2026 2:02 PM, Russ Allbery wrote: > InterLinked <nntp@phreaknet.org> writes: > >> Good point, but that's the easy case. If even one article is missing, you >> don't know where without doing a LISTGROUP. And if you don't, you could >> try getting the first 50 and only end up with 40. > >> Also, I question if a GROUP response with no gaps can be relied upon, >> given that INN advertises a false high water mark (based on the last >> article received, not the highest existing article), and similarly the >> count may just be an estimate. My software always tells the truth, but it >> seems that can't be relied on in general. > > Are you running some kind of aggressive spam filtering or otherwise > expecting to do lots of article deletion? It feels like you are heavily > optimizing for groups with deleted articles, but in practice on Usenet > this is usually extremely rare, particularly if one disables > unauthenticatd cancels (which is common these days). > > On most servers, the one time in a hundred when you ask for 50 articles > and only get 49 is barely worth thinking about. I don't intend to, but it's possible. I've been experimenting with sucking articles using a reading connection recently just to toy with what groups and articles I want. I'm down to fewer than 900 groups of the 23,000 on Eternal September (i.e. excluding dead groups, excluding political groups, excluding spam groups, etc.), and even then, individual groups can still get junk. Ideally, I aim to reject this all at connection time, but as I refine my filters, I could miss something and decide to retroactively delete received articles, especially if the group has a long or unlimited retention and there is a real cost to keeping garbage in the spool. Besides that, was thinking about performance in the general case, not just mine. But it's good to know this is uncommon, thank you for that datapoint. I guess I could just blindly ask for LOW... LOW + (N - 1) for a range, and if it comes back short and under the high water mark, then do a LISTGROUP and proceed from there. That will probably perform better on average. So I guess the need for "RANGE" is not very pressing, but a "LIST EVERYTHING" would still be useful. I'm doing LIST, LIST ACTIVE.TIMES, LIST NEWSGROUPS, and LIST COUNTS serially right now when listing groups, and since I have < 1000 groups, and I'm testing on the same test server, it's not very noticeable, but I could see this adding a lot of lag for larger/remote news servers.
Technical Details
Message-ID:
<10vngvg$37f8b$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<10vfdpf$12fb7$1@dont-email.me> <10vktc7$lf7c$1@news.xmission.com> <10vl0uq$2hsmv$1@dont-email.me> <20260602tu081111@o15.ybtra.de> <10vmv1u$320pj$1@dont-email.me> <87ik80lt1b.fsf@hope.eyrie.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: InterLinked <nntp@phreaknet.org> Newsgroups: news.software.nntp Subject: Re: Combined LIST command Date: Tue, 2 Jun 2026 17:12:15 -0400 Organization: A noiseless patient Spider Lines: 46 Message-ID: <10vngvg$37f8b$1@dont-email.me> References: <10vfdpf$12fb7$1@dont-email.me> <10vktc7$lf7c$1@news.xmission.com> <10vl0uq$2hsmv$1@dont-email.me> <20260602tu081111@o15.ybtra.de> <10vmv1u$320pj$1@dont-email.me> <87ik80lt1b.fsf@hope.eyrie.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 02 Jun 2026 21:12:17 +0000 (UTC) Injection-Info: dont-email.me; logging-data="3390731"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19C5PqFrcWOWwj3sQvYRWOm9zuQHvUIOKM="; posting-host="43a6ef2cf129fbef75a61b99ec72bb1f" Cancel-Lock: sha1:Hz3ZSt8ck+1NEc+Q51imYsZe7aw= sha256:bPxPivXKyLtrt7Pw66diznSow9jxVCe/0FNwEar5lJo= sha1:31SrBbuqpcA7lTtTPzkKbBlesAs= Content-Language: en-US In-Reply-To: <87ik80lt1b.fsf@hope.eyrie.org> X-Mailer: MailNews/52.9.9224a1