🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.admin.peering
Article #4033

Re: another peeve with newsmaster who dont do common sense

#4033
From: Kevin Bowling
Date: Sun, 02 Aug 2026 05:11
41 lines
3636 bytes
On 8/1/26 21:41, Marco Moock wrote:
> Am 02.08.26 um 03:19 schrieb Kevin Bowling:
>>
>> The Internet Protocols are the same, only the L7 differs.  Inbound 
>> NNTP is basically the worst possible place to use a load balancer, you 
>> just have the feeders peer with each other and outward and everything 
>> flood fills without any additional complexity.  Reader servers might 
>> benefit from a sticky session LB, and a _proxy_ (not LB) would be less 
>> ridiculous for inbound if it was providing routing or message oracle 
>> for some distributed backend.
> 
> Is a reader server for text-only groups in need of a load balancer or 
> can current hardware handle all the sessions?
> 

For the most part a single system can handle it if designed for.  It 
might be a little tight for a place like Eternal September that might 
see 10k idle connections.

The current issue with inn specifically is that it forks a new nnrpd 
process for every reader connection.  That means each connection costs 
many megabytes of RAM, when the actual weight of a connection could be 
kilobytes.  The way to solve this is to make the connections cheap, with 
an event loop, and have nnrpd service many connections as they notify 
(via the kernel) of read/write readiness.  But there is a lot of work to 
get there, and you still want some fan out to processes (or threads) to 
continue taking advantage of multiple CPU cores.

In the mean time something like 
https://github.com/mjc/nntp-proxy/tree/main would be helpful to an inn 
reader deployment where idle connections sit on a cheap event loop, and 
are multiplexed back to the expensive nnrpd processes.  Note that I 
haven't looked deeply at that code so I don't know how complete or 
effective it is.  To highlight the complexity, csiph grew a fairly 
sophisticated connection pooler for similar reasons (the complexity is 
to deal with things like a WWW request aborting.. I want the NNTP conn 
to stay alive and be in a known good state so it finishes the NNTP 
transaction anyway which is cheaper than tearing down and setting up a 
new conn).

Technical Details
Message-ID: <114mjig$21co$1@csiph.com>
Path: mbox-mo1.pugleaf.net!archive.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: <6a6d363c$1@news.ausics.net> <20260801031358.723j6o2a0O76@sewer.dizum.com> <114js2t$3a7mg$2@dont-email.me> <87se4y72p2.fsf@raybanana.net> <114k9l1$kg0$1@csiph.com> <6a6dd0b0$1@news.ausics.net> <114kmi5$sud$1@csiph.com> <6a6dfa86$1@news.ausics.net> <114lv9t$1k3v$1@csiph.com> <114m48k$3lksb$1@paganini.bofh.team> <114m5uk$1nvp$1@csiph.com> <114mhpp$6nhn$2@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.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.admin.peering
Subject: Re: another peeve with newsmaster who dont do common sense
Date: Sat, 1 Aug 2026 22:11:43 -0700
Organization: csiph.com Internet News Service
Message-ID: <114mjig$21co$1@csiph.com>
References: <6a6d363c$1@news.ausics.net>
 <20260801031358.723j6o2a0O76@sewer.dizum.com> <114js2t$3a7mg$2@dont-email.me>
 <87se4y72p2.fsf@raybanana.net> <114k9l1$kg0$1@csiph.com>
 <6a6dd0b0$1@news.ausics.net> <114kmi5$sud$1@csiph.com>
 <6a6dfa86$1@news.ausics.net> <114lv9t$1k3v$1@csiph.com>
 <114m48k$3lksb$1@paganini.bofh.team> <114m5uk$1nvp$1@csiph.com>
 <114mhpp$6nhn$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 2 Aug 2026 05:11:44 -0000 (UTC)
Injection-Info: csiph.com; posting-host="172.83.103.228";
	logging-data="66968"; mail-complaints-to="admin@kev009.com"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:33/9ZDBdwR7faxD4E2ues2ccl+g= sha256:/pYfwuTy24RJPBSG8tAHbqjFfrCQlZyMNJ8Yj0bIdIA=
	sha1:B4daIS2n2bqiFOng/utgX+dhTfo= sha256:wWab9Z0XzJSIsUA2TQzfHd9U3xO75n2+grbik48N/dk=
Content-Language: en-US
In-Reply-To: <114mhpp$6nhn$2@dont-email.me>