🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #9225

Re: DNS Round-robin news servers

#9225
From: Mark Turner
Date: Thu, 11 Jul 1996 00:00
40 lines
2678 bytes
In article <4s2ffc$fsp@news.xs4all.nl>, Cor Bosman <cor@xs4all.nl> wrote:
> 
> Syncing article numbers is easy. You can use xreplic (although in unoff4
> innxmit is giving me a Memory Fault if the batchfile is bigger than 300
> articles). Ive been wondering if it makes a difference if the servers
> are not exactly up to date. If a client connects, the client checks his
> .newsrc and will ask for the latest article number. If it asks that on
> a server that's behind, it will just not get that many articles.
> But the client wont miss anything because in the next run he'll get them.
> As long as the article numbers are synced with xreplic.

In practice it isn't quite that simple.  Consider the following....

Machine A is the master, with machines B and C the slave.  Any article
that arrives will arrive on machine A first, then B and C at some
variable amount of time later.  A newsreader connects to A then does a
"group uk.test" and finds that the highest article number is 42 and
stores away that fact.  The user clicks the wrong button, Windows dies,
or whatever and the user tries to access the same group via a new
connection a smallish number of seconds later.  The host that the
newsreader looks up might have 3 A records pointing to A, B and C.  If
the reader now connects to A then there should be no problem.  If the
reader connects to B or C there is a chance, which is higher the more
lagged the slave is, that the XREPLIC feeds are not sufficiently up to
date and the highest article number in uk.test might only be 41.  Some
newsreaders loop from the previous highest article number to the current
highest article number, retrieving each article in between.  In this
situation newsreaders that do things this way will either fall over or
will consume vast amounts of bandwidth and disk space while they work
their way from 42 *up* to 41 via infinity and zero.

One newsreader that I've seen this happen with in Winvn, there are
almost certainly others.

Cheers,

Mark.

Technical Details
Message-ID: <4s3kgs$6jv@clio.kram.org>
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: <4rvsq1$glp@lantana.singnet.com.sg> <slrn4u7g44.sq3.coneill@premier1.premier.net> <4s0q2k$a59@nntp5.u.washington.edu> <4s2ffc$fsp@news.xs4all.nl>

Show Full Headers
Complete Article Headers
Message-ID: <4s3kgs$6jv@clio.kram.org>
Subject: Re: DNS Round-robin news servers
Date: Thu, 11 Jul 1996 00:00:00 +0000
From: mark@kram.org (Mark Turner)
References: <4rvsq1$glp@lantana.singnet.com.sg> <slrn4u7g44.sq3.coneill@premier1.premier.net> <4s0q2k$a59@nntp5.u.washington.edu> <4s2ffc$fsp@news.xs4all.nl>
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: 167928164
Distribution: inet
Organization: Kram
Newsgroups: news.software.nntp