Article View: news.software.nntp
Article #42435Re: Header-Only feeds (was: A nice side benefit of WebReader)
From: Curt Welch
Date: Tue, 21 Dec 1999 00:00
Date: Tue, 21 Dec 1999 00:00
118 lines
6818 bytes
6818 bytes
miquels@cistron.nl (Miquel van Smoorenburg) wrote: > In article <83nkfl$fpq$1@news.neth.hp.com>, > Frank Slootweg <franks@neth.hp.com> wrote: > > Just some observations which I think have been covered 'between the > >lines', but which I think are 'mandatory', so I think it is best to > >specifically mention them: > > > >- 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? :-)) > > As I said, why not simply get the body from the server that offered > you the header in the first place? For the life of me, the more I think about that plan the more confused I get. On one hand, I keep thinking it just can't work, but then I decide that maybe it could. Tecnically of course it can be built. But what I can't figure out is if a) it would actually work, and b) it would be better or worse than what we are currently doing. What you are talking about (I assume) is a network of caching transit servers. It's nice because we only allow access to our servers to a controled set of peers just like we do now. We don't have to open anything up to the world. And because we only fetch the large articles as needed (or that one of our peers needed and asked us for), we in theory use less total bandwidth than we currently do. So that of course is why it might be better than the full peering we do now. But problems show up when you start having to deal with the multiple levels of chaining that happens (chaining that sometimes will be 10 or more servers deep). The first is performance. Will it be fast enough? Just chaining though many servers will likely be too slow, but what happens when there's probelms? You have to wait for timeouts before trying other paths, which might end up hitting the same probelm the first attempt hit, etc. It could get very slow. But if _most_ the time it was fast, would that be good enough? And the ultimate worst case here is when the source server (the only one holding a copy of the article in this example), is down. Your request goes back though the net, and fails when it hits the last hop. But the article was seen from other places, so that last hop asks its peers, who fail to contact the source, so they go asking their peers. In the end, the _entire_ net gets searched to see if anyone happens to have a copy of the damn article. How long do you think that will take and how much of a load does that put on all the servers? And what happens 10 minutes later when the next guy out there in the world tries to read that same article? That sounds like a disaster, but maybe there's ways to prevent that from being a problem by somehow limiting how much searching will be done before you just give up? Then there's the search loop problem. You ask A for an article, he asks B, then B asks you, but you don't know that it's your request that started this. So you all end up waiting for the guy in front of you to give you the article which will never come. So you once again have to time out and look for another path, which once again might form another loop etc. But maybe there's a solution to this. Maybe if you use "search-Ids" to help identify the search so you can sense the loop when it comes back to you, or do things differently when asking alternate sources vs. the prime "path" source for the article? This is complex enough that I don't see the answer, but it might be there somewhere. Then there's the cache size issue. How much disk space will these servers need? Transit servers don't normally have much space or retention to begin with. But if these new servers have to deal with requests for articles that are a month old, they either need much longer retention (for what they cache) than a typcial transit server of today, or they must be willing to fetch the same article multiple times.] Bacially this is just a standard cache size vs bandwidth issue. But, to save bandwidth from today's usage, you may need a lot more disk than a typical transit server needs today. So it may not be much of a savings at all. And, because in this scheem, you are chaching not only for your own users, but for your peers (and their peers etc) as well, you are going to have to cache a lot more than if you were just caching for yourself. So you may need so much cache, that it would be better just not to do this and pass along everything like we do now. So overall, it seems to me that a network of caching tranist servers has far to many probelms to be practical, but that maybe, just maybe, it could be made to work and actually be better than what we do today. > Redundancy, people said. Well, if > you have several feeds - as soon as another server offers the same > message-id, you refuse it as usual, but you do add the server to the > list of servers that have that specific article. > > As soon as someone wants the body, you just try all the servers that > said they had the article in turn. Perhaps there could even be a way > for a server to indicate that they had the article locally, plus > estimated expire time, so that you could try those servers first. > > Mike. The expire issue is another problem with all the header-only feed ideas. The front-end doesn't know when articles have actually expired until it goes looking for it and turns up empty handed. So a user will see "headers" but when they try to read the article will get nothing (or just the header maybe). -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<19991221151141.253$TK@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> <871z8lhkdt.fsf@erlenstar.demon.co.uk> <19991217172205.802$6I@newsreader.com> <83nkfl$fpq$1@news.neth.hp.com> <83nonm$buk$1@enterprise.cistron.net>Show Full Headers
Complete Article Headers
Message-ID: <19991221151141.253$TK@newsreader.com>
Subject: Re: Header-Only feeds (was: A nice side benefit of WebReader)
Date: Tue, 21 Dec 1999 00:00:00 +0000
From: curt@kcwc.com (Curt Welch)
References: <38569b7a$0$224@nntp1.ba.best.com> <871z8lhkdt.fsf@erlenstar.demon.co.uk> <19991217172205.802$6I@newsreader.com> <83nkfl$fpq$1@news.neth.hp.com> <83nonm$buk$1@enterprise.cistron.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: 563521545
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.readers,news.software.nntp