🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #88405

Re: Syncing article status across computers

#88405
From: Sqwertz
Date: Fri, 22 May 2020 17:37
58 lines
4237 bytes
On Fri, 22 May 2020 12:02:54 -0500, VanguardLH wrote:

> 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.

Most major clients don't update ant databases/.news-rc except in
response to user interaction.  Does any major client "get new
headers" on regular intervals without some major fudging?

-sw
Technical Details
Message-ID: <15a9ip2d8wo0r.dlg@sqwertz.com>
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> <1oy3kngd1b4o0$.dlg@v.nguard.lh>

Show Full Headers
Complete Article Headers
Message-ID: <15a9ip2d8wo0r.dlg@sqwertz.com>
Subject: Re: Syncing article status across computers
Date: Fri, 22 May 2020 12:37:23 -0500
From: Sqwertz <sqwertzme@gmail.invalid>
References: <ra36bl$n67$1@dont-email.me> <1slwrcyfpmcwm.dlg@v.nguard.lh> <ra8llu$oso$1@dont-email.me> <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
Newsgroups: news.software.readers,news.software.nntp
User-Agent: Mozilla 4.73 [en]C-CCK-MCD VERIZON473 (Win98; U)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Organization: Me, Myself, and Inc.
X-No-Archive: yes
Lines: 58
X-Complaints-To: abuse@blocknews.net
Nntp-Posting-Date: Fri, 22 May 2020 17:37:26 UTC