🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #92579

Re: Meta: a usenet server just for sci.math (AATU)

#92579
From: Ross Finlayson
Date: Tue, 02 Dec 2025 21:15
174 lines
9324 bytes
On 12/01/2025 03:20 PM, Ross Finlayson wrote:
> On 12/01/2025 02:49 PM, Nomen Nescio wrote:
>> Is this how vibe-coding works? Did any of the bots produce running code?
>>
>
> Mostly I figured to gather some impressions of the requirements,
> figuring that the idea is to design a system mostly about the
> Digital Preservation and archival for a filesystem convention BFF,
> then just to have that as some context.
>
> Mostly I've been writing the code myself, yet since I'm rather
> old-fashioned I think that the requirements and design overall
> come first before coding things up.
>
> Here what I wonder about is how to make it so that the archival
> storage or the BFF/LFF ideas vis-a-vis mbox/maildir or database
> storage, seem reasonable and why it's reasonable, since then the
> idea would be to make it so that there's a filesystem of all
> the messages, for serving URL's like news:<message-id>, then
> with regards to threaded newsreaders and so on, that speak NNTP
> or IMAP/SMTP or about HTTP.
>
> I know that filesystems and databases have different access-patternry,
> here though it's figured that filesystems are most fungible and
> that modern filesystems support having so many files.
>
> Thanks for your comment, what I figure is to plan a suitable
> and comprehensive interface for the files themselves, for
> an archival project for Digital Preservation, then the other
> considerations are about usual runtimes and distributed systems.
>
> It's figured that it's been around a long time and
> will be around a long time, then to make for replication
> of an "Archive All Text Usenet" the however many gigabytes.
> Binaries is considered out-of-scope, though it's the same idea.
>
>
>

[2025/12/02]

Well, I started reading this again, from the top as it were,
then as about the runtime environment it seems that
a "portable cloud" configuration is what to figure out.

This basically involves "compute" and "storage", about
compute it seems the simplest to run it on Kubernetes,
a Docker image as that would be, then for storage to
provision an NFS store /aatu, with basically a stock or chainguard
Linux image with Java, then deployment of the Java jar
artifacts by copying the jar to a /aatu/bin folder, then
having the Docker image run command being"java -jar /aatu/bin/aatu.jar".

This way it's not necessary to actually build a Docker image,
since the stock or chainguard Docker image with Java,
has that that's about it.

Then, about whether to have sshd also running, it seems
that sshd and then also whether Java management or
a debug port, then gets into probably a separate pod or
container for that, then just making ssh tunnels or options
of the run command to configure the management ports,
a usual enough "bastion" sort of idea, with the idea of not
leaving the sshd and management ports usually open,
instead setting those up and tearing them down on demand.

About sizing, it seems these days it's simplest just to get
a "a Tebibyte of NFS", a terabyte, of disk storage, then about
the Linux base image whether it supports file cache-ing, the
idea being there's only one store and preferably about zero
total configuration or CI involved of the base image or Docker
image, that "compute" and "store" starts with "store" then
adds "compute".

Then, "networking" is the other thing to figure it, it seems
the best idea is "BYOIP", "bring-your-own-IP", idea being
to get a 3X-small block of IPv6 addresses from ARIN, that
currently running about $250 a year, then though having
hundreds of IP addresses (IPv6), there is a concern about getting
some IPv4 addresses, about interoperability of peers.
According to INND inn.conf there's bindaddress6, so,
then the various cloud providers make for BYOIP, then
that DNS pointing to those could all be from a central
location.  Then actually getting the Kubernetes ingress
and egress as out through those IP addresses as for the
default network adapter "0.0.0.0", seems the thing.
It's not actually sharing these IP addresses with anybody
else, so the ARIN registration's a bit simplified.

About configuration and environment variables and
on Kubernetes the configMaps and secrets, seems for
making that the runtime runs according to environment
variables, vis-a-vis config files, then the idea for logging
mostly seems to be to log to stdout, these are usual notions
of a "12-factor app", that also make it simple to run anywhere
where there's a network, a Java runtime, and an /aatu-storage
mount, according to the runAs user, here usually enough "1000",
or, "the non-root user", though, for POSIX permissions the NFS,
then about the various ideas in the "write-once-read-many,
with some growing files".  Then it's figured that "kubectl exec"
instead of "sshd" would be the way of things, about running
on portable clouds, then a usual idea to make an sshd central
control tower that gets the login credentials for each the
clouds, or one of those on each of the clouds and then
connecting to those from one of those, and tools for kubectl
and so on, then about everything else being according
to /aatu contents.

