Article View: news.software.nntp
Article #68730Re: New NNTP standard in Working Group Last Call
From: Curt Welch
Date: Sun, 21 Mar 2004 07:22
Date: Sun, 21 Mar 2004 07:22
159 lines
10034 bytes
10034 bytes
"Colin Wilson" <colin@wilsonc.demon.co.uk> wrote: > Curt Welch wrote: > > > However, I don't want to see the draft held up any more over this > > point. Please, do it either way, but get the RFC done. :) > > If I had a choice I'd plump for 'MUST' for the STAT response and 'MAY' > for the HEAD & ARTICLE ones. > > Seeing as how servers are now much more powerful than they used to be, > a little extra work wouldn't hurt, For text Usenet, that's a valid point. For for full usenet, including the binaries, that's just not true. It's because Usenet has grown faster than the server performance has grown. Usenet used to fit nicely into the corner of a server just like e-mail did. There was so much extra power in the machine compared to what you needed to support Usenet that you could be afford to put each article into it's own file. You could run an exire processes each night that scaned the entire spool in minutes and you could have the expire processes read and parse the header of every article in the spool. Those days are long gone. To support a full feed with a "typical" user load and typical peering, you must have a network of machines highly optimized to keep up with the volume. There is _no_ CPU, or network bandwidth, or disk bandwidth to spare any more. If you require the Usenet server to do 20% more, the racks of servers end up costing at least 20% more. However, for something as minor as putting the article number in the response by forcing the CPU to parse the Xref: line, that amount of load is trivial. It's a .00001 % increase in load, _if_ you have a valid Xref: line to parse. The far bigger issue with these protocol changes is that the large and complex set of distributed databases and the protocols these multiple machines use to talk to one another have all been designed based on what the author thought was "required" to do NNTP "well enough". And if you change something from how it's been done in the past, you run the risk of adding a requirement which some custom server can't do, because it doesn't have the right information at the correct time. If, like Diablo, message-id lookup is done without the help of the group maping information, and if the article you end up with when you do a fetch by Message-Id does not have a valid Xref: header, then the only solution to including the article number is for the server to search the entire group for a match. With the volume of usenet and the retention of the servers today, the largest groups have millions of articles in them, and it's only going to get worse. A linear search of a newsgroup with millions of articles just to allow the server to respond to a STAT command is total unworkable. To do it, you can't just add a little more CPU power, you have to make some fundimential changes to server architecture and do a lot of re-coding. > and it would help Newsreaders no end > in doing things like filling in missing messages by looking at > secondary servers, etc. What would? Knowing the article number when you already know the Message-ID? I don't get your point. When checking multiple servers, it's the Message-ID and not the article number you need. > Having said that, I understand the problems it would cause clustered > servers. > > > If all the servers don't do the same thing, then news reader authors > > can't use the paramater. > > News reader authors have to be a bit sneaky, and remember which servers > support which functionality, etc. The point of having a standard is to allow stuff like that to be removed from the newsreaders. The need for anything like that just shows how much development is driven without a regard for the standards. > > But back in those days, the RFC really wasn't the standard, the > > reference NNTP implementation and INN were the standard. > > That may well be true, but it's a dreadful situation! It wasn't dreadful at all. The source code was a fine standard. The dreadful situation are all the programers that started to write servers and clients that didn't bother to read the standard when they needed to. > The whole point > of the RFCs is that they're 'standards' - and if they can't be trusted, > then what's the point of having them? Anarchy rulez! Well, Usenet has always been "Anarchy rulez". And the lack of any central control is the true cause of all these "broken" protocol problems. But, it's not because there wasn't a standard, it's because too many developers didn't understand what the standard was. You have to remember that Usenet, when it started, was a Unix utility. It was only avaiable on Unix systems. At that time, Unix didn't even support TCP/IP. The RFCs were not "global computer standards". The RFCs were how TCP/IP was documented and Unix, and Usenet, had nothing to do with TCP/IP or the Arpanet or the Internet. On Unix, the way the entire system was documented was with unix man pages, backed up by the source code. The man pages didn't try to document everything, because everyone with Unix also had the full source, and to be a Unix user, you were expected to be able to read C like the original Unix users (Ken and Dennis). Usenet started life, and lived, in the Unix/uucp environment for something like 10 years before the internet became central to Usenet (like '81 through '91). Checking google, I see Usenet manged to exist for over 5 years before the word NNTP showed up in an article. And everything Usenet, was documented the same way everything Unix had always been documented - with simple man pages that told only 80% of the story, and with C source code as the ultimate reference. NNTP was created as a way of moving Usenet articles over TCP/IP for the few sites that had a version of Unix that supported TCP/IP (BSD I think was the only version at first that supported it). With the creation of that, an RFC was written because that was the standard way to document TPC/IP protocols. The RFC was never ment to be the "standard" for what Usenet was. It was just one more document to add to the man pages and the source code to create the complete "Usenet Standard" reference set. It wasn't even very important because NNTP wasn't important to Usenet at first. When NNTP was created, the standard way a newsreader accessed articles was by reading them directly off the disk on the local machine. The newsreader always ran on the same machine that the aticles were stored on. So NNTP was not at first the "normal" way newsreaders worked, or the "normal" way news servers exchanged articles. It was uucp to move news between servers, and direct disk access for newsreaders to read the active file and the newsgroups file and the articles. But then INN was written, and local TCP/IP networks as well as the Arpanet started to expand. Usenet started to transform from a world of UUCP and direct-read newsreaders, into the client-server design we have today. But still, the RFC was written only in the spirt of a Unix man page to give the basic NNTP overview. IT was enough for a user to read to understand what NNTP was, but if you did development, you were expected to open up the source to find the real facts and all the details left out of the man pages. But then the problems happened. People started to get confused and think that Usenet was an Internet "thing". And they started to make the totaly false assumption that Usenet was documented in the RFCs like the rest of the TCP/IP world. All the new-comers to Usenet didn't understand that Usenet was not part of the "internet". And they started to assume that if the RFC didn't say something, they were allowed to do whatever they wanted. And they assumed that it made no difference what some program like INN did, because if there code followed the RFC, it was right, and INN was wrong. Well, they were wrong, and they are still wrong, because as of today, there still is no RFC which was written in the spirit of being "the" Usenet NNTP standard to replace the reference implementations like INN. But that's exactly what this current work is all about. To attempt for the first time to translate all the C code into english. But now of course, we have to address all the current "broken" servers that exist in the world because their developers didn't understand how Usenet was documented and didn't follow the old standards. But, that's of course ok here because after all, Anarchy does rule here. :) -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<20040321022215.366$AF@newsreader.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!news.glorb.com!border1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mailReferences:
<871xo3w5c6.fsf@windlord.stanford.edu> <xn0dfommipc6fs004@news.clara.net> <87u10t4qie.fsf@windlord.stanford.edu> <I$l12xM0$xVAFwh5@romana.davros.org> <xn0dfuqs22sge9002@news.clara.net> <mAMOpTEeZsWAFwu3@romana.davros.org> <20040320010803.826$XN@newsreader.com> <xn0dfzx8414zjf001@news.clara.net>Show Full Headers
Complete Article Headers
Message-ID: <20040321022215.366$AF@newsreader.com>
Subject: Re: New NNTP standard in Working Group Last Call
Date: Sun, 21 Mar 2004 07:22:15 +0000
From: curt@kcwc.com (Curt Welch)
References: <871xo3w5c6.fsf@windlord.stanford.edu> <xn0dfommipc6fs004@news.clara.net> <87u10t4qie.fsf@windlord.stanford.edu> <I$l12xM0$xVAFwh5@romana.davros.org> <xn0dfuqs22sge9002@news.clara.net> <mAMOpTEeZsWAFwu3@romana.davros.org> <20040320010803.826$XN@newsreader.com> <xn0dfzx8414zjf001@news.clara.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!news.glorb.com!border1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com t8cc8ENlIBJrAJF-JgMBMwHxQGlXVNddgWYgD.TXCsy-Wh+I
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
%IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 158