🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #88957

Re: INN DB over IPFS

#88957
From: Grant Taylor
Date: Fri, 07 Jan 2022 17:22
77 lines
4332 bytes
On 1/7/22 7:49 AM, Jason Evans wrote:
> Right now with INN, one of the storage options is to save articles 
> directly in /var/spool/news/articles.

It looks like you're talking about what I know as Trad(itional) Spool.

My understanding is that the file names in newsgroup directories in 
TradSpool are inherently news server specific.

> What if, in addition to saving articles there, the articles were also 
> saved in IPFS so they could be retrieved by anyone who wanted a copy.

I suspect that you are going to end up with a metadata problem.

My concern is that the files aren't enumerated to glean their 
(meta)data.  Instead they tend to be read from an index of some sort. 
That separation means that there is an association between the to.  So 
simply adding new files to the newsgroup directory likely won't /just/ 
work.  What's more is the (meta)data index tends to be kept loaded into 
memory (even if it's a file on disk) for performance optimization 
reasons.  So you end up with inconsistency issues.

Let's not talk about multiple people having write access.

Aside:  I suspect you could do something similar with read-only NFS (et 
al.) as you could with IPFS.  (Above problems notwithstanding.)

> There would be two problems with this:
> 
> 1. How to get your files into IPFS. I think this could be pretty 
> simple actually. You could either brute force it with a cronjob that 
> just uploads a diff of articles every X minutes or an addon could be 
> written for INN that just does it automatically.

Configure a newsfeed to feed articles to IPFS.  That would be the INN 
method.  --  I see no /need/ to side step / hack around INN in this context.

> 2. How to retrieve articles from IPFS. The easy way to do this is by 
> using an IPFS gateway and a browser. A dedicated retrieval app would 
> be better, but it would need to be written.

This -- what I'll call -- complexity seems to be a negative to using IPFS.

There is also the fact that this IPFS configuration is inherently 
dependent on the source news server.  As such, it is heavily SPOFed 
thereon.  Compare this to traditional news servers with NNTP(S) 
connections to multiple peers.

> I think the greatest strength of this technology would be for keeping 
> a record of the Usenet in perpetuity.

Given the amount of ... let's say /questionable/ content that I see ... 
I'm not confident that this is a good idea.

> Google isn't doing a good job anymore.  They censor message headers 
> and you also can't download articles anymore outside of copy/paste 
> from your browser. Independent archivists are the key.

Google wasn't, isn't, and won't be an archive, ever, period, end of 
story.  Google is a search engine and an advertising company.

IMHO complaining about Google not being a good archive is about like 
complaining that a sive doesn't hold water.  It's not supposed to hold 
water.

> This is as far as I've gotten in thinking about this. For those who 
> don't know what the heck I'm talking about, here is some more info.

I think the very high level concept has some merit.  But I think the 
idea (brute force copying articles form TradSpool) and the method (IPFS) 
have some limitations.



-- 
Grant. . . .
unix || die
Technical Details
Message-ID: <sr9ssb$iaq$1@tncsrv09.home.tnetconsulting.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <sr9jts$gpn$1@theuse.news.theuse.net>

Show Full Headers
Complete Article Headers
Message-ID: <sr9ssb$iaq$1@tncsrv09.home.tnetconsulting.net>
Subject: Re: INN DB over IPFS
Date: Fri, 7 Jan 2022 10:22:18 -0700
From: Grant Taylor <gtaylor@tnetconsulting.net>
References: <sr9jts$gpn$1@theuse.news.theuse.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.nntp
Organization: TNet Consulting
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 7 Jan 2022 17:22:19 -0000 (UTC)
Injection-Info: tncsrv09.home.tnetconsulting.net; posting-host="alpha.home.tnetconsulting.net:198.18.18.251"; logging-data="18778"; mail-complaints-to="newsmaster@tnetconsulting.net"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0
In-Reply-To: <sr9jts$gpn$1@theuse.news.theuse.net>
Content-Language: en-US
Lines: 76