Thread View: news.software.readers
122 messages
122 total messages
Page 3 of 3
Started by Robert Uomini
Tue, 14 Dec 1999 00:00
Page 3 of 3 • 122 total messages
Re: A nice side benefit of WebReader
Author: Frank Slootweg
Date: Mon, 20 Dec 1999 00:00
Date: Mon, 20 Dec 1999 00:00
20 lines
1759 bytes
1759 bytes
$DRIFT ON Joe Mac (joemac@optonline.SPAMBLOCKnet.invalid) wrote: > uomini@fractals.com wrote: [deleted] > >At least I provide useful information in my signature... > > Hmmm....I have no website I want to advertise, so I put my name at the > bottom so people know who the post is from. That's all the useful sig > info I need to provide. Nice attack though. > > -- > Joe Mac How is the "Joe Mac" in your 'signature' really different from the " (Joe Mac)" in your From: line? I probably can come up with a 'reason', but I'm interested what yours is, if any. $DRIFT OFF (Yeah right! :-))
Re: Header-Only feeds
Author: bill davidsen
Date: Tue, 21 Dec 1999 00:00
Date: Tue, 21 Dec 1999 00:00
44 lines
2933 bytes
2933 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
6040 bytes
6040 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
1410 bytes
1410 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
4017 bytes
4017 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
2120 bytes
2120 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
3737 bytes
3737 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
1811 bytes
1811 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
6453 bytes
6453 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
4872 bytes
4872 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
1708 bytes
1708 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
3293 bytes
3293 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
9317 bytes
9317 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
10936 bytes
10936 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
3218 bytes
3218 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
1867 bytes
1867 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
2088 bytes
2088 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: Frank Durda IV
Date: Tue, 28 Dec 1999 00:00
Date: Tue, 28 Dec 1999 00:00
257 lines
15752 bytes
15752 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: Stephen R. van den Berg
Date: Tue, 28 Dec 1999 00:00
Date: Tue, 28 Dec 1999 00:00
29 lines
2067 bytes
2067 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: Curt Welch
Date: Wed, 29 Dec 1999 00:00
Date: Wed, 29 Dec 1999 00:00
393 lines
21584 bytes
21584 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
4450 bytes
4450 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 3 of 3 • 122 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