🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #92822

Re: inn scalability improvements

#92822
From: Russ Allbery
Date: Fri, 22 May 2026 16:59
29 lines
2207 bytes
Kevin Bowling <kevin.bowling@kev009.com> writes:

> They occupy two extremes in a sense; DBZ is eventually a perfect hashing
> CDB.

Yeah, I have in the past considered actually using CDB for the older
entries, but the complexity didn't seem worth it.

> The biggest justification is probably operational, all the quirks and
> oddities of history basically turn into simple SQL statements (remember,
> expire, etc).

Yes.

> It strikes me that LMDB would probably be a more direct fit for this,
> and if you squint OpenLDAP and inn aren't that different (although inn
> eventually leafs down to the file server load that sendfile would
> naturally fit where LDAP is more of a key/value store). But sqlite is
> already well integrated, basically maintenance free, and there is a cost
> to bringing in more dependencies.

Oh, that's an interesting idea. But yes, adding yet another database isn't
all that appealing.

-- 
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: <87wlwv2xdg.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.killfile.org!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> <87mrxskopj.fsf@hope.eyrie.org> <10uounf$28g7$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.killfile.org!news.eyrie.org!.POSTED!not-for-mail
From: Russ Allbery <eagle@eyrie.org>
Newsgroups: news.software.nntp
Subject: Re: inn scalability improvements
Date: Fri, 22 May 2026 09:59:55 -0700
Organization: The Eyrie
Message-ID: <87wlwv2xdg.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> <87mrxskopj.fsf@hope.eyrie.org>
	<10uounf$28g7$1@csiph.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: hope.eyrie.org;
	logging-data="18388"; mail-complaints-to="news@eyrie.org"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:AIWNC+vX9dh1CMoXZPSYLY8x8lA=