Article View: news.software.nntp
Article #92854Re: Combined LIST command
From: Kevin Bowling
Date: Tue, 02 Jun 2026 22:25
Date: Tue, 02 Jun 2026 22:25
55 lines
4338 bytes
4338 bytes
On 6/2/26 14:12, InterLinked wrote: > 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. If you are not using pipelining, it is an easy win to eliminate some RTTs when you know what you want prior and need to get it from multiple commands. RTT is the main benefit for inn's nnrpd right now. I want to take a look and see if it can also be used to build up some I/O parallelism on the backend.
Technical Details
Message-ID:
<10vnl90$295v$1@csiph.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!weretis.net!feeder9.news.weretis.net!csiph.com!.POSTED.172.83.103.228!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> <10vngvg$37f8b$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!weretis.net!feeder9.news.weretis.net!csiph.com!.POSTED.172.83.103.228!not-for-mail From: Kevin Bowling <kevin.bowling@kev009.com> Newsgroups: news.software.nntp Subject: Re: Combined LIST command Date: Tue, 2 Jun 2026 15:25:36 -0700 Organization: csiph.com Internet News Service Message-ID: <10vnl90$295v$1@csiph.com> 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> <10vngvg$37f8b$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 2 Jun 2026 22:25:36 -0000 (UTC) Injection-Info: csiph.com; posting-host="172.83.103.228"; logging-data="74943"; mail-complaints-to="admin@kev009.com" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:XXzVHeJARv42Iw+jamgqVGpvszA= sha256:i59T+/wO3vT0UYGA9OVnVh20dfFyv9mTcqqfXeKo6ug= sha1:LfKyd0AibTHdkicJFNIGgBlK7U0= sha256:TIame1qfBX6VQCMOBEnnDWw5cOSN0CLVCXJazBzz8Us= Content-Language: en-US In-Reply-To: <10vngvg$37f8b$1@dont-email.me>