🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #88424

Re: Syncing article status across computers

#88424
From: Eli the Bearded
Date: Wed, 03 Jun 2020 18:42
82 lines
4669 bytes
In news.software.readers, Mike Yetto  <unet.lighthouse@xoxy.net> wrote:
> This might turnout to be several thousand more text files that
> are of little use if not updated with each visit the user(s)
> make. I suppose converting/updating each of these text files
> after a group is renumbered or purged of old articles should also
> be considered trivial.

If your newsserver renumbers articles, your newsrc clients are fucked.
Game over, man. Game over.

If your group expires articles, your newsrc clients know how to deal
with that already (unless they are buggy as shit, which I wouldn't
even consider except that I know people have started to write new
newsreaders in this day and age).

Let's work through an example.

$ grep news.software.readers ~/.newsrc
news.software.readers: 1-311142
$

That's all that I've "read" in news.software.readers.

:r! nntplist -x news.software.readers
news.software.readers 0000311143 0000310958 y

That's all that exists in news.software.readers on my NNTP server. Or
to be more precise, those 185 article numbers are the only ones I
can *possibly* get from the NNTP server. There may be holes in there
from cancels or supersedes.

If I subscribed to news.software.readers today, but didn't read
anything, I'd see

	news.software.readers: 1-310957

in my newsrc afterwards, even though I had never "read" them. If I
went away for a year, and came back, my local NNTP server would have
expired everything currently in news.software.readers. It's not a
fixed time retention, it's space based, but it works out to about two
months (310958 is from 4 April 2020). So after twelve months I could
expect the "low water" mark in news.software.readers to be about
(6x185=1110) higher, 312068, and the "high water" mark to now be about
312253:

	news.software.readers 0000312253 0000312068 y

My newsreader, and every newsreader installed on this shared system,
would know the proper thing to do upon entering a group with this newsrc
line:
	news.software.readers: 1-310957
and this active file line:
	news.software.readers 0000312253 0000312068 y

and that proper thing is to mark 310958 to 312067 as read:

	news.software.readers: 1-312067

and then show me the headers from articles 312068 to 312253.

There is no need for a newsrc hosting service to ever need to update
a hosted newsrc due to expired posts. And guess what, it even works for
newsgroups that have been removed! There's no need for the hosting
server to ever need to update a hosted newsrc due to deleted groups.
There's no need for the hosting server to ever edit a newsrc on it's
own.  That's for the client to do when the client next enters the group.

> Mike "it certainly wouldn't be a burden with a free service" Yetto

That's not a technical problem. That's a business problem. I don't know
the sizes of the customer bases of free usenet services. I don't know
about the sizes of customer newsrc files. My own newsrc is about 9k,
about twice as large as this post. If customers have newsrcs about the
same size, and customers exceed a small percentage of average daily
new posts, then, yes, we can expect there to be a business impact from
this extra storage required. You are more than welcome to provide more
specific numbers if you like, but I still contend: the hard part is
updating clients, not the server.

Elijah
------
does not use a free service for Usenet
Technical Details
Message-ID: <eli$2006031430@qaz.wtf>
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: <ra36bl$n67$1@dont-email.me> <slrn20200602133602.874.twooffive@may.eternal-september.org> <eli$2006021529@qaz.wtf> <slrn20200603133700.947.twooffive@may.eternal-september.org>

Show Full Headers
Complete Article Headers
Message-ID: <eli$2006031430@qaz.wtf>
Subject: Re: Syncing article status across computers
Date: Wed, 03 Jun 2020 18:42:49 +0000
From: Eli the Bearded <*@eli.users.panix.com>
References: <ra36bl$n67$1@dont-email.me> <slrn20200602133602.874.twooffive@may.eternal-september.org> <eli$2006021529@qaz.wtf> <slrn20200603133700.947.twooffive@may.eternal-september.org>
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
X-Liz: It's actually happened, the entire Internet is a massive game of Redcode
Nntp-Posting-Host: panix5.panix.com
X-Complaints-To: abuse@panix.com
Lines: 82
Organization: Some absurd concept
Newsgroups: news.software.readers,news.software.nntp
X-Motto: "Erosion of rights never seems to reverse itself." -- kenny@panix
Encrypted: double rot-13
User-Agent: Vectrex rn 2.1 (beta)
X-Trace: reader1.panix.com 1591209769 19735 166.84.1.5 (3 Jun 2020 18:42:49 GMT)
Nntp-Posting-Date: Wed, 3 Jun 2020 18:42:49 +0000 (UTC)
X-Us-Congress: Moronic Fucks.
X-Attribution: EtB
Xfrom: is a real address