🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #66927

Re: New NNTP draft -- Section 6

#66927
From: Francois Petillon
Date: Wed, 22 Oct 2003 17:28
80 lines
5892 bytes
On Wed, 22 Oct 2003 10:12:35 +0100, Clive D. W. Feather wrote:
>>The reader servers carry out article expiration asynchronously so
>>subsequent connection to a different reader in the array may well yield a
>>low water mark lower than previously seen.
> If so, then it is up to those large systems to fix the problem.
> This was a topic that got debated some years ago, which is when and why 
> I wrote the present wording. Clients make a number of assumptions in 
> maintaining the .newsrc file or equivalent, and this is a common one.

This issue was not really debated (or there was another debate than the
one who took place in ietf-nntp in december 96/january 97). Your initial
wording at that time was :
---- http://www.academ.com/pipermail/ietf-nntp/1996-December/000365.html
3.2.1.  GROUP

   The successful selection response will return the article numbers of
   the first and last articles in the group, and an estimate of the
   number of articles on file in the group.  It is not necessary that
   the estimate be correct, although that is helpful; it must only be
   equal to or larger than the actual number of articles on file.  (Some
   implementations will actually count the number of articles on file.
   Others will just subtract first article number from last to get an
   estimate.)
---- which became
    The successful selection response will return the article numbers of the
    first and last articles in the group at the moment of selection, and an
    estimate of the number of articles on file in the group. The estimate
    MUST be at least the actual number of articles available. (Some
    implementations will actually count the number of articles on file.
    Others will just subtract first article number from last to get an
    estimate.)
[...]
    When a subsequent GROUP command for the same newsgroup is issued,
    either by the same client or a different client, the first and last
    article numbers MUST be no less than those in the previous response
    for that newsgroup.
---- 
the last paragraph was changed to allow high water mark to decrease
(cf http://www.academ.com/pipermail/ietf-nntp/1996-December/000387.html )
as Inn returns the last available article in a group.

As far as I understood the discussions (but english is not my native
language), the reason why the last article number should not decrease was 
related to backfilling and newsrc management :
http://www.academ.com/pipermail/ietf-nntp/1996-December/000255.html

This problem is mainly client-side related and may be easily solved
by client software (even if it is simply by forgetting these newly
"reinstated" articles), is probably already fixed by most of them (in the
case of "reinstated" articles, not in the case of newly added articles
returned by newnews) but is really painful to solve at the server level
(see below). Unfortunately, the draft was written at a time when clusters
were quite uncommon and where this kind of problem "should not happen with
Inn"... ;-)

> Cluster systems have a whole range of issues with synchronisation. This 
> is just another of them.

No, as far as I know, cluster systems do not manage much issues on
synchronisation. For diablo/dreaderd, the only issue dealed is about xref
synchronisation for front-ends. For typhoon, lo/hi marks are probably
mastered by the first defined spooler (I do not know if it had changed
but only the first server was used by a front-end, the second spooler
is used only if the first is unreachable, etc.) and there is probably no
synchronisation on lo/hi marks between spoolers (as with diablo/dreaderd,
you must have a numbering server).

I really dislike the idea of having to keep in sync servers for
"real-time" information. First, servers are already running without a
"strong synchronisation" and, in my case, I do not have users complaints
about this issue (excepted when hi water mark decreases between two
front-ends which is quite uncommon). Second, asking to sync lo water mark
will probably lead to set an async lo water mark (either servers lowest or
highest lo water mark will be use to set synced lo water mark every x
seconds/minutes/hours), which is "far from a nice solution" (c). Third, it
will complexicate the server side as you will have to deal with
crash/reboot/new installs/remove of others servers and, as a consequence,
it will weaken them.

   François
Technical Details
Message-ID: <pan.2003.10.22.17.28.47.319363@proxad.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.20140818.mbox.gz!text1.nnrp.aus1!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!news2.euro.net!nntpfeed-01.ops.asmr-01.energis-idc.net!news.completel.fr!news.agarik.com!news.agarik.com!usenet-fr.net!proxad.net!feeder2-1.proxad.net!news1-1.free.fr!not-for-mail
References: <87fzhryxdc.fsf@windlord.stanford.edu> <871xta1bbb.fsf@windlord.stanford.edu> <874qy3hnhl.fsf_-_@windlord.stanford.edu> <873cdm8q1l.fsf_-_@windlord.stanford.edu> <ivuapvgl56s0q5egfk4fufl5cvuff1qbml@4ax.com> <zYYLvCGDokl$EwrV@romana.davros.org>

Show Full Headers
Complete Article Headers
Message-ID: <pan.2003.10.22.17.28.47.319363@proxad.net>
Subject: Re: New NNTP draft -- Section 6
Date: Wed, 22 Oct 2003 19:28:49 +0200
From: Francois Petillon <fantec@proxad.net>
References: <87fzhryxdc.fsf@windlord.stanford.edu> <871xta1bbb.fsf@windlord.stanford.edu> <874qy3hnhl.fsf_-_@windlord.stanford.edu> <873cdm8q1l.fsf_-_@windlord.stanford.edu> <ivuapvgl56s0q5egfk4fufl5cvuff1qbml@4ax.com> <zYYLvCGDokl$EwrV@romana.davros.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.20140818.mbox.gz!text1.nnrp.aus1!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!news2.euro.net!nntpfeed-01.ops.asmr-01.energis-idc.net!news.completel.fr!news.agarik.com!news.agarik.com!usenet-fr.net!proxad.net!feeder2-1.proxad.net!news1-1.free.fr!not-for-mail
User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing
 moment of clarity. (Debian GNU/Linux))
Newsgroups: news.software.nntp
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Lines: 80
Organization: Guest of ProXad - France
NNTP-Posting-Date: 22 Oct 2003 19:28:49 MEST
NNTP-Posting-Host: 213.228.1.105
X-Trace: 1066843729 news1-1.free.fr 10429 213.228.1.105:42930
X-Complaints-To: abuse@proxad.net