🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #7142

Path header entries and distributed news servers

#7142
From: Joe St Sauver
Date: Thu, 02 May 1996 00:00
58 lines
3517 bytes
Having tried the monolithic approach to handling a bunch of newsfeeds, and
having "hit the wall" associated with the main INN connection processing loop
on a single large news server, we've now moving to a more distributed approach
(running multiple smaller news servers and splitting up the feed load across
them). 

That distributed approach appears to be more scalable and flexible, but it
is introducing some new complications. For example, consider the issue of
path headers, preventing article looping from remote sites, and correctly 
aggregating news flows across all these distributed boxes for accounting
purposes.

If we just insert the normal FQDN of the host into the path, each and every one
of our downstream feeds needs to update their newsfeeds file entries to 
include all the FQDNs of all our feed hosts (or we need to accept that we may 
be getting articles returned to us from one feed that we've just send out from 
another feed, even though all the various feed boxes talk to each other 
locally). From having talked to some ISPs who are trying this approach, it
is incontrovertible that some/many feedees are somewhat slack about
aliasing out the additional FQDNs for the multiple feed boxes.

If we "cheat" and attempt to insert a "meta host" before each FQDN (doing
something like news.uoregon.edu!uoregon for pathhost in inn.conf, say), that 
could result in "path perversion" occuring when articles transferred locally 
from one machine to another local machine EACH insert <their FQDN>!uoregon 
into the path (thereby potentially generating something ugly like:

    foo.uoregon.edu!uoregon!bar.uoregon.edu!uoregon!news.uoregon.edu!uoregon )

So how are those of you who are running multiple newsfeed boxes dealing with
this issue? Has anyone hacked inn1.4unoff4 to handle a "metadomain" or 
"feed cluster" topology? Conceptually, what I'd like to be able to do is to 
have lines in inn.conf like:

   pathhost: news.uoregon.edu
   metadomain: uoregon

1) INN, upon seeing an inbound article, would check to see if the pathhost 
is in the path, just as it currently does. If it is present, the article would
be declined. If the pathost is not in the path, the article would continue 
being processed. 

2) INN would then check to see if the metadomain is present in the path. If the
metadomain is NOT present, then INN would insert <pathhost>!<metadomain> at 
the head of the path, then continue processing the article. If the metadomain
IS present, INN would insert only <pathost> at the head of the path, just as 
it currently does.

This scheme, if implemented, would allow sites being fed from a cluster of
news machines to simply alias out one metadomain, rather than having to 
perpetually tweak a long string of changing aliases... You could also watch
feed statistic summaries (such as those in fr.usenet.stats) for both 
aggregate flow through a meta cluster and individual machine contributions.

Joe

Technical Details
Message-ID: <4mavci$sdv@pith.uoregon.edu>
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

Show Full Headers
Complete Article Headers
Message-ID: <4mavci$sdv@pith.uoregon.edu>
Subject: Path header entries and distributed news servers
Date: Thu, 02 May 1996 00:00:00 +0000
From: joe@decoy.uoregon.edu (Joe St Sauver)
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: 152636390
Organization: University of Oregon, Eugene
Newsgroups: news.software.nntp