Article View: news.software.nntp
Article #92864Re: Combined LIST command
From: Kevin Bowling
Date: Thu, 04 Jun 2026 07:23
Date: Thu, 04 Jun 2026 07:23
68 lines
5058 bytes
5058 bytes
On 6/3/26 20:08, InterLinked wrote: > On 6/3/2026 7:09 PM, Kevin Bowling wrote: >> On 6/3/26 14:30, Julien ΓLIE wrote: >>> Hi InterLinked, >>> >>>> Assuming an average group name length of 20 characters, a server >>>> with 23,000 groups wastes an ENTIRE MB just repeating group names in >>>> ACTIVE.TIMES and NEWSGROUPS. Put this on a 33.6k dial-up link, and >>>> you have wasted over FOUR MINUTES of the client's bandwidth for NO >>>> reason. >>> >>> You may want to use the COMPRESS command; it works pretty well on >>> LIST responses. >> >> I was going to suggest this as well.Β Even on localhost, the overhead >> of compression is lower (or at least shifts it correctly to user) than >> the overhead of socket buffering+wakeups for moving this type of data >> between processes. > > Sure, but again, not having to send the data *at all* means you don't > have to move *any* data around. And now you have to expend CPU cycles > compressing data that wasn't needed to begin with. I get that there are > workarounds, but I can simply do better. No argument. I do LIST ACTIVE and LIST NEWSGROUPS for my group listings, the later just to get descriptions. But this information is highly cachable, which is probably true in most readers. >> The only thing I really want from the NNTP protocol/server for readers >> for csiph-web is a THREAD command because I suspect it would be a lot >> more efficient to do server side but I'd need to prove it out. > > I think everything is probably more efficient for the server to do if > possible, and in general I prefer the server to do as much work as > possible, though that's from my perspective of designing clients and > servers where the end work gets done on one of my machines either way at > the end of the day (and in general I prefer servers to do as much of the > work as possible regardless). If I were a large scale provider, > obviously there is an incentive to force the client to do more work, > though I think that's less efficient overall. (Aside: maybe this is one > reason why the big freemail providers' IMAP servers suck and have no > features.) > > Besides THREAD, I think there are probably other IMAP extensions that > might make sense to port over to NNTP. Maybe SEARCH, for one? Right now, > if I wanted to add a search to my online-only NNTP client, well, I can't. I guess many clients are somewhat ossified to the protocol. For example I mostly use Thunderbird out of habit and I am not sure how, in current state, it could cope with a global search result set. For THREAD, it is kind of a unique problem to the multi-user agent like a web interface. The cost of threading locally for a single user is basically "free" because they'll want the OVER stuff anyway for listings. So there is some chicken-and-egg here. But from a protocol perspective I guess both THREAD and SEARCH would be a pretty trivial addition -- the complexity is all on the server and client implementations to figure out. I found out search is fairly difficult to do well, the csiph-web index was quite an odyssey. I suspect some admins would want some search server like solr, elastic or quickwit. So it would have to be plugins that allows for such things. And then some indexing process. Mine is librified, in process, with Tantivy (think Lucene or Xapian) and the indexing are blocking async tasks (coroutine, threads or processes for C). Probably not that different than the way Dovecot does FTS.
Technical Details
Message-ID:
<10vr96a$126f$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> <10vnl90$295v$1@csiph.com> <10vnmlo$38std$1@dont-email.me> <10vq6ee$qtfq$1@news.trigofacile.com> <10vqc7q$2pvi$1@csiph.com> <10vqq79$4g5m$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: Thu, 4 Jun 2026 00:23:53 -0700 Organization: csiph.com Internet News Service Message-ID: <10vr96a$126f$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> <10vnl90$295v$1@csiph.com> <10vnmlo$38std$1@dont-email.me> <10vq6ee$qtfq$1@news.trigofacile.com> <10vqc7q$2pvi$1@csiph.com> <10vqq79$4g5m$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Thu, 4 Jun 2026 07:23:54 -0000 (UTC) Injection-Info: csiph.com; posting-host="172.83.103.228"; logging-data="35023"; mail-complaints-to="admin@kev009.com" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:emtDLFy38N/Reun/zg+F0/wfcxw= sha256:KTeFCebCTHb/z7BFp6+6RDBXEBNH2Z5fRFp97v1x17Y= sha1:ZUFNMMmQwTj+EaVMzh3o+p1lQPw= sha256:Jv9rDvqmxiw3Xhbg5tJ5xysdf41D5PQX10mFDEG9ZXM= Content-Language: en-US In-Reply-To: <10vqq79$4g5m$1@dont-email.me>