🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #92772

Re: inn scalability improvements

#92772
From: Julien ÉLIE
Date: Sun, 10 May 2026 08:38
51 lines
3117 bytes
Hi Kevin,

> ovsqlite: Add direct reader mode for nnrpd with WAL
> expireover: Add bloom filter for fast history existence checks
> expire: skip per-article SMretrieve via cancel tombstone log
> 
> The general theme of all three is to reduce random or sync I/O.  In the 
> case of expireover and expire, the general problem is somewhat similar 
> but the root cause and fix are fairly different.

Many thanks for these very useful improvements to expiration and 
ovsqlite concurrent reading.
expire and expireover run way faster (x1100 for expire and x2800 for 
expireover on your system !!) thanks to your optimizations.  Some people 
have been complaining with their slowness from a long time, and 
hopefully you managed to find out how to improve that a lot and 
contributed a patch.  It will be integrated to the next release.


> On my system this is a 1100x improvement, 2 weeks down to 18 minutes.

Gosh!


> On my system this will net a 2800x improvement, 2 days down to sub minute.

Re-gosh!


> Both of these suppose integrity of the spool; if you 'rm' articles 
> instead of using 'sm -r' you'll need to do a patrol expire to clean up 
> your spool; expireover builds from history so it would see the new 
> history state the next time it runs.  The first time expire runs it wont 
> have a tombstone so it will 'upgrade' to a known state cleaning any 
> issues.. a gap is only if you decide to manually botch the spool after 
> that.

Worth mentioning.


> I'd be curious to hear any feedback or reviews from other inn admins 
> that can test the patch set.

If anyone could test the provided patches, do not hesitate to do so in 
order to eventually catch possible nits before the next release (in June).

-- 
Julien ÉLIE

« Être øu ne pås être, telle est lå questiøn… » (Kerøzen)
Technical Details
Message-ID: <10tpg5u$70e0$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!newsfeed.bofh.team!news.trigofacile.com!.POSTED.2001:861:3f81:7990:5a:e238:97b:6433!not-for-mail
References: <10tofqn$edc$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!newsfeed.bofh.team!news.trigofacile.com!.POSTED.2001:861:3f81:7990:5a:e238:97b:6433!not-for-mail
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
Newsgroups: news.software.nntp
Subject: Re: inn scalability improvements
Date: Sun, 10 May 2026 10:38:22 +0200
Organization: Groupes francophones par TrigoFACILE
Message-ID: <10tpg5u$70e0$1@news.trigofacile.com>
References: <10tofqn$edc$1@csiph.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 10 May 2026 08:38:22 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="2001:861:3f81:7990:5a:e238:97b:6433";
	logging-data="229824"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:Og6xyeHJKi82f0BC/Qg9/aIH7Gg= sha256:BeYt+PWra3c98H4Z5gV4etwTaEdex2qL6SMW+01gpGY=
	sha1:gwJ9iRt7+DnkTUemDtaf6ngRdug= sha256:1anDsiXi4sTswjI62Kui0Oc17NKtVEDkKEDdJBcMb4s=
In-Reply-To: <10tofqn$edc$1@csiph.com>