Article View: news.software.nntp
Article #92856Re: Combined LIST command
From: InterLinked
Date: Tue, 02 Jun 2026 22:49
Date: Tue, 02 Jun 2026 22:49
53 lines
4609 bytes
4609 bytes
On 6/2/2026 6:25 PM, Kevin Bowling wrote: > On 6/2/26 14:12, InterLinked wrote: >> On 6/2/2026 2:02 PM, Russ Allbery wrote: >> 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. Yeah, in the actual C code for sending/sucking articles, I'm obviously pipelining commands like CHECK, TAKETHIS, ARTICLE, etc. Not sure if there are other good candidates for pipelining I missed that are worth it? I'm not at the moment in the web client (which is really just a simple ~500 line PHP script I wrote for testing, I would describe it as similar to a view-only csiph.com with no searching, no threading, no caching, and more metadata shown, basically - for example you don't show article numbers or group creation info and I want to see that for testing and nerdy reasons). And RTT is just one thing really, the other was just general client/server efficiency. Yes, there are ways to "work around it", but it would be so much more efficient for my server to give the client all this info at once in one go, but there's nothing standardized in NNTP to facilitate that. From a purist perspective, all that wasted work irks me - the server has to work harder and the client has to work harder when they could use such a command to mutually both be more efficient. There's also the bandwidth usage. Repeating all the group names each time for the responses is SO wasteful... especially if you have tens of thousands of groups. 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. (And even on fast links, if you pay for outbound bandwidth, that adds up over time.) Sure, maybe an offline client would only do it once and not every time. But why waste a user's time even once when those four minutes could be easily saved? It is pure bloat. We can easily do better than this. Anyways, if I were to add my own non-standard LIST EVERYTHING command (and I do plan to), would it be recommended to name it something like LIST XEVERYTHING or can I just use whatever keyword I want? I realize practically speaking it makes no difference, clients would ignore anything they don't recognize, but I'd like to try to be "compliant" if there is a standard for non-standardized subcommands/keywords.
Technical Details
Message-ID:
<10vnmlo$38std$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!spool1.usenet.blueworldhosting.com!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> <10vngvg$37f8b$1@dont-email.me> <10vnl90$295v$1@csiph.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!spool1.usenet.blueworldhosting.com!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 18:49:27 -0400 Organization: A noiseless patient Spider Lines: 53 Message-ID: <10vnmlo$38std$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> <10vngvg$37f8b$1@dont-email.me> <10vnl90$295v$1@csiph.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Tue, 02 Jun 2026 22:49:29 +0000 (UTC) Injection-Info: dont-email.me; logging-data="3437485"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Rj9L6z7C2gbvQIw4i/SQU6lFGOwUiXVw="; posting-host="43a6ef2cf129fbef75a61b99ec72bb1f" Cancel-Lock: sha1:8rPFGyFaGkZ9Xt7o9F1cRyujA6I= sha256:eLnajEIQ9vjCwkqOX0jtn7Ir42BeAf+ZLYTP9J+jieI= sha1:X9Z3JdGEWzhpyRU6DNRZYzfoYac= X-Mailer: MailNews/52.9.9224a1 Content-Language: en-US In-Reply-To: <10vnl90$295v$1@csiph.com>