Thread View: news.software.nntp
16 messages
16 total messages
Started by Joe St Sauver
Thu, 02 May 1996 00:00
Path header entries and distributed news servers
Author: Joe St Sauver
Date: Thu, 02 May 1996 00:00
Date: Thu, 02 May 1996 00:00
58 lines
3517 bytes
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
Re: Path header entries and distributed news servers
Author: Ade Lovett
Date: Fri, 03 May 1996 00:00
Date: Fri, 03 May 1996 00:00
34 lines
1794 bytes
1794 bytes
In article <4mavci$sdv@pith.uoregon.edu>, Joe St Sauver <joe@decoy.uoregon.edu> wrote: > > [snip] > >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? Umm.. the question really is why would you want to do this? There's nothing intrinsically wrong with having the 'ugly' Path: headers as above, and it works a treat for multiple feeder machines -- Demon and Pipex in the UK having been using just such a method for a long while now, with no problems. The only issue that I can see here is that stats-collecting programs based on Path: headers may generate somewhat biaised results, if they key on, say 'uoregon', instead of 'news.uorgeon.edu', but to me at least, that's way down on the list of "do I really care about this?" problems. -aDe -- Ade Lovett, Demon Internet Ltd.
Re: Path header entries and distributed news servers
Author: Joe Greco
Date: Fri, 03 May 1996 00:00
Date: Fri, 03 May 1996 00:00
52 lines
2242 bytes
2242 bytes
In news.software.nntp article <4mbn7m$2ch@paperboy.osf.org>, rsalz@osf.org (Rich Salz) wrote:
:Seems like an awful lot of hacks.
:
:Why do you care how "ugly" the Path header is? Nobody should be looking
:at it except innd (or relaynews) these days...
That's the same conclusion I reached, well, sorta ;-).
I would point out, however, that this "messes" with things like the Freenix
Top 1000 list (remember "pipex"), which DOES look at it.
My (perhaps silly) first impression still agrees with Joe's, it would
be nice to arrange for a cluster name capability. My (logical) conclusion
was that the "ideal" syntax used by remote sites would be:
channame/*.dom.ain\
:*..etc
This makes more "sense" to me as it fixes the problem at the source of the
problem - the site sending duplicates back into the cluster.
For a dom.ain with "multiple clusters" (dunno if this is really an issue),
one could always name the clusters like:
news1.sub.dom.ain
news2.sub.dom.ain
news1.other.dom.ain
news2.other.dom.ain
^^^^^ cluster name
which allows
chan1/*.sub.dom.ain\
:*..etc
chan2/*.other.dom.ain\
:*..etc
That was my conclusion as to the best general solution to the problem.
I do not think that INN is currently capable of this behaviour, but I never
got any further than thinking about this.
As always, comments are welcome.
... Joe
-------------------------------------------------------------------------------
Joe Greco - Systems Administrator jgreco@ns.sol.net
Solaria Public Access UNIX - Milwaukee, WI 414/546-7968
Re: Path header entries and distributed news servers
Author: Mark Turner
Date: Fri, 03 May 1996 00:00
Date: Fri, 03 May 1996 00:00
41 lines
2315 bytes
2315 bytes
In article <4mavci$sdv@pith.uoregon.edu>,
Joe St Sauver <joe@decoy.uoregon.edu> wrote:
>
> 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 )
That's how we do it at PIPEX. Yes it does produce some horrible three
mile long path headers, but so what? The only problem I've had with
this approach was that I had to ask the "top 1000" people to ignore
"pipex" so that we didn't accidentally cheat and come top every month.
> 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
I thought about doing that but, as Rich says, it's a lot of work for no
real gain. I also considered hacking my news pushing tool so that it
would tidy up the path header on each article on the way through, but
decided against that for similar reasons.
Cheers,
Mark.
--
UnipalmPIPEX, 216 The Science Park, Cambridge, UK Work: markt@pipex.net
Phone: +44 1223-250120, Fax: +44 1223-250121 Play: mark@kram.org
UKUU: mark@kram.ukuu.org.uk
Fidonet: 2:2504/100.10 or 2:254/153.15
Re: Path header entries and distributed news servers
Author: Rich Salz
Date: Fri, 03 May 1996 00:00
Date: Fri, 03 May 1996 00:00
7 lines
713 bytes
713 bytes
Seems like an awful lot of hacks. Why do you care how "ugly" the Path header is? Nobody should be looking at it except innd (or relaynews) these days...
Re: Path header entries and distributed news servers
Author: Rich Salz
Date: Mon, 06 May 1996 00:00
Date: Mon, 06 May 1996 00:00
18 lines
1250 bytes
1250 bytes
In <4md0m7$dlm@brasil.moneng.mei.com> jgreco@brasil.moneng.mei.com (Joe Greco) writes: >I would point out, however, that this "messes" with things like the Freenix >Top 1000 list (remember "pipex"), which DOES look at it. The Freenix Top 1000 list is therefore broken; it should ignore duplicates in the Path. >channame/*.dom.ain\ It is fairly trivial to add a wildmat() call instead of an EQ() call in the excludes checks. But it would slow things down, perhaps noticeably. So I haven't changed my position: who cares how ugly the Path is -- it's possible to do what you want already. /r$
Re: Path header entries and distributed news servers
Author: Mark Delany
Date: Wed, 08 May 1996 00:00
Date: Wed, 08 May 1996 00:00
20 lines
1438 bytes
1438 bytes
cor@xs4all.nl (Cor Bosman) writes: >Now that we're talking about distributed news servers. We've run into >another problem. The reader problem. We've been looking into a >distributed news server setup since with hundreds of active nnrpd's >it's the only thing that scales in the long run. Setting up multiple >boxes to feed eachother is no problem, but what to do about the >reader end. I'd really prefer not to tie a specific user to a specific >news server. Instead, I'd like to go for a round-robin situation. Another problem. I've come across a reader that actually relies on the IP address of the server to decide if is talking to a new news server or not, and if it thinkit has changed, then it resets the local version of active. Ugh. (I think it was an OS/2 reader of some sort). Regards.
Re: Path header entries and distributed news servers
Author: Cor Bosman
Date: Wed, 08 May 1996 00:00
Date: Wed, 08 May 1996 00:00
23 lines
1827 bytes
1827 bytes
Now that we're talking about distributed news servers. We've run into another problem. The reader problem. We've been looking into a distributed news server setup since with hundreds of active nnrpd's it's the only thing that scales in the long run. Setting up multiple boxes to feed eachother is no problem, but what to do about the reader end. I'd really prefer not to tie a specific user to a specific news server. Instead, I'd like to go for a round-robin situation. The problem arisen when the news servers aren't 100% in sync, with the same article numbers and the same history file (dates). If they aren't exactly the same, a user might miss news when they use the 'newnews' command. As far as I can see, there is no way to set up a master/slave group where the slaves are identical copies of the master. Anyone dealt with this problem? Cor -- ------------------------------------------------------------------------------ | Cor Bosman | ____Xs4all Public Access____ | tel: +31-(0)20-622-2885 | | cor@xs4all.net | Network Administrator | fax: +31-(0)20-622-2753 | -------------The building is clear, Leisa has crossed the bridge-------SP6----
Re: Path header entries and distributed news servers
Author: Joe St Sauver
Date: Wed, 08 May 1996 00:00
Date: Wed, 08 May 1996 00:00
62 lines
3926 bytes
3926 bytes
In article <4ml5jp$63t@paperboy.osf.org>, Rich Salz <rsalz@osf.org> wrote: >In <4md0m7$dlm@brasil.moneng.mei.com> jgreco@brasil.moneng.mei.com (Joe Greco) writes: >>I would point out, however, that this "messes" with things like the Freenix >>Top 1000 list (remember "pipex"), which DOES look at it. > >The Freenix Top 1000 list is therefore broken; it should ignore duplicates >in the Path. If preprocessing of that sort could occur, that would obviously improve the quality of the influence summaries, but it doesn't deal with the secondary issue, that of the article paths data that comprise the second half of the inpaths output. >It is fairly trivial to add a wildmat() call instead of an EQ() call >in the excludes checks. But it would slow things down, perhaps noticeably. And given that many of the same people who are bad about maintaining a list of aliases for a feed are the same sort of people who are bad about upgrading INN to the latest version, I'm not sure that adding wildcard site aliasing is going to propagate down to the people who need the fix most... the most I'd hope for is getting all feed sites to make ONE change to their feed aliases ONE time, rather than reinstalling/updating INN. By the way, another drawback of wildcarding is that some domains will actually have two or more groups administering news within that given domain; for example, a computer services department and a computer sciences department. The servers may share the same domain, but group coverage and cross feed arrangements may not allow remote sites to safely assume that if an article has hit any site in *.foobar.edu, it doesn't need to be backfed to any other foobar.edu server. This problem could probably be dealt with by permitting *.foobar.edu,!something.foobar.edu, but obviously this is getting more convoluted than it needs to be. >So I haven't changed my position: who cares how ugly the Path is -- it's >possible to do what you want already. At a cost: the cost in this case is no longer being able to trust the path articles have purportedly taken... In some ways, it would be kin to saying, "stick your host's pathname anywhere in the path header, it doesn't matter where, since the anti-looping function of the path header is independent of the host's position in the path and antilooping's the only function of the path header that's really important." I want to be able to trust the path to the maximum possible extent. My suggested change of permitting a metadomain was designed to minimize all these problems by making the smallest possible change to current practices, by making the change at the source of the problem (i.e., at the feed with the distributed feed environment not at hundreds of sites being fed), and by making a change that is consistent with analyses we know are currently being done to the path header data. I sure didn't mean to set off a big to-do, though; if it becomes enough of an issue for me, I'll just make the changes to the code locally myself. I'll admit I was just being lazy asking if anyone else had already done this sort of thing so I could avoid reinventing the wheel. Mea culpa! Regards, Joe
Re: Path header entries and distributed news servers
Author: Joe St Sauver
Date: Wed, 08 May 1996 00:00
Date: Wed, 08 May 1996 00:00
37 lines
2355 bytes
2355 bytes
In article <4mpkua$6tk@news.xs4all.nl>, Cor Bosman <cor@xs4all.nl> wrote: >Now that we're talking about distributed news servers. We've run into >another problem. The reader problem. We've been looking into a >distributed news server setup since with hundreds of active nnrpd's >it's the only thing that scales in the long run. Setting up multiple >boxes to feed eachother is no problem, but what to do about the >reader end. I'd really prefer not to tie a specific user to a specific >news server. We are taking a different approach -- we'd heard from some users who loathe the "we carry everything" approach, and we know that there are other users who prefer as inclusive a list of groups as possible. What we decided to do was offer three tiers of reader access: -- One server offers just Big 7 plus humanities.* plus clari.* plus uo.* (our local hierarchy) -- this amounts to about 3,500 groups -- Another server offers all the groups from the preceding server, plus second tier national hierarchies (such as bit.*, bionet.*, gnu.*, vmsnet.*, etc.) and alt (less the binaries) -- this server carries about 6000 groups. -- The third server carries everything that the two preceding servers carries, plus foreign, foreign language, regional, local, and alt (including all the binaries that we carry). You might think that the third server is the only one that readers hit, but surprisingly enough, we've seen the emergence of clientel for each of the three classes of service (and note that the two "lite" and "very lite" servers are cheap to offer since memory and disk requirements are far lower than they are for a "carries everything" server). Regards, Joe
Re: Path header entries and distributed news servers
Author: Rich Salz
Date: Fri, 10 May 1996 00:00
Date: Fri, 10 May 1996 00:00
11 lines
946 bytes
946 bytes
In <4mpkua$6tk@news.xs4all.nl> cor@xs4all.nl (Cor Bosman) writes: > We've been looking into a >distributed news server setup since with hundreds of active nnrpd's >it's the only thing that scales in the long run. I would think about a replicated filesystem such as DFS, that ISIS thing (avail from Tandem?) disk tricks, etc. /r$
Re: Path header entries and distributed news servers
Author: Rich Salz
Date: Fri, 10 May 1996 00:00
Date: Fri, 10 May 1996 00:00
13 lines
1082 bytes
1082 bytes
In <4mqp73$5m7@pith.uoregon.edu> joe@decoy.uoregon.edu (Joe St Sauver) writes: >My suggested change of permitting a metadomain was designed to minimize all >these problems by making the smallest possible change to current practices ... Isn't it easiest if everyone always puts all the FQDN's in the Path line? >I sure didn't mean to set off a big to-do, though. You didn't. Just some discussion. /r$
Re: Path header entries and distributed news servers
Author: Pierre Beyssac
Date: Sat, 11 May 1996 00:00
Date: Sat, 11 May 1996 00:00
52 lines
2765 bytes
2765 bytes
In article <4ml5jp$63t@paperboy.osf.org>, Rich Salz <rsalz@osf.org> wrote:
>The Freenix Top 1000 list is therefore broken; it should ignore duplicates
>in the Path.
It's not really so easy.
* duplicates in the path generally represent different machines.
Ignoring them is not always a good idea and doing so depends on
the underlying scheme, for example pipex uses the following :
pipex for one of their machines
xxx.news.pipex.net!pipex for the others
That means that ignoring the duplicate for "pipex" is equivalent
to subtracting counts for xxx.news.pipex.net from the count
for "pipex".
That's what I'm currently doing but it's a terrible hack.
Any other site using a similar scheme is currently not accounted
for (for example I noticed a lot of duplicates on "psinntp")
* ignoring duplicates at the source, assuming it's a good thing,
implies modifications to the good old "inpath" program. Doable,
but it will take some time before a significant portion of the
stats senders update their copy.
A cleaner solution would be to detect and report duplicates in "inpath",
and then trying to see how each case could be solved. I have no idea
of what volume of stats it would generate.
>>channame/*.dom.ain\
>
>It is fairly trivial to add a wildmat() call instead of an EQ() call
>in the excludes checks. But it would slow things down, perhaps noticeably.
Maybe a wildmat call would be overkill here since you only want to check
on a subdomain (the expression will only start in "*.", it can be checked
using EQ() too, that's much faster).
But I agree it wouldn't solve everything.
>So I haven't changed my position: who cares how ugly the Path is -- it's
>possible to do what you want already.
The problem with Path: is that's it's used for too many things...
--
Pierre Beyssac pb@fasterix.frmug.fr.net pb@fasterix.freenix.fr
{Free,Net,Open}BSD, Linux : il y a moins bien, mais c'est plus cher
Re: Path header entries and distributed news servers
Author: Mark Turner
Date: Sat, 11 May 1996 00:00
Date: Sat, 11 May 1996 00:00
22 lines
1262 bytes
1262 bytes
In article <4n23hu$sou@fasterix.frmug.fr.net>, Pierre Beyssac <pb@fasterix.frmug.fr.net> wrote: > > * duplicates in the path generally represent different machines. > Ignoring them is not always a good idea and doing so depends on > the underlying scheme, for example pipex uses the following : > > pipex for one of their machines > xxx.news.pipex.net!pipex for the others Almost, but not quite. All of PIPEX's news machines add a path entry like: <host>.news.pipex.net!pipex That small difference doesn't make what you're doing any less valid though. Cheers, Mark.
Re: Path header entries and distributed news servers
Author: David Woolley
Date: Sun, 12 May 1996 00:00
Date: Sun, 12 May 1996 00:00
41 lines
2760 bytes
2760 bytes
In article <4mpkua$6tk@news.xs4all.nl>, Cor Bosman <cor@xs4all.nl> wrote: >Now that we're talking about distributed news servers. We've run into >another problem. The reader problem. We've been looking into a ... >The problem arisen when the news servers aren't 100% in sync, with >the same article numbers and the same history file (dates). ... >set up a master/slave group where the slaves are identical copies of >the master. Anyone dealt with this problem? Demon have been operating a server like this and it has caused problems. It tends to be OK for newnews readers, as they set the time back for safety, and discard duplicates, but group/article grabbers, like Agent have been hit, as overviews, active files and articles can be out of step and may be read from a different connection. I'm not quite sure whether they have got round this, but at one time an unofficial spokesman claimed that RFC 977 didn't require article numbers to be allocated in order (one of the problems was that an article might appear to exist from overview or active, but be refused one minute and available later, part of this was due to articles being passed out of sequence from the front end machine, which allocated the numbers, to the back end machines serving the customers - precise details are a trade secret**). In my view the spirit of RFC 977 would not tolerate this practice, although the letter of it is silent. However there are reports that Agent has been modified to re-check old article numbers in case they have been back filled; I think this is a bad precedent and that the news servers should be fixed rather than clients made to work around the problem (trn kill files will be broken by this behaviour as well (THRU line)). ** Which, unfortunately, is why you are unlucky to get solid information from anyone who has actually created a distributed news server which doesn't look distributed. -- David Woolley, London, England david@djwhome.demon.co.uk
Re: Path header entries and distributed news servers
Author: billy
Date: Wed, 15 May 1996 00:00
Date: Wed, 15 May 1996 00:00
17 lines
1301 bytes
1301 bytes
David Woolley <david@djwhome.demon.co.uk> writes regarding syncing up a bunch of news read slave machines - > part of this was due to articles being passed out of > sequence from the front end machine, which allocated the numbers, to the > back end machines serving the customers - precise details are a trade > secret**). This is not something I have to worry about but if it was I'd use the Xref data - the news master host would write these into every article whether cross-posted or not then all the slaves would simply grab the numbers and use those for the file or link names. Billy Y..
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