Article View: news.software.nntp
Article #93151RFC: Open sourcing csiph-web
From: Kevin Bowling
Date: Fri, 27 Nov 2026 11:28
Date: Fri, 27 Nov 2026 11:28
47 lines
3454 bytes
3454 bytes
Hi, In the announcement of csiph.com -- <10t2kh8$1a6i$1@csiph.com> or https://csiph.com/group/news.software.nntp/t/10t2kh8%241a6i%241@csiph.com -- I mentioned eventually desiring to open sourcing this code. Before doing this, I want to gauge interest to help me decide if and how: 1) How would you envision using it 2) Do you have any desire to develop it One of the challenges was figuring out how to scale the front end, csiph-web, and the backend -- inn in my case -- to handle the sheer volume of bot traffic. I want the site to be usable on retro PCs, so there is no javascript proof of work or anything like that. Instead, there is a robots.txt and if it is ignored there is a rate limiter that sends HTTP 429 while in the penalty box. There is also a subnet penalty box for malicious bots like Meta/Facebook. There are separate limits for authed users and certain endpoints. Without consideration, if you deployed it on the open web to a random NNTP server or your own, it would likely DoS the NNTP server. The biggest expense is article threading due to large thread windows and bots not doing linear (cache friendly) sweeps. I currently solve this with a large amount of RAM set aside for caching article threading and the ability to park/wait requests to similar ranges while article threads are being built. I have some ideas on how I want to make it better but ideally I wanted to extend inn[1] and NNTP to handle thread roots. If you turn off threading (flat mode) these problems mostly disappear. All of this gives me a little pause to simply publish what I currently have, although if threading defaults to off maybe it is not a significant worry. I don't have a specific timeline for this but probably early in 2027. I spent an obscene amount of money on used DDR4 RAM so I can build a newer server to accept Jesse's full usenet archive, and I want to make sure things scale fully while generalizing any site specific code. [1] There is no particular reason it has to happen on the nntp server, but it is ideal as the server can keep the thread index up to date with every new article submission. Alternatively, a csiph-web owned thread index would solve the same problem with some minor tradeoffs like having to index everything the same way the FTS (Full Text Search) functionality does. FTS would benefit for the same reason being server side, but that would be a bigger project. Regards, Kevin
Technical Details
Message-ID:
<11ebphq$546$1@csiph.com>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!weretis.net!feeder9.news.weretis.net!csiph.com!.POSTED.172.83.102.10!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!weretis.net!feeder9.news.weretis.net!csiph.com!.POSTED.172.83.102.10!not-for-mail From: Kevin Bowling <kevin.bowling@kev009.com> Newsgroups: news.software.nntp Subject: RFC: Open sourcing csiph-web Date: Fri, 27 Nov 2026 04:28:57 -0700 Organization: csiph.com Internet News Service Message-ID: <11ebphq$546$1@csiph.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 27 Nov 2026 11:28:58 -0000 (UTC) Injection-Info: csiph.com; posting-host="172.83.102.10"; logging-data="5254"; mail-complaints-to="admin@kev009.com" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:iI3AaTuONTlkWlfpjNRPa6Ps5RU= sha256:MIz1/QF/+5OgjrZIoqT8+Jrb79uVAgSQdbjkpJXCo90= sha1:Px+Xsknnj3/UO4hUBJxNgBHcu9A= sha256:tlVhQMomlsqP3Zd/NsrHXl+9QB+ywpUIh84suL0py1E= Content-Language: en-US