🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by Gary Zhang Tue, 23 Oct 2001 15:01
redundant news feed - deferral/fail-over
#54767
Author: Gary Zhang
Date: Tue, 23 Oct 2001 15:01
8 lines
1139 bytes
Is it possible to have multiple(primary/secondary) feeders, where if
the primary feeder fails, you can switch to the secondary feeder to
get the articles?  I understand you can set noresendid==true in
incoming.conf, but is there a way where you can have one feeder at a
time feeding you?

Gary Zhang
Re: redundant news feed - deferral/fail-over
#54763
Author: Curt Welch
Date: Tue, 23 Oct 2001 17:52
16 lines
1870 bytes
zhang.gary@ssd.loral.com (Gary Zhang) wrote:
> Is it possible to have multiple(primary/secondary) feeders, where if
> the primary feeder fails, you can switch to the secondary feeder to
> get the articles?  I understand you can set noresendid==true in
> incoming.conf, but is there a way where you can have one feeder at a
> time feeding you?

Just make them both feed you all the time.  You will still only get one
copy of the news.  That's the normal way it's done.  If you want to get
most the news from one instead of the other for some reason (like bandwidth
issues), then add a delay to the one you want to reduce the traffic on.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: redundant news feed - deferral/fail-over
#54791
Author: Gary Zhang
Date: Wed, 24 Oct 2001 14:52
19 lines
1993 bytes
curt@kcwc.com (Curt Welch) wrote in message news:<20011023135225.942$4g@newsreader.com>...
> zhang.gary@ssd.loral.com (Gary Zhang) wrote:
> > Is it possible to have multiple(primary/secondary) feeders, where if
> > the primary feeder fails, you can switch to the secondary feeder to
> > get the articles?  I understand you can set noresendid==true in
> > incoming.conf, but is there a way where you can have one feeder at a
> > time feeding you?
> 
> Just make them both feed you all the time.  You will still only get one
> copy of the news.  That's the normal way it's done.  If you want to get
> most the news from one instead of the other for some reason (like bandwidth
> issues), then add a delay to the one you want to reduce the traffic on.


My concern is more for the second feeder.   I'm afraid they'll get a
bunch of warning/error messages because their messages arent' getting
passed through to my server.  How will that affect the relationship
between me and the second feeder?  I don't want to become a burden.
Re: redundant news feed - deferral/fail-over
#54795
Author: Jeffrey M. Vinocur
Date: Wed, 24 Oct 2001 16:47
17 lines
1613 bytes
In article <49f755c6.0110240652.5ee2e230@posting.google.com>,
Gary Zhang <zhang.gary@ssd.loral.com> wrote:
>
>My concern is more for the second feeder.   I'm afraid they'll get a
>bunch of warning/error messages because their messages arent' getting
>passed through to my server.  How will that affect the relationship
>between me and the second feeder?  I don't want to become a burden.

Multiple peers is *normal*.

I run a little tiny server and I have eleven peers.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: redundant news feed - deferral/fail-over
#54799
Author: Curt Welch
Date: Wed, 24 Oct 2001 18:13
57 lines
4269 bytes
zhang.gary@ssd.loral.com (Gary Zhang) wrote:
> curt@kcwc.com (Curt Welch) wrote in message
> news:<20011023135225.942$4g@newsreader.com>...
> > zhang.gary@ssd.loral.com (Gary Zhang) wrote:
> > > Is it possible to have multiple(primary/secondary) feeders, where if
> > > the primary feeder fails, you can switch to the secondary feeder to
> > > get the articles?  I understand you can set noresendid==true in
> > > incoming.conf, but is there a way where you can have one feeder at a
> > > time feeding you?
> >
> > Just make them both feed you all the time.  You will still only get one
> > copy of the news.  That's the normal way it's done.  If you want to get
> > most the news from one instead of the other for some reason (like
> > bandwidth issues), then add a delay to the one you want to reduce the
> > traffic on.
>
> My concern is more for the second feeder.   I'm afraid they'll get a
> bunch of warning/error messages because their messages arent' getting
> passed through to my server.  How will that affect the relationship
> between me and the second feeder?  I don't want to become a burden.

That's just normal news-feed behavior.  The protocol for feeding news
always asks the downstream server if it wants each article (by sending
the Message-ID and asking - do you have this one yet?).  The receiving
server then answers YES or NO based on whether it has received the
article yet.  It takes up some bandwidth to ask and answer those questions,
but that bandwidth is small compared to what it normally takes to send
all the articles.

Usenet is a interconnected mesh of servers - most with mulitple feeds to
other servers.  They must ask each other for permission to send the article
to prevent the article from looping, and to prevent it from being sent
multiple times.

Most news feeding software has the option to delay a feed.  I.e., the
articles are held for a few seconds or minutes before they are offered to
the downstrem site.  If you have two feeds, one which is a normal feed with
no delay, and the other which has some amount of delay, then most of the
time, when the delay feed offers your server an article, it will answer
with the "DON'T SEND IT" response because it has already recieved the
article from the main server.  But if the main feed ever goes down, the
second feed will then start sending you all the articles.

The normal configuration for a server is to have multiple incomming feeds
with no delays.  They all offer you articles, and you simply accept the
article from the first site that offeres it to you.  All the feeds act as
hot-backups in this case.  If any feed stops working, or misses an article,
you will simply get the article from one of your other feeds.

The only reason to use tricks like the delayed feed is when you want for
some reason (like bandwidth cost) to get most the news from your cheaper
feed.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads