🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #32087

Re: xref slaving

#32087
From: Mark Hittinger
Date: Fri, 09 Oct 1998 00:00
38 lines
2380 bytes
"Chris Sedore" <cmsedore@maxwell.syr.edu> writes:
>I'm just about to reimplement xref slaving, and I'm curious how people
>handle an out-of-order arrival scenario.  I'm assuming that you basically
>live with the fact that a reader could (although the likelyhood is hopefully
>quite small) miss an article because the a higher numbered article arrived,
>the reader did an xover, got no data for an earlier article that hadn't yet
>arrived, and marked it read.
>Does this about sum it up?

Yes, nearly all readers are making the assumption that if no data is available
then the article is "read".

I'd like to see readers mark the article as unread if there was no data 
available.  Such articles can be remembered in the newsrc as unread.  Later
when the lowmark moves above these articles they can be removed from the newsrc
data.  There are a lot of readers to fix.

This would let us thread xref slaving ARTpost() [or equivalents].

Since no readers do this, we could alternatively lie to the readers about the
highwater mark of the group if we know a gap exists.  When the gap is closed
we could move the highwater mark above it (as far as readers were concerned).

For larger slave clusters that are in a load balanced pool we'd need a way
to synchronize the "lie about highwater mark" across a series of hosts that
would potentially have different gaps at any snapshot.  Greco's actived might
be a way to generate a consistent "highwater mark lie" across a cluster of
machines.  Such an "external highwater mark" for the readers could be kept 
below the lowest gap in the cluster.  That way readers would never be able to
screw up and miss an article during these thread races.

Regards,

Mark Hittinger
ICGNetcom/DallasOps
bugs@freebsd.netcom.com

Technical Details
Message-ID: <6vldk9$1s6@dfw-ixnews7.ix.netcom.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <9079493901219524828-1@dp-news.maxwell.syr.edu>

Show Full Headers
Complete Article Headers
Message-ID: <6vldk9$1s6@dfw-ixnews7.ix.netcom.com>
Subject: Re: xref slaving
Date: Fri, 09 Oct 1998 00:00:00 +0000
From: bugs@freebsd.netcom.com (Mark Hittinger)
References: <9079493901219524828-1@dp-news.maxwell.syr.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 399398725
Organization: ICGNetcom
X-NETCOM-Date: Fri Oct 09 11:28:59 AM CDT 1998
Newsgroups: news.software.nntp