🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #29625

Re: DNews

#29625
From: Matt Dillon
Date: Wed, 08 Jul 1998 00:00
82 lines
4849 bytes
:In article <87ww9oe8xo.fsf@ibm.net>, Timothy J. Miller <tmill06@ibm.net> wrote:
:>dw@nowhere.dk (Allan Joergensen) writes:
:>
:>> We have X Dnews boxes (where X is an increasing number), that is feed
:>> by a Diablo backbone feeder wich is feed by a Cyclone server.
:>
:>> So what I want to do is: Syncing the Dnews boxes with each other (thru
:>> the Diablo server?)
:>
:>	This can also be done by XREPLIC, but bear in mind that this will
:>only be semi-stable.  This is because expire times (and expiry itself) on
:>DNews is sensitive to server load and cached groups.  Over time, the
:>contents of the spools *will* diverge, both in terms of recent arrivals
:>and retained posts.  We see this daily with our DNews reader boxes; the
:>most heavily loaded usually takes far longer to expire, leading to large
:>backlogs that can take many hours to clear.
:>
:>	This is definitely Not What You Want.  The users *will*
:>complain.
:>
:>-- 
:>Cerebus <tmill06@ibm.net>
:>"No one's jumped off the top of the [Windows] building here, so I guess
:> that's a pretty good indicator that it can't be all that bad."
:>		-- Rob Bennett, Microsoft group product manager.

    I'm not totally familiar with DNews, but in order to keep multiple readers
    synchronized in general, the readers must support slaved Xref: headers.
    What you then do is have some master supply the Xref: headers and all
    the slaves set their absolute article numbers based on the Xref: header
    received along with the article.  The slave news reader machines also
    have to send POST's *back* to the master without posting the article
    locally in order to allow the master to assign the article number.

    Now, what should the 'master' be?  Good question!  INN will certainly
    work.  The Diablo feeder can master Xref: headers as long as you use 
    dsyncgroups to keep it's dactive.kp file synchronized in regards to
    group creation and deletion to some other box (the diablo does not
    process control messages, only the diablo reader does that).

    Another solution is the combination of the diablo feeder & reader (both
    running on the same box), where you setup the feeder to do the article 
    Xref: mastering and the reader to handle control messages and keep
    the dactive.kp file up to date (the reader operating in a slave mode
    so it doesn't compete with the master in regards to assigning article
    numbers).  I do not consider this combination 'production' yet, oweing
    to the fact that the reader is not yet production quality.  It's very
    close, but not 100% there.

    --

    I would like more people to start playing with diablo's reader code.  I
    need more feedback :-)  If you don't trust it you can *still* run it by
    slaving it off an INN box or something, using dsyncgroups to keep it's
    local version of the active file in sync with INN's in regards to 
    group creation and deletion.  dreaderd has no problem using INN (or
    any other box that supports 'article <message-id>') as a spool cache
    so the resources required on the reader machine would be minimal.  If you
    are using INN as the spool backing store, though, you have to configure
    it so the nnrpd's don't slow down under heavy activity and to never cache
    a copy of the history file's hash table since dreaderd always accesses
    remote spool's by message-id, not by group/articleno.

    The latest test release, diablo-1.16-test7 is now available on my site:

	http://www.backplane.com/diablo/

    The test8 release, which will be ready in a day or two, will fix another
    big bug in the reader associated with how it deals with the situation
    where the 'last' backing spool connection dies, leaving dreaderd with
    no spool to fetch articles from.  At the moment it returns 
    article-not-available which can blow up a reader, causing it to 'catch up'
    the group.

						-Matt

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

Technical Details
Message-ID: <6o0k0b$lq$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: <slrn6q6g30.85a.dw@burn.snip.dk> <35a95474.490462708@nntp.mid-ga.com> <slrn6q6odp.8mi.dw@burn.snip.dk> <87ww9oe8xo.fsf@ibm.net>

Show Full Headers
Complete Article Headers
Message-ID: <6o0k0b$lq$1@flea.best.net>
Subject: Re: DNews
Date: Wed, 08 Jul 1998 00:00:00 +0000
From: dillon@best.net (Matt Dillon)
References: <slrn6q6g30.85a.dw@burn.snip.dk> <35a95474.490462708@nntp.mid-ga.com> <slrn6q6odp.8mi.dw@burn.snip.dk> <87ww9oe8xo.fsf@ibm.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
X-Deja-AN: 369646442
X-Trace: 899928909 222 dillon 206.184.139.131
Organization: Best Internet Communications, Inc.
Newsgroups: news.software.nntp