🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #73087

Re: Feeding up-streams and down-streams

#73087
From: Jeffrey M. Vinocur
Date: Wed, 18 Jan 2006 19:47
49 lines
3258 bytes
In article <pan.2006.01.18.15.43.55.435097@pethippo.co.uk>,
James Ray  <jamesr.nntp-200601@pethippo.co.uk> wrote:
>
>Alas we already have a production service that this setup is going to
>replace so stuff is already being fed out to us. I guess I will test as
>best as possible and then do a 'cross fingers' moment! :)

Well sure, but if you turn it on (on some other IP), you could at
least make sure it runs okay before moving it to the right IP.


>The final problem is that the group of up-streams (us1 and us2) are pooled
>together, so they share messages internally, instead of passing articles
>to both of them I want to relay to my preferred peer (us1) and then only
>use us2 if us1 doesn't respond... is there any way to do this?

Kinda...innfeed does have logic to handle a situation somewhat
like this.  See, if a hostname listed in innfeed.conf resolves to
multiple IP addresses, innfeed will try them to find one that
works.  It doesn't look to me like you can simply put a list of
hostnames in innfeed.conf to have this same effect (although I
could be wrong), but I suppose a workaround would be to setup a
DNS entry internally, or have them set up one for you, that
lists both IPs.


>I guess feeding to both at the same time isn't going to do any
>harm (right?) as they will just go "Already got that message" if
>they have managed to transfer internally faster than I can send
>to them both...

Correct.

And if this is a low-traffic hierarchy, you don't care about
bandwidth, or you think the internal peering at their end is
likely to be very fast, I'd say just to let it be, and watch the
stats if you want.

If not, a very easy workaround is to use the "delayer" script,
available in the INN source tree "contrib" directory, to make the
feed going out to us2 have a delay on it.  That will ensure that
they have more than enough time to transfer internally, but if
us1 is somehow down, you'll still be offering us2 the articles
for when it needs them.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <dqm612$qmv$1@puck.litech.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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed-east.nntpserver.com!nntpserver.com!statler.nntpserver.com!news.glorb.com!news.litech.org!not-for-mail
References: <pan.2006.01.18.11.55.51.256822@pethippo.co.uk> <pan.2006.01.18.14.23.36.75040@pethippo.co.uk> <dqlmib$guv$1@puck.litech.org> <pan.2006.01.18.15.43.55.435097@pethippo.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <dqm612$qmv$1@puck.litech.org>
Subject: Re: Feeding up-streams and down-streams
Date: Wed, 18 Jan 2006 19:47:46 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <pan.2006.01.18.11.55.51.256822@pethippo.co.uk> <pan.2006.01.18.14.23.36.75040@pethippo.co.uk> <dqlmib$guv$1@puck.litech.org> <pan.2006.01.18.15.43.55.435097@pethippo.co.uk>
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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed-east.nntpserver.com!nntpserver.com!statler.nntpserver.com!news.glorb.com!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 49
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1137613666 27359 66.218.0.75 (18 Jan 2006 19:47:46
 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Wed, 18 Jan 2006 19:47:46 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)