🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #92818

Re: inn scalability improvements

#92818
From: Russ Allbery
Date: Fri, 22 May 2026 05:17
21 lines
1941 bytes
Kevin Bowling <kevin.bowling@kev009.com> writes:

> How big is your history dbz? I suspect the answer to all this is what
> Russ was hinting at, and maybe use sqlite for history so it can do in
> place maintenance.

I would be very curious to see if that would work. The dbz code is fairly
optimized, but it's also very old. I'm sure there are better algorithms,
but I don't know if a general-purpose database can go as fast. If it can,
that would offload a lot of complexity.

History is one of those cases where there's probably some better algorithm
that would be optimized for that specific purpose, but figuring out those
algorithms is only fun for a particular set of people and then it's hard
to find people to maintain them. :)

-- 
Russ Allbery (eagle@eyrie.org)             <https://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <https://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <87mrxskopj.fsf@hope.eyrie.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nntp-feed.chiark.greenend.org.uk!ewrotcd!news.eyrie.org!.POSTED!not-for-mail
References: <10tofqn$edc$1@csiph.com> <10ujjio$23pi$1@csiph.com> <10uo9o1$1im8$1@nnrp.usenet.blueworldhosting.com> <10uod8q$1jhn$1@csiph.com> <10uoe80$n9p$1@nnrp.usenet.blueworldhosting.com> <10uof36$1ljb$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!nntp-feed.chiark.greenend.org.uk!ewrotcd!news.eyrie.org!.POSTED!not-for-mail
From: Russ Allbery <eagle@eyrie.org>
Newsgroups: news.software.nntp
Subject: Re: inn scalability improvements
Date: Thu, 21 May 2026 22:17:28 -0700
Organization: The Eyrie
Message-ID: <87mrxskopj.fsf@hope.eyrie.org>
References: <10tofqn$edc$1@csiph.com> <10ujjio$23pi$1@csiph.com>
	<10uo9o1$1im8$1@nnrp.usenet.blueworldhosting.com>
	<10uod8q$1jhn$1@csiph.com>
	<10uoe80$n9p$1@nnrp.usenet.blueworldhosting.com>
	<10uof36$1ljb$1@csiph.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: hope.eyrie.org;
	logging-data="28397"; mail-complaints-to="news@eyrie.org"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:HrrU9melHXdMtMSCt9Ggah/Ez6E=