Thread View: news.software.nntp
85 messages
85 total messages
Page 2 of 2
Started by Curt Welch
Thu, 16 Dec 1999 00:00
Page 2 of 2 • 85 total messages
Re: Header-Only feeds (was: A nice side benefit of WebReader)
Author: Kathy I. Morgan
Date: Sun, 19 Dec 1999 00:00
Date: Sun, 19 Dec 1999 00:00
28 lines
2031 bytes
2031 bytes
Phil Boutros <philb@total.net> wrote: > On 17 Dec 1999 15:20:19 GMT, Robert Uomini <uomini@fractals.com> wrote: > >Another benefit/feature of header-only feeds is that the hosting server > >controls the life of the article, more so than it does today. > > OK. How is being at the mercy of one centralized server a benefit? > Oh, wait, you explain below... > > >For example, an article today may be available for a couple of weeks max. But > >the user can download it and keep it forever. > > Yes. This is *good* (that the user can download it and keep it > forever). There's also Dejanews, unless the original poster uses > X-No-Archive. Since it seems to me that the primary benefit of using a header-only option would be to reduce the bandwidth and storage space involved in transporting binaries that are not accessed by the server's user-base, the presence of the Deja archives would not be applicable--they don't archive the binaries. -- Kathy help for new users of newsgroups at <http://www.ptialaska.net/~kmorgan> Good Net Keeping Seal of Approval at <http://www.xs4all.nl/%7Ejs/gnksa/>
Re: Header-Only feeds (was: A nice side benefit of WebReader)
Author: Frank Slootweg
Date: Tue, 21 Dec 1999 00:00
Date: Tue, 21 Dec 1999 00:00
27 lines
2329 bytes
2329 bytes
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? :-)) - There MUST be caching servers (Greg's "cooperative caching mechanism"). Why? "I" for example run a leafnode (the term "leafnode", not the software) server for several hundred users. Because of my suck(1)-on- demand mechanism, the incoming traffic is only about 5MB/day (yes, Mega). The outgoing traffic is probably only tens of KB per day. I am a frequent poster/helper. If "I" had to pay for thousands of fetches of the bodies of my articles, then I would (have to) stop posting/ helping. That, i.e. killing (real) Usenet, can't be the intention of this header-only feed mechanism. If the primary purpose is to let the biggest 'offenders' pay, then I think we just should get rid of the binary groups (and most binary postings in non-binary groups). This would not let the biggest offenders pay, but would solve the same problem (bandwidth/storage/etc.cost for a 'full' feed) in another way.
Re: Header-Only feeds (was: A nice side benefit of WebReader)
Author: 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/
Re: Header-Only feeds (was: A nice side benefit of WebReader)
Author: Russ Allbery
Date: Tue, 21 Dec 1999 00:00
Date: Tue, 21 Dec 1999 00:00
35 lines
2516 bytes
2516 bytes
In news.software.nntp, bill davidsen <davidsen@tmr.com> writes: > Brad Knowles <brad@shub-internet.org> wrote: >> I was thinking that people would want to feed full non-binary articles >> and header-only binaries to most peers, but that a peer wouldn't >> necessarily know what each of it's downstream peers would want to >> accept, and therefore it should be able to offer and feed articles as >> either header-only or full body, and be able to change that on a >> per-article basis. I'd think that negotiating header-only vs. full body would be part of the feed negotiation so that you could know up front. It seems like easy enough information to figure out. > I would hope that you could do that on a stream basis. That is, you > could have multiple lines in newsfeeds (using INN terms) going to the > same site, and one of the options to the W (what to write to the stream) > would be a flag which says to send the header only. It's a lot easier to implement if you don't try to support the dynamic switching, so I'd save that for later after something was initially working. > I would assume that you also would have to address the issue of having a > header and being offered the full article. This is addressed by the > discussion of having separate commands, the IHEAD or ICHECK or whatever > would be rejected if the header were present, while IHAVE or CHECK would > accept the full article if you had only the head. Separate modes is probably easier than separate commands. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: Header-Only feeds (was: A nice side benefit of WebReader)
Author: bill davidsen
Date: Tue, 21 Dec 1999 00:00
Date: Tue, 21 Dec 1999 00:00
33 lines
2394 bytes
2394 bytes
In article <brad-1870D9.01005118121999@news.skynet.be>, Brad Knowles <brad@shub-internet.org> wrote: | In article <87so11fhzp.fsf@erlenstar.demon.co.uk>, Andrew Gierth | <andrew@erlenstar.demon.co.uk> wrote: | | > I took a random sample of articles from this spool (selecting based on | > the MD5 of the message-id, which is about as random as it gets) and | > looked at the proportion that had been accessed (just under 60%). | | That just tells you how many articles have been accessed one or more | times. It doesn't tell you how many times a particular article has been | accessed. Does it matter? If one person want to read it, you have to have the body. | If you had those stats, I'd be willing to bet that the text-only | articles have been accessed far more times than the binary articles, and | the only reason the total coverage of access of text articles is so low | is because there are so bloody many of them relative to how many binary | articles there are. I'd bet not. Given that there are about five times as many text articles on my server as binaries, and that almost 90% of the article reads are in binary groups, I have a hard time believing that. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc When taking small children to a carnival, always have them go potty *before* you let them go on the rides, and let them eat all the junk food and candy *after*.
Re: Header-Only feeds
Author: bill davidsen
Date: Tue, 21 Dec 1999 00:00
Date: Tue, 21 Dec 1999 00:00
40 lines
2986 bytes
2986 bytes
In article <brad-E0E929.09383217121999@news.skynet.be>, Brad Knowles <brad@shub-internet.org> wrote: | I think satellite news providers would likewise be interested in | something like this, because it could allow them to take an absolutely | full feed at their servers, send header-only feeds to their customers, | and then when one customer requests a particular article it could be | retrieved and transmitted to all satellite receivers at all customer | sites, so that if someone else also asks for the same article, the | probability is high that it would already have been received and they | wouldn't need to retrieve it again via satellite. I still provide feeds via IHAVE and SENDME messages to some sites. Some don't have net connectivity, some just use me for a backup or fill-in feed. Some are doing this with UUCP over TCP, because they have limited bandwidth and like to save it by getting even the IHAVE compressed. Think of extending this to the header feed, sort of a super-IHAVE message. As fast as the NNTP streaming protocol for CHECK might be, sending a compressed header batch might be a reasonable thing to do, particularly since it addresses all of the issues discussed a while ago about more info in CHECK to reduce rejects. The message could be sent to a separate process, which helps if you use a single threaded process like INN, and some sort of IWANT could be sent back. Messages which would have been rejected can now be put in the history database, avoiding ever seening the full text. This comes to mind because headers will compress vastly better than whole messages, and there's a real saving in bandwidth to be had, important to sites with limited bandwidth, or who pay by the byte, or who have a LOT of feeds. As was just noted, CPU is much cheaper to add than bandwidth. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc When taking small children to a carnival, always have them go potty *before* you let them go on the rides, and let them eat all the junk food and candy *after*.
Re: Header-Only feeds (was: A nice side benefit of WebReader)
Author: bill davidsen
Date: Tue, 21 Dec 1999 00:00
Date: Tue, 21 Dec 1999 00:00
31 lines
2270 bytes
2270 bytes
In article <greg-1678C7.14510817121999@news.binary.net>, <greg@apple2.com> wrote: | In article <87so11fhzp.fsf@erlenstar.demon.co.uk>, | Andrew Gierth <andrew@erlenstar.demon.co.uk> wrote: | | > Note that there's nothing stopping this from being implemented on a | > local basis, e.g. a regional bandwidth provider maintaining a large | > spool, giving out header feeds to customers or topologically close | > sites, and allowing those sites to fetch articles. The problems only | > start when you expect the article fetch to go all the way back to the | > originating site. | | Are you talking about article requests being forwarded back along the | Path until it finds the first server that has it, then causing the body | to be emitted along that same path back to the client? I don't think he was, but I suggested it before I read this. With some major additions, however. I'll not repeast it here. | | Assuming Path-reversability, would that work? Would this be IWANT vs. | IHAVE? Instead of IHAVE/SENDME it would be UHAVE/IWANT, or something like that. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc When taking small children to a carnival, always have them go potty *before* you let them go on the rides, and let them eat all the junk food and candy *after*.
Re: Header-Only feeds (was: A nice side benefit of WebReader)
Author: Curt Welch
Date: Tue, 21 Dec 1999 00:00
Date: Tue, 21 Dec 1999 00:00
119 lines
7580 bytes
7580 bytes
franks@neth.hp.com (Frank Slootweg) 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? :-)) Yeah, that's clear. There will always be servers which either aren't reachable such as yours, or not on-line like UUCP connected servers, or simply which aren't supporting this feature. So you can never assume, or expect, that there would be a day when all orginating servers would be available. But the idea as we have talked about deals with this. Any article which comes from a server such as yours, simply would not have a Body: header added to it. Only servers that were willing to act as Body servers would add the Body: header. > - There MUST be caching servers (Greg's "cooperative caching mechanism"). > Why? "I" for example run a leafnode (the term "leafnode", not the > software) server for several hundred users. Because of my suck(1)-on- > demand mechanism, the incoming traffic is only about 5MB/day (yes, > Mega). The outgoing traffic is probably only tens of KB per day. I am > a frequent poster/helper. If "I" had to pay for thousands of fetches > of the bodies of my articles, then I would (have to) stop posting/ > helping. That, i.e. killing (real) Usenet, can't be the intention of > this header-only feed mechanism. Generally, it has been agreed that using the header-only technique doesn't make sense for small articles anyway. And small in my mind includes almost all text articles, so it's unlikely that anything you would be posting would ever be sent out using the header-only technique anyway. And, if the header-only system was in wide spread use, then a small site such as you could try acting as a body-server and see what happened. If they found they could not justify the load it put on their servers, then they could just turn the feature off and go back to the old way of sending out full articles all the time. This fact of course is also a major problem with the idea. Many sites might want to receive header-only feeds to allow them to get all the articles without all the bandwidth, but receiving a header only feed and acting as a body server (i.e. sending out header-only versions of local articles) is two separate issues. And if you decide to act as a body server, it's bound to put more of a load on your site than if you just send out your own articles like you always have. Because of this, I think few people would elect to act as a body server for their articles, so no one would be able to get the downstream benefit of the head-only feed. So this becomes something that everyone wants the other guy to do, which means in the end no one ends up doing it. So the idea of Usenet transforming into a net where for the most part the site which orginated the post acts as the server for that article I think just can't happen, and probably doesn't make much sense on that of that. But the other idea of this thread, the idea of mixing header-only articles marked with a Body: header together with full articles in the same stream I think is a technology that has some interesting posibilities. It allows you to do much the same thing that is being done already with caching servers today, but with a lot more interesting options. A caching server (I've never used them so I'm just guessing here), typcially only sucks articles from one other server - the server it's acting as a front-end to. This means that when you run the caching server, you don't really get to control the server. That is, if the back-end server you are using doesn't carry a group, you don't get the group. If the back-end server filters an article as spam which isn't really spam, you never get to see it, etc. But with this header-only, technology, you would be able to buy feeds from multiple sites/services instead of just one. They would each send you a mix of normal articles and head-only articles so overall, your bandwidth needs would be very low, just like with the caching server. But unlike the typical caching server, you would control your own active file, and your own policies about how to deal with cancels, and to some extent your own spam policies. And performance in general should be better than a caching server because more of the work (like accessing the active file and xover data) would all be done locally. Your server could be configured to try and get bodies from the server listed in the Body: line first, but then if that didn't work, it could try the other servers as well (or any article store you had access to). So, unlike the caching server, you aren't at the mercy of a single back-end server. Your server doesn't stop working just becasue one of your back-end servers is down. So it seems to me that this would allow you the bandwidth and server size benifits of a caching server, but the control and performance more of a local full server. > If the primary purpose is to let the biggest 'offenders' pay, That was an interestig part of having the orginating server send out the ariticles, but I'm not seeing how to motivate people to do that. > then I > think we just should get rid of the binary groups (and most binary > postings in non-binary groups). This would not let the biggest offenders > pay, but would solve the same problem (bandwidth/storage/etc.cost for a > 'full' feed) in another way. I guess both the header-only idea and the get-rid-of-binaries idea would work the same way. That is, only people that wanted to do either of those would. And there's no way the entire net could be convinced to do either. So people that want to get rid of binaries can do that. And if we had head-only capable news server like has been talked about, that too would be something that might be done by some sites, but would never be done by all sites. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Header-Only feeds
Author: bill davidsen
Date: Tue, 21 Dec 1999 00:00
Date: Tue, 21 Dec 1999 00:00
21 lines
1777 bytes
1777 bytes
In article <83d4sc$7uv$1@hama.darkmere.gen.nz>, Simon Lyall <simon@darkmere.gen.nz> wrote: | Checking my daily stats I have 700 posts for a total of 14MB today. | If 2000 sites download those over the next 24 hours then thats 1.4 | Milllion "hits" and 28GB transfered at a nice 2.5MB/s average. So I would reduce 50GB/day/site down to 28GB... obviously the sites feeding a lot of stuff would find this a win, and those who don't do much feeding would be in deep water. See my post elsewhere about passing the request back up the Path: rather than using a Body: header. Food for thought, I'm not claimning it as the perfect answer. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc When taking small children to a carnival, always have them go potty *before* you let them go on the rides, and let them eat all the junk food and candy *after*.
Re: Header-Only feeds (was: A nice side benefit of WebReader)
Author: greg
Date: Tue, 21 Dec 1999 00:00
Date: Tue, 21 Dec 1999 00:00
74 lines
4578 bytes
4578 bytes
In article <19991221151141.253$TK@newsreader.com>,
curt@kcwc.com (Curt Welch) wrote:
> 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,
Mitigated by the relative value of the article though. The more popular
the article, the more likely a nearer server has it cached.
> but what happens when
> there's problems? You have to wait for timeouts before trying other
> paths,
No, retrieval is by a single path. You can't flood requests over the
whole net. Not only would that waste a whole lot of bandwidth, but it
also opens the possibility of multiple responses.
A serious problem though would be relays that aren't constantly
connected. Any relay on the opposite side of a non-live relay that sent
an article must cache bodies. Otherwise there could be delays of 24
hours until the sporadically connected server becomes live again for its
next exchange.
> 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,
No, it does not ask penultimate peers. If it fails, it fails, becoming
a "pending request" to be filled when the server comes back up.
Meanwhile the one initiating the request is informed that there will be
a delay and that the full article will eventually replace the copy of
the headers. It turns from an immediate request to a requisition.
Trying to work around the break only creates problems. Preferably,
ephemeral connections will pass their articles across any predicted
breakpoints so that requests can be fulfilled even when the originator
is down.
> 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.
Certainly not!
> 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.
If the search path is based upon the Path header in the article headers,
there can't be loops.
> So overall, it seems to me that a network of caching transit servers
> has far too many problems to be practical, but that maybe, just
> maybe, it could be made to work and actually be better than what we
> do today.
Only when you create problems that aren't part of the original design.
--
-- --- <greg@apple2.com>
-- -- -- ------------------------------------------------------------------
-- -- --- <http://www.war-of-the-worlds.org/>
--- (Not associated with Quake Clan Deimos, War Machine of Mars)
Re: Header-Only feeds (was: A nice side benefit of WebReader)
Author: bill davidsen
Date: Tue, 21 Dec 1999 00:00
Date: Tue, 21 Dec 1999 00:00
33 lines
2505 bytes
2505 bytes
In article <brad-077A9F.00062819121999@news.skynet.be>, Brad Knowles <brad@shub-internet.org> wrote: | I was thinking that people would want to feed full non-binary | articles and header-only binaries to most peers, but that a peer | wouldn't necessarily know what each of it's downstream peers would want | to accept, and therefore it should be able to offer and feed articles as | either header-only or full body, and be able to change that on a | per-article basis. I would hope that you could do that on a stream basis. That is, you could have multiple lines in newsfeeds (using INN terms) going to the same site, and one of the options to the W (what to write to the stream) would be a flag which says to send the header only. I would assume that you also would have to address the issue of having a header and being offered the full article. This is addressed by the discussion of having separate commands, the IHEAD or ICHECK or whatever would be rejected if the header were present, while IHAVE or CHECK would accept the full article if you had only the head. Or maybe not, I've never tried asking for an article which had not been offered by a CHECK, maybe that's how you suck feed stuff you want as full articles, and the feeder does a TAKETHIS. Lots of possible solutions. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc When taking small children to a carnival, always have them go potty *before* you let them go on the rides, and let them eat all the junk food and candy *after*.
Re: Header-Only feeds (was: A nice side benefit of WebReader)
Author: Miquel van Smoorenburg
Date: Tue, 21 Dec 1999 00:00
Date: Tue, 21 Dec 1999 00:00
26 lines
2062 bytes
2062 bytes
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? 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.
Re: Header-Only feeds (was: A nice side benefit of WebReader)
Author: Brad Knowles
Date: Tue, 21 Dec 1999 00:00
Date: Tue, 21 Dec 1999 00:00
34 lines
2575 bytes
2575 bytes
In article <83ogs9$gl4$1@newssvr02.news.prodigy.com>, davidsen@tmr.com
(bill davidsen) wrote:
> I'd bet not. Given that there are about five times as many text
> articles on my server as binaries, and that almost 90% of the article
> reads are in binary groups, I have a hard time believing that.
Again, how many of those reads are of the same article? If you
carry all the Portugese-speaking newsgroups, how many posts per day do
they get, and how many Portugese-speaking customers do you have?
The text newsgroups have a *very* wide variety of articles, of which
only a relatively small portion is likely to be of interest at any one
particular site.
However, the binary articles have content that tends to be of
interest to a small number of people, and whom I believe tend to all
read the same articles at nearly the same point in time.
In fact, what with ~85GB/day full feeds (of which binaries comprises
less than 10% of the total number of articles) and typically less than
500GB spools, you can't keep usually binary articles for even seven
days, so it pretty much has to be the same articles being read, because
you simply don't have anything else.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 65? If so, please contact me via private e-mail for details.
Re: Header-Only feeds (was: A nice side benefit of WebReader)
Author: greg
Date: Tue, 21 Dec 1999 00:00
Date: Tue, 21 Dec 1999 00:00
55 lines
4226 bytes
4226 bytes
In article <83nkfl$fpq$1@news.neth.hp.com>,
franks@neth.hp.com (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? :-))
As well as the handling of the load. I trust everyone remembers when
porn was rare on the net and FTP servers would bring down systems over
the sudden and intense demand when an FTP server went public. (The web
handles this load by distributing it amongst multitudinous servers.)
>- There MUST be caching servers (Greg's "cooperative caching mechanism").
> Why? "I" for example run a leafnode (the term "leafnode", not the
> software) server for several hundred users. Because of my suck(1)-on-
> demand mechanism, the incoming traffic is only about 5MB/day (yes,
> Mega). The outgoing traffic is probably only tens of KB per day. I am
> a frequent poster/helper. If "I" had to pay for thousands of fetches
> of the bodies of my articles, then I would (have to) stop posting/
> helping. That, i.e. killing (real) Usenet, can't be the intention of
> this header-only feed mechanism.
With retrieval by reverse Path traversal, you should only get as many
requests as you have feeds. Once each feed has requested the body, you
should receive no further requests.
So, servers which get a feed directly from the originating server, when
a request comes through, MUST cache the body to avoid overloading the
originating server. Other servers may elect to require their neighbors
to cache requests or not depending on their capability to handle the
load. A request for a body could cause the body to travel throughout a
subnet that decides to act as a cache depending on policy.
A policy would have to be established to deal with "leaf wants all
bodies all the time".
We also won't need a header to identify articles without bodies if we
just make it a violation to generate a bodiless article. Just by
inspection then one can know whether this is just the headers of an
article or if you have the full article. Or if we do, it would be an
internal header generated by each individual server and not propogated,
similar to Xref but not reaching clients.
(Doesn't the header-only feed devolve to be simply a chain of dnntpd
servers, except with better feed merging and caching added?)
--
-- --- <greg@apple2.com>
-- -- -- ------------------------------------------------------------------
-- -- --- <http://www.war-of-the-worlds.org/>
--- (Not associated with Quake Clan Deimos, War Machine of Mars)
Re: Header-Only feeds
Author: bill davidsen
Date: Tue, 21 Dec 1999 00:00
Date: Tue, 21 Dec 1999 00:00
44 lines
3008 bytes
3008 bytes
In article <87yaaugcyo.fsf@erlenstar.demon.co.uk>, Andrew Gierth <andrew@erlenstar.demon.co.uk> wrote: | >>>>> "Brad" == Brad Knowles <brad@shub-internet.org> writes: | | Brad> I think ISPs would have a strong incentive to pay some | Brad> pretty big money for features like this, so that they could | Brad> stop transiting all that binary content across their relatively | Brad> expensive WAN lines. | | You're thinking about this purely from a "consumer" point of view. | Don't forget the other side of the coin: the ISP ends up facing | heavier, and completely unpredictable, costs for serving up their | local posts to the rest of the world. What if the pull was from the previous site in the path rather than the originating site? On the downside it either creates a domino effect or results in articles not being available. On the plus side it allows the pullers to be limited to sites taking a feed, or sites in the "body-allowed" list, which limits the load, since each pulling site will (hopefully) then have it available. If the request isn't passed up the line, sites at the end of the chain have the option of upgrading their feed, either by a connect to the originating site, or by subscription to a major site for a feed which is "on request" only. That opens the door for a free low volume distribution of what's available, with money to be made by the big providers. And if a small ISP were getting a "pay by the request" feed, the article would be cached and only articles being read would cost anything. I suspect that most ISPs would feed their own articles to anyone who asked. Even UUCP feeds could use this, with a SENDME request to their feed. Obviously it might not be granted, but it never hurts to ask. I'm not thinking binaries here, but seldom read groups etc. Might be painful, but possible. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc When taking small children to a carnival, always have them go potty *before* you let them go on the rides, and let them eat all the junk food and candy *after*.
Re: Header-Only feeds (was: A nice side benefit of WebReader)
Author: greg
Date: Wed, 22 Dec 1999 00:00
Date: Wed, 22 Dec 1999 00:00
102 lines
6115 bytes
6115 bytes
In article <19991221195048.225$bm@newsreader.com>,
curt@kcwc.com (Curt Welch) wrote:
>greg@apple2.com wrote:
>>curt@kcwc.com (Curt Welch) wrote:
>>> but what happens when there's problems? You have to wait for
>>> timeouts before trying other paths,
>> No, retrieval is by a single path.
> But with the single-path algorithm, you have the redundancy problem
> to solve. With that, the ability of your news server to deliver a
> news article becomes dependent on a whole string of servers that you
> have no control over. And in general, I'd expect that solution to be
> so slow, and or so unreliable as to be unworkable.
Okay, then let's look at how multiple paths could be handled.
Perhaps an individual server can keep track of what other servers have
offered to supply headers (or, better yet, full-bodied articles) with
the same ID as an ID they already have. "You offered me this article
once, but I already had it then. Could I get it from you now?" Then if
a request along one path fails, they still know another server that has
a path to the root server that may be able to retrieve the article. But
only one path may be traversed at a time. Only if failure is known for
a certainty should alternative paths be checked.
Since the retrieval paths are based upon the Path header, some servers
may be asked multiple times from different paths, but no server will be
part of a loop. The available routes will be exhausted.
Indeed, a request for the body need only contain the Message-ID as each
server along the path knows who to go to for the next hop along the Path
header. Or a Message-ID and a timeout value to ensure that failure is
reported.
>> If it fails, it fails, becoming
>> a "pending request" to be filled when the server comes back up.
> NNTP based newsreaders today can't deal with that.
Would they have to deal with it? If they're patient, the full article
will eventually arrive.
> What it would mean in real life is that lots of the large articles
> you try to read just won't be there.
>
> Imagine someone trying to piece together a 50 part posting.
> Different parts would probably arive via different paths, so in order
> to get all 50 parts, lots of servers would have to be working. The
> odds of one of them not working would be very very high.
(I doubt those that would rather binaries not be distributed on Usenet
at all would mind this little problem.)
> To make it work that way, you would really need to modifiy the
> newsreader.
Not necessarily. The full article could be treated as superseding the
headers and having a new local article number. Thus the new article
would present itself as unread to all users and can be collected. The
"pending request" is really for server-to-server communication. The
newsreader could be presented with an error message of "article not on
server" as many newsreaders deal with when the XOVER data references
articles that have expired or been cancelled.
> That's possible of course, but makes it all that much harder to put
> this into use. No one could convert their news server to this system
> until most (if not all) of their users had newsreaders which
> supported the "pending request" issue.
>
> Here's another idea....
>
> Use the single path approach but add in some full-feed backup servers
> to use when the fetch through the cache network doesn't work or takes
> too long.
A client could access multiple servers and, if a request fails through
one, it could attempt to retrieve the same article (by MID) through an
alternate server. As with full article feeds, the likelihood that
they'll find all parts is increased with the number of accessible
servers. Multiple paths to the originating server become available to
the client. Preferably they will be sufficiently different and one not
being a subpath of another in total (by definition they'll have at least
one hop in common: the last hop).
> I'd have to think about this more than I'm willing to do at the
> moment as to what problems it would cause...
I'm less concerned with the problems as I am with the implications. See
an earlier article of mine on this. It could serve to leak information
about a user's reading habits off-site, where before one couldn't
measure the number of lurkers in a group (and I'd think the lurkers'd
prefer that).
--
-- --- <greg@apple2.com>
-- -- -- ------------------------------------------------------------------
-- -- --- <http://www.war-of-the-worlds.org/>
--- (Not associated with Quake Clan Deimos, War Machine of Mars)
Re: Header-Only feeds (was: A nice side benefit of WebReader)
Author: Jeremy
Date: Wed, 22 Dec 1999 00:00
Date: Wed, 22 Dec 1999 00:00
19 lines
1485 bytes
1485 bytes
Curt Welch <curt@kcwc.com> wrote: >> What are the odds that server admins would *want* to be a "full-feed" >> server vs. a "header-feed" server that goes back to another server to >> get bodies on demand? > > Close to 0. That's the point I made in another post. What they would want > is to receive a header-only feed, but send out full articles. And because > everyone would want that, then no one would get the advantage of the > header-only feed, so it just won't work. Heh... let's not be hasty, here. I think it's fairly certain that I'd want to be a full-feed server. But then, I'm a bit different, and inbound bandwidth is the *least* of my concerns. :) -- Jeremy ( jeremy@exit109.com | bofh@netscum.dk )
Re: Header-Only feeds (was: A nice side benefit of WebReader)
Author: Curt Welch
Date: Wed, 22 Dec 1999 00:00
Date: Wed, 22 Dec 1999 00:00
56 lines
4092 bytes
4092 bytes
AML98@hotmail.com (A) wrote: > curt@kcwc.com (Curt Welch) wrote in > <19991221195048.225$bm@newsreader.com>: > >Imagine someone trying to piece together a 50 part posting. Different > >parts would probably arive via different paths, so in order to get all > >50 parts, lots of servers would have to be working. The odds of one of > >them not working would be very very high. > > It seems highly unlikely that anyone would be interested in part 37 of a > 50 part posting on it's own, so any request for part 37 would almost > certainly be accompanied by a request for parts 36 and 38 (an 1 through > 50). Except for the occasional random skimmer, such multipart requests > would almost invariably use the same path. Sure, the request would all come from the same place for that reason. But we were talking about using the Path: header from each article to figure out what path to use when sending the request back. And when you get 50 articles, even from the same source, the odds of them all comming to you by the same path (for a server with multiple peers) is very unlikely. For example, I looked at a multipart post in the mp3 group, and looking at only 5 of the 20 parts, I fould 3 different paths: news2.newsreader.com ! feed.newsreader.com ! yellow.newsread.com ! netaxs.com ! newsread.com ! newspeer1.nac.net ! newsfeed.wirehub.nl ! tank.news.pipex.net ! pipex ! remarQ-uK ! rQdQ ! supernews.com ! remarQ.com ! corp.supernews.com ! not-for-mail news2.newsreader.com ! feed.newsreader.com ! uunet ! ffx.uu.net ! portc05.blue.aol.com ! supernews.com.MISMATCH ! remarQ-easT ! tank.news.pipex.net ! pipex ! remarQ-uK ! rQdQ ! supernews.com ! remarQ.com ! corp.supernews.com ! not-for-mail news2.newsreader.com ! feed.newsreader.com ! uunet ! ffx.uu.net ! newsfeed.nyc.globix.net ! news.new-york.net ! dca1-hub1.news.digex.net ! intermedia ! newsfeed.direct.ca ! remarQ70 ! rQdQ ! supernews.com ! remarQ.com ! corp.supernews.com ! not-for-mail So, as a server tried to fetch these parts, it would end up going though all these different paths trying to get the articles. The first path has 14 hops listed. But all three paths together list a total of 25 different hops. So my point was, when trying to fetch a 50 part series, the odds of one of those hops not working would be much greater than when trying to fetch a single article. Looking at this I realize the server could analize these paths and learn that that there are really X different ways to get articles from the same source, and make some attempt to remeber what path worked best in the past and continue to use that in the future -- that way the server would tend to use the same path for all the parts even though they came to the server from different paths. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Header-Only feeds (was: A nice side benefit of WebReader)
Author: Frank Slootweg
Date: Wed, 22 Dec 1999 00:00
Date: Wed, 22 Dec 1999 00:00
28 lines
2195 bytes
2195 bytes
greg@apple2.com wrote: > In article <19991221195048.225$bm@newsreader.com>, > curt@kcwc.com (Curt Welch) wrote: [deleted] > > Here's another idea.... > > > > Use the single path approach but add in some full-feed backup servers > > to use when the fetch through the cache network doesn't work or takes > > too long. > > A client could access multiple servers and, if a request fails through > one, it could attempt to retrieve the same article (by MID) through an > alternate server. As with full article feeds, the likelihood that > they'll find all parts is increased with the number of accessible > servers. Multiple paths to the originating server become available to > the client. Preferably they will be sufficiently different and one not > being a subpath of another in total (by definition they'll have at least > one hop in common: the last hop). You lost me here. With "client" you mean a newsreader (the software), don't you? Are you proposing that Joe Luser's newsreader connects to multiple News servers? If so, do you think it is likely that Joe Luser has access to multiple servers? Most people have only access to a single server. Frank "confused" Slootweg
Re: Header-Only feeds (was: A nice side benefit of WebReader)
Author: Curt Welch
Date: Wed, 22 Dec 1999 00:00
Date: Wed, 22 Dec 1999 00:00
66 lines
3812 bytes
3812 bytes
greg@apple2.com wrote: > In article <19991221151141.253$TK@newsreader.com>, > curt@kcwc.com (Curt Welch) wrote: > > > 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, > > Mitigated by the relative value of the article though. The more popular > the article, the more likely a nearer server has it cached. Yes that effect works nicely. It makes the expected chaining depth of the requests much shorter than you would otherwise expect. > > but what happens when > > there's problems? You have to wait for timeouts before trying other > > paths, > > No, retrieval is by a single path. My comments were in response to Frank's article which stipulated there _would_ be multiple paths to solve the redundancy problem. The big problems I talked about were all caused by trying to use multiple paths and are all solved with the single path algorithm. But with the single-path algorithm, you have the redundancy problem to solve. With that, the ability of your news server to deliver a news article becomes dependent on a whole string of servers that you have no control over. And in general, I'd expect that solution to be so slow, and or so unrelieable as to be unworkable. > If it fails, it fails, becoming > a "pending request" to be filled when the server comes back up. NNTP based newsreaders today can't deal with that. What it would mean in real life is that lots of the large articles you try to read just won't be there. Imagine someone trying to piece together a 50 part posting. Different parts would probably arive via different paths, so in order to get all 50 parts, lots of servers would have to be working. The odds of one of them not working would be very very high. To make it work that way, you would really need to modifiy the newsreader. That's possible of course, but makes it all that much harder to put this into use. No one could convert their news server to this system until most (if not all) of their users had newsreaders which supported the "pending request" issue. Here's another idea.... Use the single path approach but add in some full-feed backup servers to use when the fetch though the cache network doesn't work or takes too long. I'd have to think about this more than I'm willing to do at the moment as to what probelms it would cause... -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Header-Only feeds (was: A nice side benefit of WebReader)
Author: Brad Knowles
Date: Wed, 22 Dec 1999 00:00
Date: Wed, 22 Dec 1999 00:00
19 lines
1886 bytes
1886 bytes
In article <19991221151141.253$TK@newsreader.com>, curt@kcwc.com (Curt
Welch) wrote:
> 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.
I really think that all these issues have been dealt with already by
caching web proxy servers, and if we could just find a way to adapt the
same solutions to NNTP, we'd be much better off.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 65? If so, please contact me via private e-mail for details.
Re: Header-Only feeds
Author: 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.
Re: Header-Only feeds (was: A nice side benefit of WebReader)
Author: Curt Welch
Date: Wed, 22 Dec 1999 00:00
Date: Wed, 22 Dec 1999 00:00
74 lines
4947 bytes
4947 bytes
franks@neth.hp.com (Frank Slootweg) wrote: > Curt Welch (curt@kcwc.com) wrote: > > franks@neth.hp.com (Frank Slootweg) 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? :-)) > > > > Yeah, that's clear. There will always be servers which either aren't > > reachable such as yours, or not on-line like UUCP connected servers, or > > simply which aren't supporting this feature. So you can never assume, > > or expect, that there would be a day when all orginating servers would > > be available. > > > > But the idea as we have talked about deals with this. Any article > > which comes from a server such as yours, simply would not have a Body: > > header added to it. Only servers that were willing to act as Body > > servers would add the Body: header. > > Perhaps I am missing something, but I think that this Intranet/Internet > issue needs further thinking. For example let me take a public group > like comp.sys.hp.*, which, for obvious reasons, is carried on our > Intranet. For these groups, I would be willing to act as a Body: server > for articles which originated on my server (and probably also for other > articles in these groups). I would be willing to serve our Intranet and > would perhaps even be *willing* to serve the Internet, but (as > explained) *can* not do that. So I put a Body: header in the header of > these articles in order to serve our Intranet. But I think this would > mean that such Body: headers would have to be *removed*/changed at the > 'gateway' News servers which are between our Intranet and the Internet. > I think this remove/change issue has not yet been addressed. I've thought about it. Bascially, if you put a Body: header on an article, and send it to the net, then the server listed in the Body: header must be available to the net. If it's not, then you shouldn't do that. In your case, it might work in a way where your server sends different versions of the article to your internal server, vs what it sends to the gatway for transport to the rest of the world. That way, the orginating sever deals with the issue instead of the gatway having to know what to strip off of what. But all in all, I think this is getting a bit too complex. Even if the software had all the features needed to make this work, what are the odds that people in general would configure there systems correctly for something like that? A lot of admins would get it wrong and you would have all sorts of bogus crap on the net. Of corse, for the hp groups you talk about, none of this is really needed anyway because the articles aren't large enough. But the same thing could happen for some case where might be needed. > Also I > think that if the gateway News servers in turn become the Body servers > for all these articles, they would easily get overloaded by requests > from the outside. Yeah, that's a clear issue with this design that has been touched on a lot in these threads. It's hard to know for sure just how much of a load they would get without trying it, but it's clearly a big risk of the design. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Header-Only feeds (was: A nice side benefit of WebReader)
Author: A
Date: Wed, 22 Dec 1999 00:00
Date: Wed, 22 Dec 1999 00:00
16 lines
1783 bytes
1783 bytes
curt@kcwc.com (Curt Welch) wrote in <19991221195048.225$bm@newsreader.com>: >Imagine someone trying to piece together a 50 part posting. Different >parts would probably arive via different paths, so in order to get all >50 parts, lots of servers would have to be working. The odds of one of >them not working would be very very high. It seems highly unlikely that anyone would be interested in part 37 of a 50 part posting on it's own, so any request for part 37 would almost certainly be accompanied by a request for parts 36 and 38 (an 1 through 50). Except for the occasional random skimmer, such multipart requests would almost invariably use the same path. A
Re: Header-Only feeds (was: A nice side benefit of WebReader)
Author: Frank Slootweg
Date: Wed, 22 Dec 1999 00:00
Date: Wed, 22 Dec 1999 00:00
45 lines
3368 bytes
3368 bytes
Curt Welch (curt@kcwc.com) wrote: > franks@neth.hp.com (Frank Slootweg) 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? :-)) > > Yeah, that's clear. There will always be servers which either aren't > reachable such as yours, or not on-line like UUCP connected servers, or > simply which aren't supporting this feature. So you can never assume, > or expect, that there would be a day when all orginating servers would > be available. > > But the idea as we have talked about deals with this. Any article > which comes from a server such as yours, simply would not have a Body: > header added to it. Only servers that were willing to act as Body servers > would add the Body: header. Perhaps I am missing something, but I think that this Intranet/Internet issue needs further thinking. For example let me take a public group like comp.sys.hp.*, which, for obvious reasons, is carried on our Intranet. For these groups, I would be willing to act as a Body: server for articles which originated on my server (and probably also for other articles in these groups). I would be willing to serve our Intranet and would perhaps even be *willing* to serve the Internet, but (as explained) *can* not do that. So I put a Body: header in the header of these articles in order to serve our Intranet. But I think this would mean that such Body: headers would have to be *removed*/changed at the 'gateway' News servers which are between our Intranet and the Internet. I think this remove/change issue has not yet been addressed. Also I think that if the gateway News servers in turn become the Body servers for all these articles, they would easily get overloaded by requests from the outside. I.e. my gesture of willing to be a Body server would become a burden for those gateway News servers. [Note: I used the terms "the Internet" and "gateway" somewhat loosely.] [Much deleted]
Re: Header-Only feeds (was: A nice side benefit of WebReader)
Author: Curt Welch
Date: Wed, 22 Dec 1999 00:00
Date: Wed, 22 Dec 1999 00:00
168 lines
9392 bytes
9392 bytes
greg@apple2.com wrote: > In article <19991221195048.225$bm@newsreader.com>, > curt@kcwc.com (Curt Welch) wrote: > Okay, then let's look at how multiple paths could be handled. > > Perhaps an individual server can keep track of what other servers have > offered to supply headers (or, better yet, full-bodied articles) with > the same ID as an ID they already have. "You offered me this article > once, but I already had it then. Could I get it from you now?" Then if > a request along one path fails, they still know another server that has > a path to the root server that may be able to retrieve the article. That's the same thing Mike said in <83nonm$buk$1@enterprise.cistron.net>: | 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. and it was in reply to that idea that I wrote the comments about flooding the net and loops. > But > only one path may be traversed at a time. Only if failure is known for > a certainty should alternative paths be checked. I don't think the one-at-a-time rule helps and it only slows down the total time it might take to retreive an article. > Since the retrieval paths are based upon the Path header, some servers > may be asked multiple times from different paths, but no server will be > part of a loop. The available routes will be exhausted. Well, if you distinguish between a newsreader asking for an article, and another server doing a recursive request for the article then you can prevent loops by only allowing the first server in the chain to try multiple paths. But if all servers are trying multiple paths for all requests, you get the loop problem. And if you limit the ability to try multiple paths to only the first server, then you really haven't solved the redundancy problem. Both you and your peers may have gotten the article from basically the same path, but yet one of your peer's peers may have gotten it from a completly different path. > > NNTP based newsreaders today can't deal with that. > > Would they have to deal with it? If they're patient, the full article > will eventually arrive. But if you do a pending request thing because a server is down, it may takes hours or days before the article arrives. Even if the newsreader software is that patient, the user won't be. > > What it would mean in real life is that lots of the large articles > > you try to read just won't be there. > > > > Imagine someone trying to piece together a 50 part posting. > > Different parts would probably arive via different paths, so in order > > to get all 50 parts, lots of servers would have to be working. The > > odds of one of them not working would be very very high. > > (I doubt those that would rather binaries not be distributed on Usenet > at all would mind this little problem.) True, but if the solution is to make the binaries un-usable, lets just filter them out of the net instead of going to all this trouble to make a "bad" system to transport them. :) > > To make it work that way, you would really need to modifiy the > > newsreader. > > Not necessarily. The full article could be treated as superseding the > headers and having a new local article number. Yeah, that would work. Inetersting idea. But it would make life suck for the user. You keep clicking on articles and getting "article not available" messages. Then by magic the article would show up later as a new article. But this time when you click on it it works. So think of this. You go to a alt.binaries.whatever group, and there are 4932 new messages. You scan down the list of subjects and pick some random article you think might be good and click on it. The newsreader pauses for 30 seconds, and then says "not available". You click on another, the newsreadser pauses for 30 seconds and then says "not avalibale". You refresh your headers. Now you have 5028 new messages. Two of those 5028 new messages are the ones you just requested. If you can find them, and click on them again, you would be able to see the real article. But if you click on any of the other 5026 article by mistake, you get another 30 second delay, and then a "not avaliable message". Do you actually think users would put up with that? Do you think any usenet site would be willing to force this on their users? There support phones wouldn't stop ringing for a month if the did that. Now you could make that a little better if the server returned the header-only article with a message like: "The body of this article has been requested and when it arrives, it will apear as a new article in the group". And I guess if it modified the subject to read "Header Only: xxxx", then that would make it obvious for the user. That would help the users deal with the new system without modifying the enwsreaders. But lots of users like to use various tools for downloading and combining multipart posts. And all of those automated tools would break with a system like this. Bascially, a soultion isn't very workable if it changes what the clients expects to see. All you have to do is change it in a subtle way (like longer delays in response to an NNTP command than expected), and it will cause problems. If you do something major like replacing articles with "fake" articles, it will cause lots of chaos. Now, if the newsreader software "knew" about what was going on, it could spot the "header-only" messages, and mark them as such for you. And it could give you a nice little button to hit to request the article. And because the reader "knew" it was likely to take some time, it would go off in the background and put in a reqeust for the article. And it would be smart enough to do whatever it took to allow you to request whole sets of articles at the same time. And it would look for those articles to show up, and when they did, it would change the indication on the display from "header-only" to "full-article", so you could easilly tell it was there and ready to be read. etc. etc. So, yes, I think the newsreadser really would have to be modified before this would be a "workable" solution. > > That's possible of course, but makes it all that much harder to put > > this into use. No one could convert their news server to this system > > until most (if not all) of their users had newsreaders which > > supported the "pending request" issue. > > > > Here's another idea.... > > > > Use the single path approach but add in some full-feed backup servers > > to use when the fetch through the cache network doesn't work or takes > > too long. > > A client could access multiple servers and, if a request fails through > one, it could attempt to retrieve the same article (by MID) through an > alternate server. Yes, that's possible, but I think it makes more sense to let the server do that type of work and just present a complete set of articles to the client. That way, you "fix" one server, and you end up solving the problem for all the clients. If you "fix" a problem at the client level, then everyone must modify their clients before the problem is solved. And the problem we are trying to fix here is feed size bandwidth, which is not (directly) an end-user problem. It's a server admin problem. So it's best to fix it at the server side if possible. > > I'd have to think about this more than I'm willing to do at the > > moment as to what problems it would cause... > > I'm less concerned with the problems as I am with the implications. See > an earlier article of mine on this. It could serve to leak information > about a user's reading habits off-site, where before one couldn't > measure the number of lurkers in a group (and I'd think the lurkers'd > prefer that). Yeah if the client started contacting multiple sites I think there are a lot end users that wouldn't like that. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Header-Only feeds
Author: 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/
Re: Header-Only feeds (was: A nice side benefit of WebReader)
Author: A
Date: Thu, 23 Dec 1999 00:00
Date: Thu, 23 Dec 1999 00:00
45 lines
3293 bytes
3293 bytes
curt@kcwc.com (Curt Welch) wrote in <19991222101315.617$w8@newsreader.com>: >AML98@hotmail.com (A) wrote: >> curt@kcwc.com (Curt Welch) wrote in >> <19991221195048.225$bm@newsreader.com>: >> >Imagine someone trying to piece together a 50 part posting. >> >Different parts would probably arive via different paths, so in order >> >to get all 50 parts, lots of servers would have to be working. The >> >odds of one of them not working would be very very high. >> >> It seems highly unlikely that anyone would be interested in part 37 of >> a 50 part posting on it's own, so any request for part 37 would almost >> certainly be accompanied by a request for parts 36 and 38 (an 1 >> through 50). Except for the occasional random skimmer, such multipart >> requests would almost invariably use the same path. > >Sure, the request would all come from the same place for that reason. >But we were talking about using the Path: header from each article to >figure out what path to use when sending the request back. And when you >get 50 articles, even from the same source, the odds of them all comming >to you by the same path (for a server with multiple peers) is very >unlikely. For example, I looked at a multipart post in the mp3 group, >and looking at only 5 of the 20 parts, I fould 3 different paths: But is that a factor of the (relatively) slow distribution of large posts, and would you see the same distribution for header only posts that are supposed to get distributed so much faster than full body posts? And, if you have to modify the servers to distribute headers only, can you modify them to use the same peer for all parts of a multi-part post? <snip> >..that way the server would tend to use the same path for all the parts >even though they came to the server from different paths. If that's the best solution, the best way to implement it is to avoid the duplicate paths in the first place - would header-only posts avoid some of the problems that peered distribution solves? (Caveat - I have absolutely no idea what I'm talking about). A
Re: Header-Only feeds
Author: Stephen R. van den Berg
Date: Thu, 23 Dec 1999 00:00
Date: Thu, 23 Dec 1999 00:00
24 lines
1942 bytes
1942 bytes
Frank Durda IV <uhclem.jan00@nemesis.lonestar.org> wrote:
>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.
>**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.
You could of course, decide to act as a regional concentrator (might
be good, if you have lots of (paying) clients) and decide to fetch
the body and advertise yourself with a + in the path to your peers.
--
Sincerely, srb@cuci.nl
Stephen R. van den Berg (AKA BuGless).
"Having a non-smoking section in a restaurant is like
having a non-peeing section in a pool."
Re: Header-Only feeds
Author: Stephen R. van den Berg
Date: Tue, 28 Dec 1999 00:00
Date: Tue, 28 Dec 1999 00:00
32 lines
2163 bytes
2163 bytes
Frank Durda IV <uhclem.jan00@nemesis.lonestar.org> wrote:
>[18]Curt Welch (curt@kcwc.com) wrote:
>[18]If you mix it in the Path:, then you end up breaking existing systems
>[18]with the new feature (even if only in minor ways).
>Not really. I have neighbors tell me they are adding this or that backup
>server and hand me additional aliases all the time. Someone who is going
>to be a donor simply has to tell their feed neighbors to alias out whatever
>they alias out now, plus the same system names with a + on the front.
However, since you're adding a new headerfield anyway...
>See above. When a server converts the body of a post into a mini-body,
>it adds a header (I suggested "Body-Truncated-at:"), which provides the
Why not leave the Path: field intact, and simply use the new field
to convey information on where the article can be fetched?
Body-Truncated-at: body-size, origin-server, donor-server-1,
donor-server-2, donor-server-3, ...
Append servers at the right, fetch preference from right to left (possibly
correlated with the Path: field, if your like).
Same benefits, no conflict with existing Path: parsing, no drawbacks (just
clearer).
--
Sincerely, srb@cuci.nl
Stephen R. van den Berg (AKA BuGless).
"When you are in it up to your ears, keep your mouth shut."
Re: Header-Only feeds
Author: Stephen R. van den Berg
Date: Tue, 28 Dec 1999 00:00
Date: Tue, 28 Dec 1999 00:00
29 lines
2142 bytes
2142 bytes
In article <83ta6f$7tm$1@zeus.fw.cuci.nl>,
Stephen R. van den Berg <srb@cuci.nl> wrote:
>Frank Durda IV <uhclem.jan00@nemesis.lonestar.org> wrote:
>>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.
>>**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.
>You could of course, decide to act as a regional concentrator (might
>be good, if you have lots of (paying) clients) and decide to fetch
>the body and advertise yourself with a + in the path to your peers.
Even better, don't fetch the body, but act as a cache to your peers (i.e.
advertise with a +, but don't fetch until asked yourself).
--
Sincerely, srb@cuci.nl
Stephen R. van den Berg (AKA BuGless).
"When you are in it up to your ears, keep your mouth shut."
Re: Header-Only feeds
Author: Frank Durda IV
Date: Tue, 28 Dec 1999 00:00
Date: Tue, 28 Dec 1999 00:00
257 lines
15827 bytes
15827 bytes
[17]Frank Durda IV <uhclem.jan00@nemesis.lonestar.org> wrote:
[17]Require a post to be available from the first N (say three)
[17]"participating" servers in the Path: header. Also, instead of going to
[17]the originating server, go to the closest server (left-most offering host
[17]by Path:) first, which hopefully will disperse the volume of requests for
[17]the same article over several different servers. The more feeds the
[17]first three sites deliver the complete article to, the more dispersed the
[17]query volume will be for that article.
[18]Curt Welch (curt@kcwc.com) wrote:
[18]Yeah that's a neat technique. You're not going to patent it are you? :).
Although I have a few patents from years ago, software patents are stupid,
and if I had spare time, I would blow time invalidating various stupid patents.
I found prior art for TIs POST diagnostics patent and a former employer used
that not to invalidate the patent, but to negotiate some other deal, leaving
TI free to sue others with their invalid patent. I also know a few of MSes
patents can be destroyed with a little time and determination because there
aren't enough survivable claims. However, this is a sport for the rich and
those with vast quantities of time.
In real life, only the rich/powerful/monopolistic can afford to file and/or
try to invalidate patents, and these fat cats are the same ones who feel they
can ignore or engineer around any patent that gets in their way from a smaller
company or individual, making software patents a tool to block smaller
developers from being in the software business, as the big boys will prosecute
any violation by the small guy and the small guy won't be able to take on the
big guy when the big guy violates the small companies patents. This is not
what patents were originally envisioned to do, but that's how they are used
these days. This behavior makes patents useless apart from being a device to
shore-up the odd abusive software industry monopoly.
Enough of that, now to the subject at hand.
[18]Another good feature of your algorithm is that it integrates nicely with
[18]the current feed network. That is, we don't have to build a parallel set
[18]of servers which support the "new" system. With most the other techniques
[18]we talked about I could only see it working if you set up a separate feed
[18]network on the side.
The entire point was to remain COMPLETELY within the current infrastructure,
even down to selecting trigger characters for the Path: that are already
legal for that header per existing RFC. Further, NO new server commands are
required. Sure you can add some, but there is no point. In the setup I
suggest, there is never an article that has no body, so no special command
is needed to handle this situation. It ALWAYS has the original body, or a
"mini body" that says something like: "body available at URL:....". Even
if we didn't want to provide this functional toe-hold for people using servers
that don't know how to get the full bodies (the URL pointer), a blank line in
the body would still be sent to guarantee backward article handling
compatibility.
I recommend only a single added header line to the headers to make detection
of a mini-body to be determinable just by looking at the headers via HEAD and
similar handshakes. It could also be an extension to an existing header, but
chances are that would break things, so a new header line is best. This extra
header line would tell a server that that if a reader asks for the body via
BODY or ARTICLE commands, it needs to go get it from the addresses stipulated
in the Path: header. The Nth hop, where the full body is replaced with the
mini-body would be responsible for adding this extra header line, say
"Body-Truncated-at: %s, %d bytes"
where the first %s is pointing to Hop N, the first place to go when the mini
body needs to be replaced with the full body. The %d indicates the true size
of the full body, as this is needed info on the receiving end.
[18]If you were willing to convert your site to one which used the header-only
[18]system, all you have to do is upgrade your current transit server to one
[18]which knows about the new technology. And I'm thinking you would probably
[18]set up a new server to act as a body server to the world as well (but the
[18]transit server could try to do that).
The transit server is the wrong place for getting full bodies, because most
transit servers have tiny spools (at least that is the case on the "big"
servers out there), and so a site would have an article on its main article
spool days or even weeks after it was no longer available on that sites
transit servers. Since most sites add their main server name to the Path:
in addition to the transit server names (hey - you want a low Freenix
number, right?), so providing the correct location should not be an issue.
Of course, this scheme raises a concern that some people* likely have, which
is "If I participate in such a scheme, what's to prevent people from just
scanning headers looking for effectively "free read" servers and sucking all
articles off my server, no matter what?" Good question. This problem
has to be solved by having the donor server (one that offers full-bodies)
be obnoxious. A donor server should only provide article bodies requested
when that article on that server has the "+" tag in the Path: on the local
copy of the article. In other words, the donor server will offer ONLY the
articles for which it has agreed to be the donor, those from the first three
hops. If that server is secretly holding other articles, it won't provide
them to strangers even if it has them. That's to prevent someone from just
going to a known fast server in their area of the net with a big retention
time and just sucking down every article they can think of at the expense
of that donor server.
* Those of us who run premimum servers have to protect our systems on this
point or no one would bother to buy the premimum news service. Whether
this provides enough protection against freeloaders is a study left to
ponder.
Along these lines, donor servers should only provide articles requested by
message-ID, not by group/article number, don't offer headers and none of the
XHDR/XOVER/NEWNEWS/GROUP/LIST type commands work for strangers. It might
even be prudent to limit the number of BODY/ARTICLE commands per connection
without authenticating, something that would match the behavior of a
well-behaved remote server that was responding to random requests for articles
by contacting various different systems based on the Path: data, and so it
would not hold the connection to a given server open very long.
The Donor server could also limit how many days later a full body can be
requested to something less than the expiration time on that server. This
protects the expense some sites have of terrabytes of storage for longer
retention time for theyr paying customers but still allows them to participate
in the donor server strategy. Since a lot of the big posts are posted
via the premimum servers, their cooperation in this is essential if any sort
of scheme like this was ever to work.
NNRPD (or similar newsreader servers) have to be modified enough to accept
BODY <message-ID> (and perhaps ARTICLE <message-ID>) while in a 480 state
(not yet authenticated) and return the article only if it's own name appears
in the Path: of that article with a "+". Example:
Asking the infringement.net news server for BODY <xyzzy@foobar>
would work if the Path: at infringement.net was:
Path: +infringement.net!there.net!+nowhere.edu!+place.com!pirate-o-matic
Path: +infringement.net!bar.com!+place.com!pirate-o-matic
Path: +infringement.net!bell.com!frobozz
Path: +infringement.net!not-for-mail
or any Path: that starts with a "+", but not if the Path: at
infringement.net was:
Path: infringement.net!+there.net!+nowhere.edu!+place.com!pirate-o-matic
or any other Path: that doesn't start with a "+". That is the only
test that has to be made.
So someone can only suck an article from a given donor server if the article
in question arrived at that donor server in the first N participating hops
of the propagation.
Donor server administrators might also limit donor connections to servers that
have a reverse DNS of two or three segments (eg, foobar.com or
news.foobar.com), eliminating most direct connections from modem pools and
other individual client PCs who have no reverse domain names or far longer
domain names, eg ppp145.clarksdale.foobar.com or cf.dd.a1.09.adsl.foobar.com.
[18]You could run the "body-server" as a separate process on
[18]the same box you use for transit as well of course.
There is no reason to have a separate server or even a separate daemon for
the donor server function. The main server where the longer expiration
time would be the place that such a query should go anyway.
A less-ideal solution would be to define a global donor server port number
to separate that traffic from normal local NNTP/NNRP traffic. However,
in my opinion, it would better to use the traditional port and make minor
changes to the NNRPD (or equivalent) daemon to know how to be a donor and
limiting access when in that mode. If not by permissions, perhaps a new
command "DONOR" to put it in the mode. You have to go in that code module
anyway to teach the daemon how to go to a donor server should someone ask
for the full body of an article when locally you only have the mini body
right now.
On the recipient server who has a request for an article from some news
reader and finds that all it has locally is a mini-body, what it must do to
obtain the full body is understood and discussed above and in the earlier
post. It must be expected that this server will replace the mini-body
locally with the full body, remove the special header and store that
re-assembled article for as long as that article would be kept normally had
it arrived here complete and intact originally, and deliver this to the
originally querying newsreader, plus delivering the local complete copy to
any other readers that request the same article.
For CFS spool systems, you need the ability to free (or skip) the space
originally used for the header and mini body, and add a new copy of the
complete article to the spool (BODY AND HEADERS - remember you have to zap
the line in the headers that says you don't have the complete body - now
you do). This means the mini-body strategy is more complex or slightly more
wasteful at CFS sites. Traditional spools can simply construct and write-out
a new article file with no wasted/gas spool storage.
A variant on this is to always use a NNTP caching system and make it
responsible for obtaining the various pieces and storing it in its cache rather
than perform article substitution in the main spool. This may makes updates
of mini-bodies for full-body articles simpler that what would have to be done
on CFS spool setups, but regardless of method, the goal is to not go back to
the donor server more than a few times for the same article over its retention
life. In a popular binary group, a given part may be requested several
hundred times on each server, and some donor server isn't going to appreciate
your server (and thousands of others) constantly asking for the exact same
article over and over. Plus you are blowing expensive bandwidth doing this.
Buy drives.
Oh, another benefit of such a scheme: forging the Path: line becomes a thing
of the past, unless you don't really want anybody to see your article.
If you fake donor sites, those sites won't return the articles because their
name won't appear in the right place in the Path: on the copy they have,
assuming they got the article at all (in theory they should not). If you add
fake non-donor sites, to the Path:, it will be even more obvious where the
real propagation path starts, where the + signs start to appear. You might
as well put out flares...
[18]That works, but I think using the Path: header isn't the right solution for
[18]this. As you say below, it causes complexities with aliases, and it also
[18]causes problems with systems such as frenix and things like that which look
[18]at path hosts.
If freenix can't grep out the odd "+" character when they process their
logs at the end of the month, then it should prove beyond question that the
stats produced are as useless today as they were in the eighties, when a
little Tandy 6000 (sys1) showed up as the number #1 site on the planet, simply
because it put its name in the Path: a *lot* and offered a few dozen feeds
that were "badly" configured to systems known to be "close" to the freenix
feeds. Yeah, this stunt made some people mad at the time, but it pretty much
proved the point that the formula used is subject to error and deception.
[18]If you mix it in the Path:, then you end up breaking existing systems
[18]with the new feature (even if only in minor ways).
Not really. I have neighbors tell me they are adding this or that backup
server and hand me additional aliases all the time. Someone who is going
to be a donor simply has to tell their feed neighbors to alias out whatever
they alias out now, plus the same system names with a + on the front.
That's not breaking anything, that's configuration. At worst, they will offer
articles back to the donor server needlessly, just like they do now when the
aliases aren't set right.
[18]Also, there's the issue of sites wanting to know how large the full article
[18]is (in bytes) when it's only got the header. You need it for the XOVER
[18]data and for testing the size on outging feeds.
See above. When a server converts the body of a post into a mini-body,
it adds a header (I suggested "Body-Truncated-at:"), which provides the
true article size. The overview data must reflect the size of the full
article, even if the system only has the mini-body currently.
Now, because it's so compatible with the existing scheme of things, someone
with some spare time can come up with a patch in a couple of hours, right? :-)
That'll take care of all the INN/NNRPD servers out there. Now we get to
wait for all the others to steal the idea and try to call it their own...
Frank Durda IV - only this address works:|"I picked up a Magic 8-Ball the
<uhclem.jan00%nemesis.lonestar.org> | other day and it said 'Outlook
| not so good'. I said 'Sure,
This Anti-spam address expires Jan. 31st | but Microsoft still ships it.'"
Copr. 1999, ask before reprinting.
Re: Header-Only feeds
Author: Curt Welch
Date: Wed, 29 Dec 1999 00:00
Date: Wed, 29 Dec 1999 00:00
393 lines
21659 bytes
21659 bytes
uhclem.jan00@nemesis.lonestar.org (Frank Durda IV) wrote: > [17]Frank Durda IV <uhclem.jan00@nemesis.lonestar.org> wrote: > [18]Curt Welch (curt@kcwc.com) wrote: Frank, you're quoting technique is interesting, but like some of your other ideas, I don't think you appreciate the problems it causes others: > [18]Another good feature of your algorithm is that it integrates nicely > with [18]the current feed network. That is, we don't have to build a > parallel set [18]of servers which support the "new" system. With most > the other techniques [18]we talked about I could only see it working if > you set up a separate feed [18]network on the side. > Further, NO new > server commands are required. Sure you can add some, but there is no > point. Maybe you missed my earlier article on this subject. You MUST transport them with special commands to keep header-only articles from leaking into the wild. A site sending out a flood of body-less articles into Usenet would be doing more damage to Usenet than a site sending out cancels for all large articles. It would be cut off from the net within minutes by mobs of angry users and sysadmins. > In the setup I suggest, there is never an article that has no > body, so no special command is needed to handle this situation. Usenet has no problem transporting articles without bodies. So that's not the issue and not why special commands are needed. > It > ALWAYS has the original body, or a "mini body" that says something like: > "body available at URL:....". Even if we didn't want to provide this > functional toe-hold for people using servers that don't know how to get > the full bodies (the URL pointer), a blank line in the body would still > be sent to guarantee backward article handling compatibility. A URL reference alone won't cut it. There are many people who read news off-line, so the URL reference would be useless to them. And more important, there is a shit-load of client software which finds and recombines multipart articles and all of that would have to be re-written to deal with missing bodies. And some of it, which currently works off-line, wouldn't be able to work at all. If this system is going to be used, it must not disrupt the current usenet. And that means you can not go around transforming articles that don't belong to you and then pass them out to the rest of the net. Adding a URL reference to the body you cut off just isn't enough "backward compatibility". You could do that for your own articles if you liked, but you would lose most your customers if you did that. Might is well just set your posting size limit down to 2K. It would have bascially the same effect. The mini-article and URL reference by itself isn't a bad idea and might be useful. But the concept of passing those out to the current Usenet is a very bad idea. > I recommend only a single added header line to the headers to make > detection of a mini-body to be determinable just by looking at the > headers via HEAD and similar handshakes. It could also be an extension > to an existing header, but chances are that would break things, so a new > header line is best. This extra header line would tell a server that > that if a reader asks for the body via BODY or ARTICLE commands, it needs > to go get it from the addresses stipulated in the Path: header. The Nth > hop, where the full body is replaced with the mini-body would be > responsible for adding this extra header line, say > "Body-Truncated-at: %s, %d bytes" > where the first %s is pointing to Hop N, the first place to go when the > mini body needs to be replaced with the full body. The %d indicates the > true size of the full body, as this is needed info on the receiving end. My thought had been that a 'head-only' article would be spotted by looking for the Body: header AND an empty body. But that wouldn't allow for the mini-body possibility. And it makes the test more complex when both things have to be checked. And makes it imposible to tell if the article is complete by only looking at the header. So I like your idea that an article that has had it's body stripped off (and optionaly replaced with a mini-body) has a unique header added to it. But the server which stripped the body off might not be acting as a body server. The site as a whole might not even be running a body server (say for example the hp example of a site cut off from the net by firewalls). So having it record "who did it" I think would be useful. But I don't think it should be expected to be a host which is acting as a server for the body. I'd also prefer the byte count to come first, leave off the "bytes" string and the comma (just more human readable junk in a header which should be optimized for a machine to read). So I'd vote for something more like this: Body-Truncated: <bytes> <path-host> And I'd still vote for a new header to list the body servers instead of messing up the path header. Body-Servers: <bodyhost-spec> [...] > [18]If you were willing to convert your site to one which used the > header-only [18]system, all you have to do is upgrade your current > transit server to one [18]which knows about the new technology. And I'm > thinking you would probably [18]set up a new server to act as a body > server to the world as well (but the [18]transit server could try to do > that). > > The transit server is the wrong place for getting full bodies, because > most transit servers have tiny spools (at least that is the case on the > "big" servers out there), and so a site would have an article on its main > article spool days or even weeks after it was no longer available on that > sites transit servers. Since most sites add their main server name to > the Path: in addition to the transit server names (hey - you want a low > Freenix number, right?), so providing the correct location should not be > an issue. Most sites add their main server name to the path? What Usenet do you live in? Take a look at a handful of Path: lines and them come back here and say that again with a straight face. Most sites simply let their transit server but it's name in the path and that's it. Large sites (which run multiple transit servers) do tend to insert an extra generic name (like Sprint, uunet) in there so their peers can alias out a single name instead of a set of transit server names which is likely to keep changing. And that's fine. And some sites might use their main host name as that "generic" name, but not most sites. Looking at a few paths from my spool I'd say that at most, only 1 out of 10 sites are putting their "main" server's name into the path. I would tend to run a separate server as a body server because I don't want my main server(s) loaded down with requests from outside sites. If my body server get's hit hard from outside users, I don't want it to kill the performance for my paying users. What I would probably want to do however is feed head-only versions of articles to my main server for any articles which I had put into my body server. That way, the spool of the body server is only used for those articles which I am acting as a body server for, and my main spool won't have to waste it's space on those same articles (after all, I have a good connection to my body server). That's also good because that way I'll be using my body server, and if it has troubles, I'm more likely to do something about it instead of just ignoring it. And since the body server only holds articles which were advertised to the world, the additional feature you talk about below to prevent users from reading other articles wouldn't be needed (though it's probably needed in general anyway to allow people to use their main server as the donor server if they wanted to do it that way). > In other words, the donor server > will offer ONLY the articles for which it has agreed to be the donor, Yes, that's important. > * Those of us who run premimum servers have to protect our systems on > this point or no one would bother to buy the premimum news service. > Whether this provides enough protection against freeloaders is a > study left to ponder. I wonder. Might this encourage high-bandwidth downloaders to run their own servers so they don't have to pay a news service a premium for all the bandwidth they use. i.e., they end up stealing the bandwidth from all the donor servers. And then the net as a whole looses because the caching effect that would have happened at the news service doens't happen when you have 100 separate servers each downloading all those mp3s. > Along these lines, donor servers should only provide articles requested > by message-ID, not by group/article number, don't offer headers and none > of the XHDR/XOVER/NEWNEWS/GROUP/LIST type commands work for strangers. It seems resonable to me to support HEAD, BODY, and ARTICLE. If someone only wants the head you sure don't want to force them to download the whole thing. And if they just want the body (which might be typical), why force them to read the head. > It might even be prudent to limit the number of BODY/ARTICLE commands per > connection without authenticating, something that would match the > behavior of a well-behaved remote server that was responding to random > requests for articles by contacting various different systems based on > the Path: data, and so it would not hold the connection to a given server > open very long. But on a large busy server, it seems to me that it would tend to open a connection to a donor server and leave it open for a period of time (say 60 seconds) so in case it was needed again it would be ready to use instead of having to open new connections for every body. So with that design, a server may well want to download a large stream of articles for a single connection. But I guess it doesn't hurt much if you force a disconnect after every 10 requests, and that might slow down hackers... > The Donor server could also limit how many days later a full body can be > requested to something less than the expiration time on that server. > This protects the expense some sites have of terrabytes of storage for > longer retention time for theyr paying customers but still allows them to > participate in the donor server strategy. Since a lot of the big posts > are posted via the premimum servers, their cooperation in this is > essential if any sort of scheme like this was ever to work. Doesn't sound like a good idea in general, but it certainly is an option any Donor would have the right to implement. I'm kinda thinking something like this scheem might be required to get Usenet to the next level. In something like 3 to 4 years, Usenet will pass 100MB/sec and without something like this, there will only be 2 or 3 sites left that are able to build systems large enough to support that. Nobody will want to end up "owning" Usenet and taking responsibility for it's content -- and that's what will happen if only 3 sites are left. So sites might welcome this scheem because without out, they won't be able to stay in the business. > NNRPD (or similar newsreader servers) have to be modified enough to > accept BODY <message-ID> (and perhaps ARTICLE <message-ID>) while in a > 480 state (not yet authenticated) and return the article only if it's own > name appears in the Path: of that article with a "+". Example: Yep. > Donor server administrators might also limit donor connections to servers > that have a reverse DNS of two or three segments (eg, foobar.com or > news.foobar.com), eliminating most direct connections from modem pools > and other individual client PCs who have no reverse domain names or far > longer domain names, eg ppp145.clarksdale.foobar.com or > cf.dd.a1.09.adsl.foobar.com. Maybe the connections need to be more controlled? Like only allowing connections from sites which are also running donor servers. i.e., if you want to access other donor servers, you somehow have to prove that you too are running a donor server. Not sure how a server would "prove" it was running a donor server. And the idea of maintain a current list of valid sites doesn't sound workable. > [18]You could run the "body-server" as a separate process on > [18]the same box you use for transit as well of course. > > There is no reason to have a separate server or even a separate daemon > for the donor server function. Sure there are reasons. It keeps the outside traffic off your main server. And if you do like I suggested above, you end up splitting your spool across two servers -- your donor server and your main server. Any article you send to your donor server, you send only the header to the main server. So you don't end up paying for disk space to store those articles twice. If the main server software is smart enough, it would treat your local donor server as special, and _not_ cache articles from it like it would from all the other donor servers because you would prefer to use it as the cache instead of copying those articles to the main server. Not everyone would want to set up there system like that, but there is a reason why some people would want to do this. > A less-ideal solution would be to define a global donor server port > number to separate that traffic from normal local NNTP/NNRP traffic. > However, in my opinion, it would better to use the traditional port and > make minor changes to the NNRPD (or equivalent) daemon to know how to be > a donor and limiting access when in that mode. If not by permissions, > perhaps a new command "DONOR" to put it in the mode. You have to go in > that code module anyway to teach the daemon how to go to a donor server > should someone ask for the full body of an article when locally you only > have the mini body right now. I think, as was discused before in this thread, that the Body-Server: list should allow for things like optional port numbers, and usernames/passwords to be listed with the host (more stuff that doesn't belong in the path). This gives each of us more options on how to configure our systems to meet our own needs. It we want to run the donor server on the same box, but on a different port, we can do that. If we want to force the donor to authenticate with a special ID, we can do that as well. It might make sense to define a standard default user ID/password scheem like the anonymous login of ftp. Maybe that could come into play with the concept of "proving" you are running a donor server (something like passing the name of your donor server as the password?). > On the recipient server who has a request for an article from some news > reader and finds that all it has locally is a mini-body, what it must do > to obtain the full body is understood and discussed above and in the > earlier post. It must be expected that this server will replace the > mini-body locally with the full body, remove the special header and store > that re-assembled article for as long as that article would be kept > normally had it arrived here complete and intact originally, and deliver > this to the originally querying newsreader, plus delivering the local > complete copy to any other readers that request the same article. Yep. > For CFS spool systems, you need the ability to free (or skip) the space > originally used for the header and mini body, and add a new copy of the > complete article to the spool (BODY AND HEADERS - remember you have to > zap the line in the headers that says you don't have the complete body - > now you do). This means the mini-body strategy is more complex or > slightly more wasteful at CFS sites. Traditional spools can simply > construct and write-out a new article file with no wasted/gas spool > storage. You just add the new "full" copy to the end of the CFS like any other new article which just showed up and then update the indexes so that corresponding article in each group is updated to point to the new "full" version of the article instead of the old. The old space is wasted, but considering this is only done for large articles to begin with, who really cares that 1K of space was wasted for that 50K+ article. I think it's a very resonable price to pay. > ... but regardless of method, the > goal is to not go back to the donor server more than a few times for the > same article over its retention life. Right. > Oh, another benefit of such a scheme: forging the Path: line becomes a > thing of the past, unless you don't really want anybody to see your > article. If you fake donor sites, those sites won't return the articles > because their name won't appear in the right place in the Path: on the > copy they have, assuming they got the article at all (in theory they > should not). If you add fake non-donor sites, to the Path:, it will be > even more obvious where the real propagation path starts, where the + > signs start to appear. You might as well put out flares... Notice however that path forging is just as hard even if you don't use the path to store the list of donor servers. > [18]That works, but I think using the Path: header isn't the right > solution for [18]this. As you say below, it causes complexities with > aliases, and it also [18]causes problems with systems such as frenix and > things like that which look [18]at path hosts. > > If freenix can't grep out the odd "+" character ... And deal with optional :<port>, and anything else like that... It's not just freenix. It's any software that people have written to analize Path: lines. I know of various people who have written custom code which looks at Path: lines to figure out various things about article flows. All these guys will have to update their code if we start redefining the meaning of the Path: line. There's just little advantage to do it -- most donor servers won't be listed there to start with so they have to be inserted as "fake" path hosts which will just cause all this existing software to break. > [18]If you mix it in the Path:, then you end up breaking existing systems > [18]with the new feature (even if only in minor ways). > Not really. Yes really. You will break freenix. They will have to fix it to make it work again. You will break Chris Sedore's tfeed: http://tfeed.maxwell.syr.edu:8080/ He will have to fix it to make it work again. You will break code I have written. I will have to change it to make it work again. > [18]Also, there's the issue of sites wanting to know how large the full > article [18]is (in bytes) when it's only got the header. You need it for > the XOVER [18]data and for testing the size on outging feeds. > > See above. When a server converts the body of a post into a mini-body, > it adds a header (I suggested "Body-Truncated-at:"), which provides the > true article size. The overview data must reflect the size of the full > article, even if the system only has the mini-body currently. Yeah, as I said, I like that concept. What about the Lines: header and the mini-article concept? Should Lines: always tell you the number of lines in the full body? Or should it tell you the number of lines in the mini-body? Maybe we need to add lines to the Truncate header if we want to support the mini-body concept? I was assuming it would always reflect the true full-article size but I didn't think about the mini-body concept. > Now, because it's so compatible with the existing scheme of things, > someone with some spare time can come up with a patch in a couple of > hours, right? :-) That'll take care of all the INN/NNRPD servers out > there. Now we get to wait for all the others to steal the idea and try > to call it their own... If we get this to a point that seems to make sense to implement, I'll be willing to add support for it in my own server (it's a custom server which only I use). And I will probably let a few select people have copies of my server so we could set up a test-bed to try out the concept. But someone else would have to add support for it in INN. But if we get it to the test-bed phase and people like how it's working, then I think it would be easy to find someone willing to add it to INN. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Header-Only feeds
Author: Kjetil Torgrim Homme
Date: Wed, 12 Jan 2000 00:00
Date: Wed, 12 Jan 2000 00:00
78 lines
4525 bytes
4525 bytes
[Curt Welch] > Frank, you're quoting technique is interesting, but like some of your > other ideas, I don't think you appreciate the problems it causes > others: If you're using Emacs to edit your posts, check out C-x f (set-fill-prefix). > My thought had been that a 'head-only' article would be spotted by > looking for the Body: header AND an empty body. I think it would be useful if the newsreader could know whether the article was present at the server or not. The Body-* headers should suffice if one of them was added to the overview information. This means that you need to update the overview information if you fetch the body. > > In other words, the donor server > > will offer ONLY the articles for which it has agreed to be the donor, > > Yes, that's important. Matt Dillon has written a general authentication scheme (DGP) for Diablo. With it, you can sign all articles passed on to your peers. This enables you to issue a cancel message which will only affect _them_. [This could come in handy in some legal situations.] Anyway, I'm thinking a similar scheme could be put to use here. The donor crypts the message-id and includes the hash in the Body-Server header. The endpoint server can present the Message-ID and the hash, and the donor can verify that it did indeed originate the header. Should be pretty simple to implement, actually. Since only the body server knows the hashing function, the algorithm and key can be changed at will. > I wonder. Might this encourage high-bandwidth downloaders to run > their own servers so they don't have to pay a news service a > premium for all the bandwidth they use. i.e., they end up > stealing the bandwidth from all the donor servers. And then the > net as a whole looses because the caching effect that would have > happened at the news service doens't happen when you have 100 > separate servers each downloading all those mp3s. This is a problem. I'm not sure what to do about it. If the downloaders had to pay different prices for bandwidth onsite and offsite, they might do the right thing. This assumes that their Internet provider also is a Usenet provider (with this scheme in place, you'd be silly not to provide Usenet locally). > But on a large busy server, it seems to me that it would tend to open a > connection to a donor server and leave it open for a period of time (say 60 > seconds) so in case it was needed again it would be ready to use instead of > having to open new connections for every body. So with that design, a > server may well want to download a large stream of articles for a single > connection. But I guess it doesn't hurt much if you force a disconnect > after every 10 requests, and that might slow down hackers... I don't see the problem. It is very hard to read Usenet with only ARTICLE <msgid> available. > What about the Lines: header and the mini-article concept? Should > Lines: always tell you the number of lines in the full body? Or > should it tell you the number of lines in the mini-body? Maybe we > need to add lines to the Truncate header if we want to support the > mini-body concept? > > I was assuming it would always reflect the true full-article size > but I didn't think about the mini-body concept. I think Lines: (and Bytes:, a common extension) should reflect the size of the full article. The information given in XOVER is more useful that way. Kjetil T.
Page 2 of 2 • 85 total messages
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