🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #79458

Re: News servers without XOVER and XHDR?

#79458
From: Curt Welch
Date: Tue, 23 Sep 2008 18:29
98 lines
6803 bytes
Francois Petillon <fanch@fanfan.staff.proxad.net> wrote:
> On Mon, 15 Sep 2008 01:35:14 +0000, Curt Welch wrote:
> > The problem with the server design is the requirement to keep multiple
> > servers in sync which is what is required for article numbers.
> > However, newsreaders still need some type of function to allow them to
> > identify new articles so the concept of date of arrival stamps per
> > server or simply maintaining an arrival sequence could work.
>
> I do not like it (and I do not like newnews too :-).
>
> Arrival stamps means the server has to find out which is next entry after
> a timestamp (which is likely to be more complex than to find an entry
> using its article-id). Arrival sequence means you manage an array/list
> (just like the one you have with article-id).
>
> And in both case you still have to keep servers in sync with the
> choosen "index".

My thinking was not to keep them in sync and allow all servers to be out of
sync and to force the newsreader to do the extra the work to deal with that
problem.  My thinking was something along the line of the newsreader being
able to assume that for the life of a single TCP connection, the order
would be maintained (you could ask twice and see the same order), but that
whe4n you make a news TCP connection, even to the same IP address, you
couldn't guarantee that the order would be the same when you check for
headers in a group.

This would allow you to use clusters of front end servers in a single farm,
but drop the normal requirement of having to keep them all in sync.  They
would each maintain their own private order for each group based on the
arrivial of the articles on that server.

This would remove the last single point of failure from the news server
design - which is the hardware responsible for assigning unique article
numbers.

But it creates a big problem for the newsreader to deal with since it would
no long be possible to guarantee that the newsreader found out about all
the articles in a group.

This is not a serious proposal.  It's just brainstorming for the fun of it.

> > But, my thought for eliminating article numbers is to also eliminate
> > the need for a news reader to have to keep track of which news server
> > it is talking to.  That is, if it used 5 different servers it could
> > use, it wouldn't have to do what newsreaders do know - which is track
> > article numbers per server.
>
> I just do not understand your point. You still have to keep an
> information (timestamp, sequence, etc.) for the next newnews/xover (you
> just can not assume all servers will receive all articles at same time,
> etc.). And using such a simple information will move part of the
> complexity to the servers (it will have to retrieve an article-id-like
> information according to your timestamp/sequence) and I _really_ prefer
> having complexity moved to client computers (plenty of memory/CPU for a
> single user) and not to servers (plenty of users for little memory/CPU).

Right, but the timestamps would be local to each front end server removing
the requirement that the front end servers be kept in sync.  In the Diablo
world, that would mean no numbering box.  You have multiple peering boxes,
feeding full articles to multiple spool boxes, and each of the spool boxes
feeding heads to each of the front end boxes with no single point of
failure.  Any of the boxes could fail, without disrupting the operation of
the server (assuming you have workable fall-over mechanisms in place so the
transit boxes would always feed articles to some spool.

But then this puts the work down on the client to make sure it has
re-scanned headers to be sure it doesn't miss anything since it no longer
has a reliable way to say "give me all new article headers after the last
time I was updated".

With this approach, there is no guarantee that the news client actually
gets all the headers.  But even without the guarantee, it might work well
enough that no one cares?

The problem is that the server you talk to today, might not have received a
given article because it showed up a day late.  But the server it connects
to the next day, received the article early (maybe it was posted from that
server).  If the client doesn't re-scan for a few days worth of old
articles, it wouldn't find out about that one article.  So each time the
news client connects and tries to get updated headers, it has to re-scan
far enough back in time to deal with the longest possible transit delays -
or else risk missing an article.

I guess if news worked this odd way, other things could also be done to
help reduce the odds of missing an article.  For example, the client could
check the xref data in the headers to see if any message-ids were listed it
didn't know about, and then attempt to get header data for those to fill in
potential gaps.

Overall, it doesn't seem all that good, but like I said, I'm just thinking
out loud and exploring ideas.

> François

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                                        http://NewsReader.Com/
Technical Details
Message-ID: <20080923142905.898$mW@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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!hq-usenetpeers.eweka.nl!81.171.88.15.MISMATCH!eweka.nl!lightspeed.eweka.nl!postnews.google.com!news1.google.com!news.glorb.com!transit3.readnews.com!news-xxxfer.readnews.com!transit4.readnews.com!news-out.readnews.com!postnews3.readnews.com!nr2.newsreader.com.POSTED!not-for-mail
References: <gabun3$g3k$1@news.trigofacile.com> <20080912010217.896$nr@newsreader.com> <gad18f$oq$1@news.trigofacile.com> <20080913140739.795$ZM@newsreader.com> <gahf11$ols$1@news.trigofacile.com> <20080914213517.786$C6@newsreader.com> <pan.2008.09.23.14.31.40.162791@fanfan.staff.proxad.net>

Show Full Headers
Complete Article Headers
Message-ID: <20080923142905.898$mW@newsreader.com>
Subject: Re: News servers without XOVER and XHDR?
Date: Tue, 23 Sep 2008 18:29:03 +0000
From: curt@kcwc.com (Curt Welch)
References: <gabun3$g3k$1@news.trigofacile.com> <20080912010217.896$nr@newsreader.com> <gad18f$oq$1@news.trigofacile.com> <20080913140739.795$ZM@newsreader.com> <gahf11$ols$1@news.trigofacile.com> <20080914213517.786$C6@newsreader.com> <pan.2008.09.23.14.31.40.162791@fanfan.staff.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!hq-usenetpeers.eweka.nl!81.171.88.15.MISMATCH!eweka.nl!lightspeed.eweka.nl!postnews.google.com!news1.google.com!news.glorb.com!transit3.readnews.com!news-xxxfer.readnews.com!transit4.readnews.com!news-out.readnews.com!postnews3.readnews.com!nr2.newsreader.com.POSTED!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-NRC-Trace: NewsReader.Com _UeDlMdLpADXDfoFFna@Zdb3mIvOrUgeA0dmZY4Bb_Q/mSt.m
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: 98
NNTP-Posting-Host: 969818ee.nr2.newsreader.com
X-Trace: DXC=<@Sko_g2bVlVdQ<gO1l>\fOA8_@f\K_ibdZW`2c`iHQf<W7>8ToDkIhiJ;
 iV2YAoGeh?X`g9ZPmCf?2Mam3Se=al
X-Complaints-To: abuse@newsreader.com