Article View: news.software.nntp
Article #92775Re: inn scalability improvements
From: Julien ÉLIE
Date: Mon, 11 May 2026 14:57
Date: Mon, 11 May 2026 14:57
81 lines
4735 bytes
4735 bytes
Hi Kevin, > I've wondered a bit about what might be next. Thanks for asking and being motivated to enhance and improve INN! > network programming changed a lot once kqueue and epoll entered a couple years later. Yes, it would be worth using libevent with INN. It would permit to fix the long-standing bug that innd does not honour DNS TTLs (https://github.com/InterNetNews/inn/issues/89) as epoll provides asynchronous non-blocking calls to do that. Also, implementing TLS and zlib (COMPRESS) support in innd and innfeed would be very useful. People often ask for TLS (for privacy reasons) and find it complicated to correctly make stunnel or tcpwrappers work with innd. > nnrpd would be somewhat easy to make more efficient across a few > dimensions. The least code churn might be integrating poll() directly > in the per process forks and adding some eventing to deal with NNTP > pipelining and I/O and DNS. The main benefit would be building up some > I/O parallelism, all storage devices benefit from that and you smooth > out the latency of hot vs cold I/Os through the page cache (or ARC/ > L2ARC) and actual storage devices. I agree. > Similar opportunities likely present in innd/innfeeder but I am not > familiar with this code so far. Sure, there also are improvements to do for them! > File formats would be another consideration I am not familiar enough to > evaluate right now but the network and disk I/O stuff interests me more. You can find some tickets about storage and file formats in the GitHub tracker. The most "urgent" would be the one about the Y2038 issue for timecaf: timecaf disk format uses time_t (Y2038 issue for 64-bit time_t transition on 32-bit archs) https://github.com/InterNetNews/inn/issues/292 Normally, the rest of INN is not affected by the Y2038 issue (but not 100% sure - at least, I did not find other suspicious uses of time_t). Another useful thing to work on is to make easier how to keep both the active file and the newsgroups descriptions synchronized and up-to-date. It is somewhat a pain for newcomers to understand what to do and how to achieve it, and naturally also in the long-term how to keep it up-to-date. We have Perl utilities to clean and merge newsgroups files in https://github.com/InterNetNews/inn/issues/39 but they do not cover all the cases the news admins usually want. The ideal would be that actsync take care of everything, or that we have a wrapper which calls several tools. More generally, what eases the installation of INN for newcomers would be helpful. Maybe revisiting the paths where all INN stuff is installed could interest you as a package maintainer :) Support installation in FHS paths https://github.com/InterNetNews/inn/issues/43 Another suggestion as you seem to like expiration/orphan stuff: tradspool and timehash articles not deleted after rmgroup https://github.com/InterNetNews/inn/issues/61 You will also find some interesting reworks Russ had in mind in the TODO file at the root of the INN tree. Naturally, feel free to pick up anything you are interested in and with what you take fun working on it. -- Julien ÉLIE « Ce vieux forban d'Asthmatix, il ne manquait pas d'air ! » (Astérix)
Technical Details
Message-ID:
<10tsqop$91bv$1@news.trigofacile.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!weretis.net!feeder8.news.weretis.net!news.trigofacile.com!.POSTED.2001:861:3f81:7990:c092:ac87:6391:33b9!not-for-mailReferences:
<10tofqn$edc$1@csiph.com> <10tpg5u$70e0$1@news.trigofacile.com> <10tr9m7$b63$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!3.eu.feeder.erje.net!feeder.erje.net!weretis.net!feeder8.news.weretis.net!news.trigofacile.com!.POSTED.2001:861:3f81:7990:c092:ac87:6391:33b9!not-for-mail From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> Newsgroups: news.software.nntp Subject: Re: inn scalability improvements Date: Mon, 11 May 2026 16:57:28 +0200 Organization: Groupes francophones par TrigoFACILE Message-ID: <10tsqop$91bv$1@news.trigofacile.com> References: <10tofqn$edc$1@csiph.com> <10tpg5u$70e0$1@news.trigofacile.com> <10tr9m7$b63$1@csiph.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Mon, 11 May 2026 14:57:29 -0000 (UTC) Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="2001:861:3f81:7990:c092:ac87:6391:33b9"; logging-data="296319"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:j+UvkEVnXhkXZPWprAGjIP0XdFc= sha256:hIIAfRrzJfp8PIz0g8dCOsCt4s54T6iQzgBip+OW0ys= sha1:Nar2erzbzJxDHLDC+QWbz9Vp4Ts= sha256:x3IJdniOEZY6zm5FktHOTGn3hJoyxQ12Qfn16jHAxZI= In-Reply-To: <10tr9m7$b63$1@csiph.com>