🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #32078

Re: xref slaving

#32078
From: Matt Dillon
Date: Fri, 09 Oct 1998 00:00
49 lines
2977 bytes
:In article <9079493901219524828-1@dp-news.maxwell.syr.edu>,
:Chris Sedore <cmsedore@maxwell.syr.edu> wrote:
:>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?
:>
:>-Chris

    If the feed from the node mastering the article numbering to the node
    imlpementing the reader 'fans-out' the feed, this is definitely a 
    problem.  I get around it in Diablo by not fanning out the feed between
    the master and the reader... I send just one feed and so article numbering
    is maintained.

    In Diablo, if two articles arrive at the reader out of order, the reader
    will insert them into the overview out of order (but still maintain the
    correct high water mark).  A reader that reads that group at just the
    wrong time could theoretically miss an article by, as has been mentioned,
    marking it as read when it couldn't find it.

    The only way I can think of to avoid the problem is to have the reader
    side impose a 'active file update delay' in regards to updating the
    high water mark in the active file in the case where it detects that
    an article number has been potentially skipped. So, for example, if you
    receive an article that bumps the high water mark by more then one,
    the reader would then not physically commit the new high water mark to 
    the active file for another N seconds which gives a fractured feed a bit
    more time to fill in the gaps.

    But I also don't think this is a serious problem... and no problem at all
    if you can get away with sending just a single feed to the reader (which
    you can do with Diablo fairly easily).  It wouldn't be hard to implement
    the above code in Diablo, but doing so would be extremely low on my
    priority list.

						-Matt


-- 
    Matthew Dillon  Engineering, HiWay Technologies, Inc. & BEST Internet
                    Communications
    <dillon@best.net> (Please include original email in any response)

Technical Details
Message-ID: <6vluv6$blm$1@flea.best.net>
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: <6vluv6$blm$1@flea.best.net>
Subject: Re: xref slaving
Date: Fri, 09 Oct 1998 00:00:00 +0000
From: dillon@best.net (Matt Dillon)
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: 399490309
X-Trace: 907968298 4664 dillon 206.184.139.131
Organization: BEST Internet Communications, Inc. www.best.com
Newsgroups: news.software.nntp