🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #263977

Re: Syncing article status across computers

#263977
From: VanguardLH
Date: Fri, 22 May 2020 17:02
50 lines
3788 bytes
Tristan Miller <psychonaut@nothingisreal.com> wrote:

> So basically this is the same suggestion that most others in this
> thread have been advocating.  I guess it's not a bad idea as long as
> you are willing to, and remember to, have only one news client
> running at a time.  Unfortunately, that makes it a bit less
> convenient than an IMAP-like solution -- with e-mail, you don't
> generally need to worry about multiple concurrent connections, since
> changes to message states get read/written to a central location in
> real-time (or as soon as a network connection becomes available)
> rather than only after you quit the program and manually sync.

"I use three different computers (a desktop machine at work, a desktop
machine at home, and a laptop when I'm travelling) for news and mail."

Why would there be "multiple concurrent connections" via NNTP?  You will
be *using* all of those computers at the same time?  Why leave an NNTP
client running on a computer when you're aren't there?  Exit the NNTP
client when you're done using it.  Then that client won't be trying to
modify its database or message store at the same time as another client
is accessing the cloud-sync'ed copy.

Even though the cloud-sync or FTP solutions sounds doable, clients that
are not programmed to dynamically update its message store during use
from other sources than that client can result in corrupted databases.
That is, every sync will take time and occur at intervals during which
the database is changing for the client that read it when the client
loaded the database.  Sliding data can screw up clients not coded for
that behavior.  NNTP wasn't designed for concurrent use by multiple
clients, and anything you try to emulate that feature could result in
nasty side effects.

I can't remember the program, but this situation came up with some
program where users wanted to store its data on a networked host.  That
is, the data is elsewhere than the host where the program runs.  Might
been MS Outlook with its PST message store.  That database could get
corrupted, especially since the program wasn't coded to remote data
access.  With a disconnect not initiated by the program, like a network
outage or a suddenly unresponsive host in the route between endpoints,
like over the Internet, the data host loses the program on another host,
and the connection times out resulting in a slam on the data files (they
are not gracefully closed).  The data can get corrupted if the
server-side host isn't designed for transaction processing.

So, even if you ensure only one NNTP client is accessing the networked
or synchronized message store at a time, the data could get corrupted
with an unexpected disconnect.  Doesn't matter it was an NNTP client,
e-mail client (e.g., MS Outlook), or whatever program, if there isn't
data integrity protection on the other end of the network connection
then corruption can result.
Technical Details
Message-ID: <1oy3kngd1b4o0$.dlg@v.nguard.lh>
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> <1slwrcyfpmcwm.dlg@v.nguard.lh> <ra8llu$oso$1@dont-email.me>

Show Full Headers
Complete Article Headers
Message-ID: <1oy3kngd1b4o0$.dlg@v.nguard.lh>
Subject: Re: Syncing article status across computers
Date: Fri, 22 May 2020 12:02:54 -0500
From: VanguardLH <V@nguard.LH>
References: <ra36bl$n67$1@dont-email.me> <1slwrcyfpmcwm.dlg@v.nguard.lh> <ra8llu$oso$1@dont-email.me>
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
Lines: 50
Organization: Usenet Elder
Content-Transfer-Encoding: 7bit
Newsgroups: news.software.readers,news.software.nntp
X-Trace: individual.net 26NUP2z5tmklwh+JlHwYJgBD8fv3bHw6xBeDopwAEu2uizvqvB
User-Agent: 40tude_Dialog/2.0.15.41
Content-Type: text/plain; charset="us-ascii"
Cancel-Lock: sha1:TbxDvkRVDw5JEDZsa08NbK7n9zA=
Keywords: VanguardLH VLH811
Mime-Version: 1.0