Article View: news.software.nntp
Article #42494Re: Header-Only feeds
From: Curt Welch
Date: Thu, 23 Dec 1999 00:00
Date: Thu, 23 Dec 1999 00:00
177 lines
11011 bytes
11011 bytes
Frank Durda IV <uhclem.jan00@nemesis.lonestar.org> wrote: > 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. Yeah that's a neat technique. You're not going to patent it are you? :). I had talked about how any server that would be willing to act as a body server for the article could add it's name to the Body: line. But I hadn't quite figured out who would be willing to do that and why - and how they would get the full article instead of only the header etc. Your idea solves all that nicely. So you just keep passing the entire article until it goes though 3 sites willing to act as a server for it, then it turns into a header-only article. You get automatic redundancy and a nice simple solution for spreading the work around as well. One issue I see is that after three hops -- in all directions -- you may end up with a very large number of servers that must act as body servers for the article. No single path would have more than three servers, but all paths combined could end up with hundreds of servers caching the article. You could reduce 3 to 2 to help that, but I think 2 servers to choose from would be too small so I'm thinking 3 is the right number. One thing to offset that however is that the first copy of the article to hit 3 servers will then transform into a head-only article, and that will zip though the net much faster than the full article (the larger the orginal article, the more this is true) so it would tend to beat the article to all those other possible servers. And if people normally set up the head-only feeds as separate fast channels, this would be even more true. So maybe that effect would really keep the total number of servers which had to hold a full copy of the article to a resonably small number. I guess a danger here is that some poor smuck could just happen to be 3 fast hops downwind from the largest binary posting site on the net, and end up with the load of a lifetime. But at least in theory, anyone that was getting too much of a hit from serving articles could choose to stop doing so and just pass the articles on to the next guy. Or better yet, with the right server features, they could act as "third-server" for some random percentage (<100) of the articles. The rest they would just pass on and let someone else deal with. That would help solve problems where small sites wanted to help, but couldn't justify acting as a server for all articles which passed though them. Another good feature of your algorithm is that it integrates nicely with the current feed network. That is, we don't have to build a parallel set of servers which support the "new" system. With most the other techniques we talked about I could only see it working if you set up a separate feed network on the side. If you were willing to convert your site to one which used the header-only system, all you have to do is upgrade your current transit server to one which knows about the new technology. And I'm thinking you would probably set up a new server to act as a body server to the world as well (but the transit server could try to do that). The transist server would decide what you were willing to act as the server for and modify the headers as reqired. Any article that had been labeled as something you would be willing to serve, gets feed to your local body server (a small reader-like box would probably work nicely for that because the total number of articles you would have to act as server for should be small - but it should have enough disk to maintain a reasonable amount of retention for those articles). You could run the "body-server" as a separate process on the same box you use for transit as well of course. Any article which (after being updated) had at least three body-servers listed would then be a candadate for being feed out in header-only format. You could still keep all your current feeds even if they didn't support the new system. For them you would just feed the full articles (when you had the full article). Article headers would be fed with new NNTP commands which are only supported by the new servers. This would guarantee that no one would acidently start feeding headers into the current net. It would also be a way for the server to "know" if the peer wanted head-only articles. For each new NNTP connection to a peer, the server could try to feed it a head-only article. But if the server rejected the command (an old server that can't deal with head-only articles), or if it responded with a "I don't want head-only articles" response, then it would know not to try and feed any others there. If by default, you would always try to feed headers, then if one day your downstream peer converted to a head-only system, it would start working automatically without you having to change your config at all. To take advantage of the head-only feeds, you would then have to make sure you were peering with at least one other site which was part of the new head-only sub-net that was forming. If one of your peers converted before you did, then you are all set and wouldn't need to add any new peers. Another side effect of this, is that once a site converts to the head-only system, any articles it gets in head-only form can no longer be sent to it's peers that use the "old" system. So, if their peers don't convert, they will slowly be getting poorer, and poorer conectivity to the rest of the net. This effect will encourage more and more people to convert to the new system, because if they don't, it gets harder and harder to "find" copies of all the articles. This of course would only apply to the large binary articles however, so all the small text files (i.e. the "good" part of usenet :)) won't suffer from the effect. If you are an ISP that sells "full feeds" (and want to continue doing so), you of course will have to run parallel systems. But over time, it could become close to imposible to find anyone running "full feed" systems - so to continue having all aricles on-site, you would have to start fetching the articles from the body servers. But if this system work, I'm guessing no one would want to do that. But that would mean that people wanting to get large feeds off-line (like though UUCP), would have a tough time doing so. The site feeding them would have to suck the feed off the body-servers for them -- and that would be a lot harder than getting a normal feed (or maybe for large articles, that's not true - sucking may be find for those??). I wonder if this is a problem? I'm guessing it isn't really a problem. People getting the text articles through UUCP would still be able to do that with no problem. > 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 That works, but I think using the Path: header isn't the right solution for this. As you say below, it causes complexities with aliases, and it also causes problems with systems such as frenix and things like that which look at path hosts. But even more important, is that the server passing the article, or the name it wants to put in the Path:, is likely not to be the server you are using as the body server. If you mix it in the Path:, then you end up breaking existing systems with the new feature (even if only in minor ways). And that's going to piss people off and turn them off to the idea of taking part in the new system. If you keep it in a separate (and new) header, you will waste a little more bandwidth, but you won't interfere with any existing systems. And since we are only talking about doing this for the larger articles, the "extra" bandwidth wasted by adding 60 bytes to a 500K article I don't think is going to make much of a difference. > 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 And that causes even more problems in the Path: line, but would be a fine possible standard for use in a new header. Also, there's the issue of sites wanting to know how large the full article is (in bytes) when it's only got the header. You need it for the XOVER data and for testing the size on outging feeds. I think the size of the body in bytes really should be included somewhere as well because of this. And the Body: header would work fine for that as well. (The first thing on the header is the size of the body, and the rest is the list of body servers). -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<19991222223519.382$HN@newsreader.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-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> <09B506169F5CCAD5.ADBCDABED18E442A.5B349B33E0C2C1F4@lp.airnews.net>Show Full Headers
Complete Article Headers
Message-ID: <19991222223519.382$HN@newsreader.com>
Subject: Re: Header-Only feeds
Date: Thu, 23 Dec 1999 00:00:00 +0000
From: curt@kcwc.com (Curt Welch)
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> <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-mail
X-Deja-AN: 564059214
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5 %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-User: Curt@NewsReader.Com
Organization: NewsReader.Com
X-Url: http://CurtWelch.Com/
Newsgroups: news.software.nntp,news.software.readers