🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #68792

Re: New NNTP standard in Working Group Last Call

#68792
From: Curt Welch
Date: Thu, 25 Mar 2004 16:21
66 lines
4678 bytes
Francois Petillon <fantec@proxad.net> wrote:
> On Mon, 22 Mar 2004 22:45:57 +0000, Curt Welch wrote:
> > Are you saying numbering should be done on the header feed after the
> > articles are stored?
>
> I am saying if your architecture has a single point of failure, I prefer
> to have this single point of failure behind the spooler (ie once the
> article has been stored).

Ok, sure, I understand you point.

> > And if you do that, how do you return valid Xref:
> > headers when fetching headers or articles by Message-ID?
>
> You do not.

I guess it could be done now that I think about it.  You could maintain a
header database indexed by message-id as well as the full article database.
The header-only database would have valid Xref data where as the full
article database would not.  Whenever a user requested an article by
Message-ID, you could fetch both the header with the valid Xref: data from
the header only database and the full article and put the two together.  Or
instead of a full header database (which could be used for HEAD by
Message-ID as well), you could just maintain an xover database by
Message-ID, or just an xref database indexed by Message-Id.

> > Are you also saying that numbering is somehow harder before the
> > spoolers than after them?  Why is that?
>
> Because if your server fails, you need extra CPU/disks/network to
> keep/send the backlogs on your feeders and to store them on your
> spoolers.

Sure, I see your point.  But you always need excess power to deal with
volume spikes as well as down time of any of the componenets so you will
always have some ability to catch up with a backlog.  So you have to look
at the expected MTBF of your single point of failure hardware and your
expected time of repair for any failure, and trade off the cost of those
problems against the cost of not having valid Xref: headers in articles
fetched by Message-ID.  Is it worse to have the service backlogged and
maybe loose some articles one day a year, or to not be able to provide
valid Xref: data on mid article fetches every day of the year?  There is no
one right answer to that question.

The bigger problem I see with having your article numbering system deal
with a full feed is the simple problem that you you must use a single
larger system for that instead of being able to split it up across multiple
smaller and cheaper systems.

> If there is no single point of failure, then I just do not care... :-)

That is the root issue of my comment earlier in this thread about how the
article numbering which the NNTP protcol requires is a problem.  The fact
that you must number the articles sequentially as they show up creates a
single point of failure.  It's impossible to build a completely redundant
usenet server with no single point of failure because of the article
numbering requirement of the protocol.

You have to either make the single point of falure as reliable as possible
to minimize down time, or you make it redundant, and accept the fact that
articles may be lost or duplicated when there's a failure.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20040325112145.464$T5@newsreader.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!archiver1.google.com!news1.google.com!news.glorb.com!border1.nntp.ash.giganews.com!nntp.giganews.com!newshosting.com!nx01.iad01.newshosting.com!38.144.126.77.MISMATCH!feed4.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <871xo3w5c6.fsf@windlord.stanford.edu> <xn0dfommipc6fs004@news.clara.net> <87u10t4qie.fsf@windlord.stanford.edu> <xn0dfq4tk2v2hm000@news.clara.net> <pan.2004.03.17.10.27.18.676702@proxad.net> <20040320013951.871$LX@newsreader.com> <pan.2004.03.22.11.54.11.362592@proxad.net> <20040322174557.634$2g@newsreader.com> <pan.2004.03.25.15.07.50.497679@proxad.net>

Show Full Headers
Complete Article Headers
Message-ID: <20040325112145.464$T5@newsreader.com>
Subject: Re: New NNTP standard in Working Group Last Call
Date: Thu, 25 Mar 2004 16:21:45 +0000
From: curt@kcwc.com (Curt Welch)
References: <871xo3w5c6.fsf@windlord.stanford.edu> <xn0dfommipc6fs004@news.clara.net> <87u10t4qie.fsf@windlord.stanford.edu> <xn0dfq4tk2v2hm000@news.clara.net> <pan.2004.03.17.10.27.18.676702@proxad.net> <20040320013951.871$LX@newsreader.com> <pan.2004.03.22.11.54.11.362592@proxad.net> <20040322174557.634$2g@newsreader.com> <pan.2004.03.25.15.07.50.497679@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.mbox.zip!archiver1.google.com!news1.google.com!news.glorb.com!border1.nntp.ash.giganews.com!nntp.giganews.com!newshosting.com!nx01.iad01.newshosting.com!38.144.126.77.MISMATCH!feed4.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com trRLHpEM,b=@7Rv0l1r283@l2p+fs=6bLF@syeGC0WPJH1_h
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
  %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 65