About the configuration of groups, it's figured just to
have it so that any /groups directory existing means to
infeed and outfeed it.  Then, cleanfeed and control need
to be observed, that it's figured there would need be some
reference implementation portably of cleanfeed, though
to begin it's an archival project and the local site rules are
simply to archive anything.

So:
networking: BYOIP static IPv6, one DNS of that all
compute:  Kubernetes Linux Java vanilla chainguard
storage:  1 TiB NFS (v3 or v4, ....), backups

Then, it looks like all the most major cloud providers
have these, then besides, it's also the same sort of
thing to just run it on a host.  Then, using NFS instead
of simple storage is usually un-metered, while compute
has that it's only a very small instance to support a low
amount of traffic, that "RAM" and "egress" are the usual
cost-drivers.


So, "cloud-ready" and "cloud-portable" if not exactly
"cloud-native", then about the horizontal scaling and
distributed consistency as a forethought, then I'm left
to write about NFS and read/write, and about whether
the semantics of NFS atomicity suffice for what results
putting that behind a load-balancer and scaling it.
The load-balancers are mostly oriented to "HTTP Layer 7",
so, instead here it's static IP then about a more sort of
usual round-robin "not HTTP" protocol, then about
why the CONNGATE gets involved in the implementation,
or about "NOOBNB", about simple Internet services on
the Internet.


About the horizonally scale-able bit and the vending
the serial numbers or sequence numbers, really that's
about a critical section and the least amount, a usual
relational database with serializable transaction has
a usual notion of "sequence" objects, that it does seem
that the missing piece is a "sequence-issuer".  Then,
that does involve at least one bottleneck, exactly that.
(And only that.)  NFS all tuned up might actually suffice,
as above, yet, basically that's just a "sequence-issuer",
or what makes for "optimistic locking".

Then whether the Linux runtime does the file-cacheing
about otherwise running very lean in RAM, that being
metered and all, it either does or doesn't.



Of course, that "AATU" for "Archive All Text Usenet"
neatly aligns with "NNTP", for "AATU NNTP", of course
also it's for a revered sci.logic poster.

"Behind the noodles, ...."







Technical Details
Message-ID: <gYWcnUgUG7thy7L0nZ2dnZfqnPqdnZ2d@giganews.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!border-3.nntp.ord.giganews.com!nntp.giganews.com!local-1.nntp.ord.giganews.com!Xl.tags.giganews.com!local-3.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail
References: <aqydnUPB_7ODYbD0nZ2dnZfqnPFi4p2d@giganews.com> <20251201224913.AV0MqdnnoC2z@sewer.dizum.com> <rMidnQv2kaM2v7P0nZ2dnZfqn_udnZ2d@giganews.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!border-3.nntp.ord.giganews.com!nntp.giganews.com!local-1.nntp.ord.giganews.com!Xl.tags.giganews.com!local-3.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Tue, 02 Dec 2025 21:15:40 +0000
Subject: Re: Meta: a usenet server just for sci.math (AATU)
Newsgroups: sci.math,news.software.nntp
References: <aqydnUPB_7ODYbD0nZ2dnZfqnPFi4p2d@giganews.com>
 <20251201224913.AV0MqdnnoC2z@sewer.dizum.com>
 <rMidnQv2kaM2v7P0nZ2dnZfqn_udnZ2d@giganews.com>
From: Ross Finlayson <ross.a.finlayson@gmail.com>
Date: Tue, 2 Dec 2025 13:15:27 -0800
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <rMidnQv2kaM2v7P0nZ2dnZfqn_udnZ2d@giganews.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <gYWcnUgUG7thy7L0nZ2dnZfqnPqdnZ2d@giganews.com>
Lines: 174
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-ZNdaGtGWmmnh4L8i7czcE/3rHYgkOD+5Hgc1SBToNyOid7SHSSQx738IjcWIUw5xKkJ8mq1opDPpLyu!E4QM9lwJhvk6uD7YgPMiDCGRTdue48CXI+N6IuC1+abQ25EvWt1SANhjP9ZL2TfLidpYm+/pFOVv
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40