Article View: news.software.nntp
Article #26337Re: Support for NEWNEWS
From: bill davidsen
Date: Tue, 17 Feb 1998 00:00
Date: Tue, 17 Feb 1998 00:00
103 lines
5495 bytes
5495 bytes
In article <34E8D775.33A7B5F8@spinne.com>, Jeff Garzik <jeff.garzik@spinne.com> wrote: | bill davidsen wrote: | > Jeff Garzik <jeff.garzik@spinne.com> wrote: | > | "Loading the server" is no excuse not to use a command. That implies a | > | crappy NEWNEWS implementation. If this is the case, your beef is with | > | the implementation, not with the command itself. | | > If a command is inherently uses lots of resources there is no good | > implementation. Doing a good NEWNEWS seems a lot like writing a | > multithreaded bubble sort in assembler, it's a great implementation | > of a poor solution. | | You seem to be assuming that NEWNEWS will require lots of resources | regardless of its implementation. As a computer scientist this stance | just boggles my mind. I've learned time and time again there is always | a better implementation than the one I think of ;) In order to match both newsgroups and distributions we either need to keep a database indexed by these fields (not in any current implementation I use) or extract the data from non-optimal data on demand. Either solution requires resources, one a steady drain on CPU and disk accesses, the other a "pain on demand" use of resources. I assume that doing more work will take more resources, and that seems like reasonable cs to me. | > | NEWNEWS facilitates group independence. Clients using NEWNEWS do not | > | have to process active file updates [if they don't want to.] A NEWNEWS | > | request for "comp.*" automatically gets all the comp.* newsgroups, even | > | the ones added just yesterday. | > | > So to avoid coding NEWGROUPS in the client we kill the server? | | Don't quite follow you. active.times exists for new-groups | functionality. Since the client can get all the new groups with a single command, the ability to get "all the comp.* newsgroups, even the ones added just yesterday" seems to be available at the cost of one (low impact) request to the server. | But taking your question to a higher level, we begin to approach the | "fat client" versus "thin client" question, to which the answer remains | hotly debated. But no one questins that the current clients have orders of magnitude more CPU and io bandwidth than the server, unless you consider the "personal server" which is still likely to be about the same power as the clients. | > The process is inherently (it seems to me) because you have to do a | > match on both newsgroups and distributions. If the distributions | > weren't there you would not have to either open each article or keep | > a database of all articles by both newsgroups and distribution. In | > any case, this is a LOT over overhead, and given the time people | > have spent getting cycles out of the news process, I don't see | > building a database as articles come in. It is probably practical to | > have a process do this, but it still loads the server to do | > something the client should be doing. | | You made me question my own memory of the RFC, so I went back and read | about NEWNEWS again: http://www.mibsoftware.com/userkt/nntp/0020.htm | | The RFC does not specifically say the Distribution header. I was | surprised -- I thought you were right! :) Reading the RFC, the wording | instead seems to imply that the Newsgroups header is the thing we must | examine/match on. Are you saying that the distributions supported in INN and other implementations are not part of the RFC and may be ignored? From nnrpd "help" command: newnews newsgroups yymmdd hhmmss ["GMT"] [<distributions>] and from newnews.c: STATIC BOOL DistMatches(distribs, files) Since you can restrict by distribution, I think you have to have that data somewhere handy at low cost. | Overall, I would say that reality is NEWNEWS is disabled on many news | servers, so clients have been driven to other implementations (not using | NEWNEWS). Since most clients don't need/use NEWNEWS, server admins | don't have much motivation to implement it. Which is why it should be depreciated or removed from a future standard. News software has efficient support for readers (live people actually reading news) and for feeds (high volume streaming efficient) to computers. NEWNEWS is an example of using the wrong tool (the reader interface) for a job (news feed) and complaining that the claws of the hammer are a poor screwdriver. -- Bill Davidsen (davidsen@tmr.com) Have you ever noticed when playing cards that the money you win with a successful bluff always looks brighter and shinier than what you win by fate giving you the best cards?
Technical Details
Message-ID:
<6ccf2a$2ks2$1@newssvr04-int.news.prodigy.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<34E483C1.2EE1@mci.net> <34E50756.C1396A75@spinne.com> <6caf17$hco$1@newssvr03-int.news.prodigy.com> <34E8D775.33A7B5F8@spinne.com>Show Full Headers
Complete Article Headers
Message-ID: <6ccf2a$2ks2$1@newssvr04-int.news.prodigy.com> Subject: Re: Support for NEWNEWS Date: Tue, 17 Feb 1998 00:00:00 +0000 From: davidsen@tmr.com (bill davidsen) References: <34E483C1.2EE1@mci.net> <34E50756.C1396A75@spinne.com> <6caf17$hco$1@newssvr03-int.news.prodigy.com> <34E8D775.33A7B5F8@spinne.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 325914283 X-Auth-User: 000000000/65b95ba9b22964b4 X-Post-Time: 17 Feb 1998 16:49:14 GMT Organization: TMR Associates, Schenectady NY X-Problems-To: abuse@prodigy.net Newsgroups: news.software.nntp Originator: davidsen@darkstar.prodigy.com