Article View: news.software.nntp
Article #42260Header-Only feeds (was: A nice side benefit of WebReader)
From: Curt Welch
Date: Thu, 16 Dec 1999 00:00
Date: Thu, 16 Dec 1999 00:00
215 lines
12719 bytes
12719 bytes
uomini@fractals.com (Robert Uomini) wrote: > Sorry about the munged message. Here it is in its entirety: > > One nice benefit of the transparent HTML technology, even if you > don't post HTML articles, is that it can potentially save significant > disk space on news servers worldwide. Here's how: > > When you post an article which makes use of the technology, only the > NNTP header The article header has nothing to do with NNTP. You are confusing two different standards. > (including the URL of the article) is sent to Usenet. So, > if a news server knows that all the clients it serves understand > transparent HTML, there's no need to send a synopsis of the article; > the body of the article becomes redundant. This technique works even > if the article consists of plain text, as long as it's wrapped in the > standard <HTML><BODY>...</BODY></HTML> tags. No, you can't wrap plan text in that and have it come out correctly. You have to include <PRE> tags and do escape processing on the <, > and & characters to make it display correctly. But if it's plain text the best way is to just make the server know that and give it a type of text/plain instead of text/html and then it works fine. (at least it works fine for web browsers, don't know if your webreader can support text/plain correctly). > Think of the disk space which can be saved... I wonder if this idea might actually be useful. Not for the stupid HTML support that webreader seems to tout, but just as the basis for restructuring how Usenet works to deal with the bandwidth issue. I've been thinking about this as I've read this thread and thought it might be worth while to discusse it. So here are some of my thoughs on the issue (mostly created as I wrote this). I've added news.software.nntp to the newsgroups and set followup to n.s.n and n.s.r because I think to work, this has to be mostly done at the server level and not the newsreader level. What I'm thinking about is creating a standard to allow header-only feeds to become the norm. I use this internally on my servers where my front-end servers get header-only feeds and are able to process all the NNTP commands locally but go to the back-end servers for the actual articles. And lots of other sites have done this with Diablo as well (I use my own custom servers instead of Diablo). It's a great technique because a header-only server can keep up with a full feed with with only a small fraction of the CPU power, disk space, and bandwidth, yet it offloads a large percentage of the user load from the back-end servers. So maybe it would make sense to try and transform Usenet so everyone was passing around header-only versions of the articles. The full version of the article would remain only on central servers, normally the server it was posted on. I think the only protocol change that needs to be made is a new article header which would both indicate that the article was a "header-only" article, and tell where to go to get the article. I'm thinking Body: would be a good candidate for this. I'm not sure what syntax would be best for the content of this header however. A URL could work, but it strikes me that you don't want to allow the full range of URLs. I'm thinking we would just use NNTP to get the articles from the remote server like the way DIABLO works. So all you need is a host name and an optional username/password and port. Maybe the URL syntax is the way to go but have a well defined standard for what's allowed and what's not allowed. A header only feed at todays news volume levels is only around 1GB/day and 100Kbps of bandwidth. That's two orders of magnatude smaller than a full feed. Only the largest ISPs seem to be able to run a news server these days and even some the largest seem to be cutting back their feeds because they can't justify the cost of a full feed. Just about all ISPs would be able to justify running their own header-only server. So how does the net convert to this? I'm thinking it would work something like this. We do it all at the server level. We build servers that have the fetures needed to support the function. For any article posted localy, the server adds the Body: header and is willing to accept connections from anywhere for people to read those articles. You might even set up a seperate server to hold just the articles posted locally and the Body: headers would point everyone to that server (and of course your main server(s) would have to feed all local articles there as well). These "new" servers would be able to accept both normal articles and header-only articles with Body: headers. When a user requests an article that the server only has the header for, the server makes a connection to the remote site and gets the article and sends it to the user. But it also caches the article for other users -- i.e., it acts like a caching server. When feeding, you could configure these "new" servers do do a few different things. For compatibility with current servers, they must have the option of doing full article feeds. They would send the entire article even it was posted localy. But they would still add Body: headers to local articles they were willing to serve to the world. For downstream feeds that were both able and willing to take the header-only articles, only the header for the local articles would be passed. And if the server had articles with Body: headers, only the header of those articles would be feed, even if the entire article happened to be on the server. The third feed option is a complete header-only feed. Any article which already had the Body: header would be feed as is. But articles without the Body: header would have one added and the feeding server would then be acting as the "body server" for all those articles. This of course would only be done on a limited basis because no one would be willing to server all of Usenet to the world for free. And since the servers are able to deal with a mix of full articles and header only articles, there's always the options of controling what's feed as a full article and what's feed as header-only. For example, if you have the bandwidth, you can accept full articles for all the small articles, but get header-only copies of articles over a certain size. It seems to me that any ISP willing to outsource their news might prefer to run a header-only feed from the outsourcer. It's a small simple box to run (compared to a normal news server), gives their users fast xover response, and acts as an article cache so articles read by their users only need to tranist their external links once. And since they are paying for the service, the outsourcer in this case will be willing to act as the master server for all articles without Body: headers. This is very similar to running one of the caching servers that already exist today, but then we have the option of making that local server act as the store house for the locally posted articles. The problem with this of course is why would any usenet site be willing to act as an article server to the world for their local articles. Under the current system, when a user posts an article, you only have to send it out to your feeds once. But if you act as a server, you will most likely have to send it out a lot more. Maybe even thousands of times. In this system, you are serving the article not to every user that reads it, but to every usenet server where at least one user reads it. And in theory, you would only send it to each of those servers at most once. And some sites could set up caching servers to be used by groups of servers. Say for example an ISP that sells/provides news feeds could act as a central caching server for all their down-stream feeds. They could send out header only feeds to their down-stream customers where the Body: lines were all modified to point back to their server. When their server receives a request for the article, it once again sees that it's only got the header and then chains back to the orignal site. People would be willing to set up their servers as "body-servers" to the world if overall it meant they would be able to reduce their bandwith usage. So the question is, would it reduce the overall volume if we all switched to this or not? I'm not sure. But, a very good side effect of this system is that sites now become more responsiple for what there user's post. Not as much in terms of responsibility for the content, but more so in terms of responsibility of the bandwidth costs of distributing the post. Part of the problem with the current Usenet design is that costs don't get allocated correctly. People pay to read news, not to post it. But posting is what costs the most money. So why don't we charge users to post? Because it's not "our" money they spend when they do that. A single post costs hundreds of dollars in bandwidth usage to distribute throughout the world, but it costs the local site almost nothing. So we don't charge. So the user doesn't get charged based on what they really "cost" usenet. But in this new header-only system, we pay very little for the incomming feed, and pay a lot for the outgoing articles posted by our users. So now we are motivated to control how much they post, or charge more based on the volume they post. And that's the way it should work, unlike what we have today. They people who post should carry a substantial portion of the cost instead of all the readers. I'd think that retention time would be overall much better with this new system as well. Or overall, we would need a lot less disk space to get the same amount of retention. The retention for the headers would take 1/100 of what it takes now. And local posts generally take a lot less space so they could be retained for much longer periods. If posting ends up costing the person doing the post more, overall volume should go down, and quality should go up. Spam should go down as well because it will become very expensive to bulk post hundreds or thousand articles. At first, when both the old a new systems are still in use, spammers will obviously prefer to spam in the old system (i.e. send out full articles). But if this new system works, then that would just motivate the net to force a conversion to the "new" system. One problem I see is that when you read news with this new system, you end up getting news from lots of different places. And like the web, you will end up getting errors from some percentage of those - or get very slow performance etc. You need lots of servers to be working correctly, not just your local server. If it becomes too hard to read news, say because every third article is not available, then this just won't work. Then there's the issue that when you post an article, the header will propigate much faster than it has in the past. So then, you get lots of people trying to read the article in a very short period of time. So the problem isn't that you have to serve the article to 1000 other sites, but that you have to do most of that within 5 minutes of posting the article? It's hard to know how much of a problem that would really be without actually trying it. What other problems are there with this idea? -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<19991216152219.196$Pi_-_@newsreader.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.lang.java.softwaretools.mbox.zip!not-for-mailReferences:
<38569b7a$0$224@nntp1.ba.best.com> <6aJWOE2g9YI1qQ46VtGbCuiICWXm@4ax.com> <3856bc3d$0$229@nntp1.ba.best.com>Show Full Headers
Complete Article Headers
Message-ID: <19991216152219.196$Pi_-_@newsreader.com>
Subject: Header-Only feeds (was: A nice side benefit of WebReader)
Date: Thu, 16 Dec 1999 00:00:00 +0000
From: curt@kcwc.com (Curt Welch)
References: <38569b7a$0$224@nntp1.ba.best.com> <6aJWOE2g9YI1qQ46VtGbCuiICWXm@4ax.com> <3856bc3d$0$229@nntp1.ba.best.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.lang.java.softwaretools.mbox.zip!not-for-mail
X-Deja-AN: 561666541
X-User: Curt@NewsReader.Com
Followup-To: news.software.readers,news.software.nntp
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5 %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
Organization: NewsReader.Com
X-Url: http://CurtWelch.Com/
Newsgroups: comp.lang.java.softwaretools,news.software.readers,alt.usenet.offline-reader,news.software.nntp