Article View: news.software.nntp
Article #42475Re: Header-Only feeds
From: Frank Durda IV
Date: Wed, 22 Dec 1999 00:00
Date: Wed, 22 Dec 1999 00:00
104 lines
6528 bytes
6528 bytes
Frank Slootweg wrote:
> - There MUST be a way to get the article body from a server other than
> the originating one.
> Why? For example the originating server might be inside an Intranet
> and hence non-accessible from the Internet (Guess where I am posting
> from? :-))
Sure, here is how you could do it:
Require a post to be available from the first N (say three) "participating"
servers in the Path: header. Also, instead of going to the originating
server, go to the closest server (left-most offering host by Path:) first,
which hopefully will disperse the volume of requests for the same article
over several different servers. The more feeds the first three sites deliver
the complete article to, the more dispersed the query volume will be for
that article.
Such a scheme provides redundancy, since all of the first three servers
appearing in the Path: *you* see can be queried, and solves the issue
of the originating server being unreachable by firewall or outage.
Going on this thinking, the entry in the Path: header would indicate if
a server was a source for the article by adding some prefix character.
Example:
Path: here.net!there.net!+elsewhere.edu!foobar!+getthere.com!+source.org
In this example, source.org could be queried because they included the
"am accessible" prefix "+". The article could also be obtained from
"getthere.com", but not from "foobar". The third and final available
location would be "elsewhere.edu". By definition, sites offering header-only
feeds must provide usable domain names in the Path:.
In this example, foobar is a site that isn't participating, so the complete
article passes through without alteration, and the hop doesn't count against
the number of sites offering to the full article.
If source.org was behind a firewall or some other condition existed
that prevented it from being used as a source for articles posted from
source.org, the Path: should read:
Path: here.net!+there.net!+elsewhere.edu!foobar!+getthere.com!source.org
indicating that source.org is not offering the article, meaning the next
three participating servers in this Path: would have the article.
Using the example of three locations of availability, each receiving server
counts the number of "+" or whatever flag is used in the Path: so far to
decide what it should do, using these rules:
First site* has full article, propagates full article, and adds
site name with leading "+" to Path: header.
Second site* receives and stores full article, propagates full article,
and adds site name with leading "+" to Path: header.
Third site* receives and stores full article, propagates header-only article,
and adds site name with leading "+" to Path header.
A URL pointing to an access point on this site should be placed
in the body of this abbreviated post, and a header added indicating
that this is only a pointer to the real article, not the article
itself. (The URL is included only for backward compatibility
with servers who don't update their reader server software to ensure
continued access to the full article. Naturally if only one URL
is listed, the article could be unavailable to those using the
backward compatibility, but not beyond access by manual means.
Fourth through Nth site** received and stores header-only article,
propagates header-only article, adds the normal system
name to the "Path:" header. Any reader query from site four
through N, should contact participating site three, if unavailable,
participating site two, and if neither of those work, participating
site one.
* Only participating servers are counted, the ones with the "+" in the Path:,
reading right to left.
**For sites beyond the first three participating sites, it doesn't matter
if you participate or not. You've got a URL or something in the body
of the "header only" post, you can use that. Participating servers can
automatically get and deliver the real article rather than make the user
do extra work.
The concept of participating versus old/non-participating servers allows
you to "pave over" sites that can't/won't allow the remote query for
articles or are so unreliable as to not be worth relying-on in this fashion.
It also takes care of skipping transit servers and other interim feed
devices that don't have spools long enough to make such a scheme work.
If you wanted to get really fancy, the entry in the Path: could be
something like
...foobar!+946789012:elsehere.edu!+94599999:source.org
which indicates site by site when it isn't worth getting this article from
that place anymore because it will have expire. The Path gets ugly looking,
but is concise. It would also require more complex alias checking...
Listing both the "+" versus non-"+" aliases is easy.
Frank Durda IV - only this address works:|"What is the difference between a
<uhclem.jan00%nemesis.lonestar.org> | monopoly and an 'abusive monopoly'?
| One has the Short Line rail road and
This Anti-spam address expires Jan. 31st | the other has a campus in Redmond."
Copr. 1999, ask before reprinting.
Technical Details
Message-ID:
<09B506169F5CCAD5.ADBCDABED18E442A.5B349B33E0C2C1F4@lp.airnews.net>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-mailReferences:
<38569b7a$0$224@nntp1.ba.best.com> <6aJWOE2g9YI1qQ46VtGbCuiICWXm@4ax.com> <3856bc3d$0$229@nntp1.ba.best.com> <19991216152219.196$Pi_-_@newsreader.com> <3859e39c$0$232@nntp1.ba.best.com> <874sdihsk0.fsf@erlenstar.demon.co.uk> <brad-37F756.11104117121999@news.skynet.be> <871z8lhkdt.fsf@erlenstar.demon.co.uk> <19991217172205.802$6I@newsreader.com> <83nkfl$fpq$1@news.neth.hp.com>Show Full Headers
Complete Article Headers
Message-ID: <09B506169F5CCAD5.ADBCDABED18E442A.5B349B33E0C2C1F4@lp.airnews.net> Subject: Re: Header-Only feeds Date: Wed, 22 Dec 1999 00:00:00 +0000 From: Frank Durda IV <uhclem.jan00@nemesis.lonestar.org> References: <38569b7a$0$224@nntp1.ba.best.com> <6aJWOE2g9YI1qQ46VtGbCuiICWXm@4ax.com> <3856bc3d$0$229@nntp1.ba.best.com> <19991216152219.196$Pi_-_@newsreader.com> <3859e39c$0$232@nntp1.ba.best.com> <874sdihsk0.fsf@erlenstar.demon.co.uk> <brad-37F756.11104117121999@news.skynet.be> <871z8lhkdt.fsf@erlenstar.demon.co.uk> <19991217172205.802$6I@newsreader.com> <83nkfl$fpq$1@news.neth.hp.com> 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: 563993339 Content-Transfer-Encoding: 7bit X-Orig-Message-ID: <38615FB4.3F54BC7E@nemesis.lonestar.org> Content-Type: text/plain; charset=us-ascii NNTP-Posting-Time: Wed Dec 22 17:39:09 1999 Organization: Airnews.net! at Internet America NNTP-Proxy-Relay: library1.airnews.net Mime-Version: 1.0 Abuse-Reports-To: abuse at airmail.net to report improper postings Newsgroups: news.software.nntp,news.software.readers