🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #8776

Re: Alternate host for nntpsend/innxmit?

#8776
From: kremžská HOŘČICE
Date: Tue, 25 Jun 1996 00:00
94 lines
4568 bytes
To followup my own post (shoot me now), as if anyone cares...

On Fri, 21 Jun 1996, krem=BEsk=E1 HO=D8=C8ICE wrote:

>  Is it possible to specify a second host
> somehow to which innxmit will attempt to connect and dump news in the
> event that the preferred destination host happens to be unreachable?

    The cheap hack I have incorporated to accomplish this is as follows:

* I run nntpsend out of cron every ten minutes.  There are a number of
sites I feed with this and with my parallel feeds, it takes more than
a minute to start everything, staggering things out every five seconds
by nntpsend default.

* It happens that on our SGI, the failed connections (this time due
to connectivity problems) time out after exactly 75 seconds.

* Two minutes after starting the 6-times-hourly nntpsend, I start a
3-times-per hour nntpsend of the same batch files with the second
backup host as the recipient.

* I've timed it.  The first feed to this site at x3:42 times out at
x4:57, and then I try it again at x5:01.  Perfect.  This was my big
fear, that I would be trying the batch while it was still locked.

* Best of all, even when the primary server is reachable, is up,
but is not running innd, like right now, the news keeps moving along.


    The possible drawbacks to this are that a batch has a chance of
getting sent to the backup even when the primary host is reachable,
three times per hour, when one of the following conditions occur:

* If the batch sent 80 seconds earlier gets sent within that time
(normally not likely), and new articles for that feed have arrived
in those 80 seconds, those two or three articles will get to the
backup host.

* If one of the batches takes more than a multiple of 10 minutes,
but less than 11 minutes 20 seconds to send, the next batch could
get flushed at the second try.

    In practice, this does not happen often, so only about 1 of
every 100 to 1000 articles escapes, but that is not very many,
and is quite acceptable for me (out of 50 000 articles per day,
less than 100 get to the wrong destination), since those get passed
along quickly to the other host.



> However, I would rather keep the news flowing, past this server
> and to another site further downstream

    The topology behind my request is this:


    ME------------------Primary server--------------Backup
       slower, congested   /   |   \     faster line
             line         /    |    \
                    several downstream sites

=2E..so I would not want two feeds over the congested line.  (I'm
already taxing the capabilities of the line, which is why I've
had to resort to the split feeds to keep things from backlogging
eternally.)  There are no alternate paths to either the primary
server or the backup, nor is there a second news server at the same
PoP where the primary server can be found.

    The thing to be decided now is whether the backup server will
just store the news for the unreachable primary server, or if it
will take an active role and not only store that news, but try
feeding the other downstream sites up that faster, but still
expensive, line providing its connectivity.  It would probably
only relay those groups that are considered most important these
three times, and allow the primary server to relay the others
when it's available again.

    The big question is how much delay is permissible in the news.
My goal is ten minutes to every final recipient.  The backbone seems
to be conspiring against me to prevent this.  Grrr.


> I would imagine that such a hack could even be practical for other sites
> with feeds over expensive links to destinations where two servers await.
>=20
>=20
> Cheap-Hacks'R'Us News Administraitor
> Barry Bouwsma
> <barryb@tuke.sk>


Technical Details
Message-ID: <Pine.SGI.3.94.960625131243.11996C-100000@cimrman.radio.cz>
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!not-for-mail
References: <Pine.SGI.3.93.2.960621205420.5970G-100000@cimrman.radio.cz>

Show Full Headers
Complete Article Headers
Message-ID: <Pine.SGI.3.94.960625131243.11996C-100000@cimrman.radio.cz>
Subject: Re: Alternate host for nntpsend/innxmit?
Date: Tue, 25 Jun 1996 00:00:00 +0000
From: kremžská HOŘČICE <core@Radio.CZ>
References: <Pine.SGI.3.93.2.960621205420.5970G-100000@cimrman.radio.cz>
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!not-for-mail
X-Deja-AN: 162061026
Content-type: TEXT/PLAIN; charset=ISO-8859-2
Organization: Radio Praha -- Cesky Rozhlas 7
Mime-version: 1.0
Reply-to: Barry.Bouwsma@tuke.sk
Newsgroups: news.software.nntp