🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #92817

Re: inn scalability improvements

#92817
From: Kevin Bowling
Date: Fri, 22 May 2026 05:19
30 lines
2878 bytes
On 5/21/26 20:24, Jesse Rehmer wrote:
> On May 21, 2026 at 9:29:57 PM CDT, "Kevin Bowling" <kevin.bowling@kev009.com>
> wrote:
> 
>> 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 must have missed Russ's comment about using sqlite for the history file, but
> my personal opinion is the history operations are the largest bottleneck when
> running a larger scale INN instance. With CNFS and ovsqlite expiration
> operations are not so terrible. Room for improvement sure, but the main thing
> I've noticed when feeding hundreds of millions of articles between servers is
> the history writes are the biggest overall bottleneck I encounter on a regular
> basis. I have messed with the various knobs related to this and never got the
> throughput I wanted, or what Diablo is capable of.

It was in an unrelated thread with InterLinked about maybe using 
databases instead of home grown formats.

> Of course, I'm not doing regular expire operations, but if I recall correctly,
> when I was doing them it could take days to complete. That did create issues
> for users.

It should be manageable with my current patch stack to run expire with 
your current count but writing out a new history at this scale every 
night is a bit wasteful.

I will take a look at history/dbz and see if there are any easy wins and 
do some napkin math to see if sqlite would be viable for the use case.
Technical Details
Message-ID: <10uop1r$2237$1@csiph.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!weretis.net!feeder9.news.weretis.net!csiph.com!.POSTED.172.83.103.228!not-for-mail
References: <10tofqn$edc$1@csiph.com> <10uod8q$1jhn$1@csiph.com> <10uoe80$n9p$1@nnrp.usenet.blueworldhosting.com> <10uof36$1ljb$1@csiph.com> <10uoia8$vdt$1@nnrp.usenet.blueworldhosting.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!weretis.net!feeder9.news.weretis.net!csiph.com!.POSTED.172.83.103.228!not-for-mail
From: Kevin Bowling <kevin.bowling@kev009.com>
Newsgroups: news.software.nntp
Subject: Re: inn scalability improvements
Date: Thu, 21 May 2026 22:19:55 -0700
Organization: csiph.com Internet News Service
Message-ID: <10uop1r$2237$1@csiph.com>
References: <10tofqn$edc$1@csiph.com> <10uod8q$1jhn$1@csiph.com>
 <10uoe80$n9p$1@nnrp.usenet.blueworldhosting.com> <10uof36$1ljb$1@csiph.com>
 <10uoia8$vdt$1@nnrp.usenet.blueworldhosting.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 22 May 2026 05:19:55 -0000 (UTC)
Injection-Info: csiph.com; posting-host="172.83.103.228";
	logging-data="67687"; mail-complaints-to="admin@kev009.com"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:KKGEpTgzDR+EdKaNAXcLL5ow1Fc= sha256:QNr5bCK+UE+XxvmldhSB3b9gbuQoBpikC9E+XAcu+HM=
	sha1:c/9ZF19wECx6GJgj3fTXcrlAmE8= sha256:akY6pwyKuHR4kHLTmpGw+O4j6q7ye34nvPEGkFO2J7k=
Content-Language: en-US
In-Reply-To: <10uoia8$vdt$1@nnrp.usenet.blueworldhosting.com>