Article View: news.software.nntp
Article #14468Re: INN1.5.1 unfriendly to news readers
From: bill davidsen
Date: Mon, 27 Jan 1997 00:00
Date: Mon, 27 Jan 1997 00:00
95 lines
5543 bytes
5543 bytes
In article <5c3duf$4d0@fugue.clari.net>, Brad Templeton <brad@clari.net> wrote: | In article <slrn5e7sbn.40e.sbirn@softworx.netmedia.net.il>, | Steve Birnbaum <sbirn@netmedia.net.il> wrote: | >That is a completely separate issue. The fact still remains that | >there is no reason a single client needs to open a ton of connections | >just to read news. | | Agreed, though opening two is not unreasonable because NNTP never supported | the ability to abort the sending of a large article, other than by | closing the connection. Not a surprise, it was designed before multithreaded | programs were common, but today it is entirely a reasonable request that a | user on a slow line may wish to abort the sending of a large article in | a reasonable way. Good point. This problem is somewhat related to the practice of allowing very large articles. When most servers allowed 64k or so, stopping transfer of a single article was less important. | There are other multithreaded features that could be valuable as well, | such as the ability to send the active file down in the "background" to | allow clients to do browsing of available newsgroups, but not to force them | to wait to download a megabyte active file before they can begin reading | news or browsing. I have mixed feelings about this one. The NEWGROUPS command was intended to address this problem, in terms of what groups are available. And multiple GROUP commands allow checking of individual groups as you get to them. I haven't checked to see how many groups you need to be reading before it's easier to send the whole active file rather then N repititions of the GROUP command, and some readers just do it until they find a group with data. | Instead let's work to get the protocol extended to support useful features | that multithreaded newsreaders can support. (See another note by me on | ways to do that.) NNTP (and many other protocols like SMTP) were designed to be useful over a half duplex connection. Some thought will be needed to add useful extensions without breaking existing readers. Since the existing implementations of the protocol seem pretty robust when presented with unexpected commands, perhaps many of the functions discussed could be started with a single command. Here's a starting point for discussion on implementation. The client sends the server a message to enable extended functions, with a message like TALK2 (or USETWO, or...) requesting a 2nd socket (control socket, sort of). The server might say unknown command, or something like "USESOCKET 1442" to indicate that the 2nd socket should be 1442. Note that this connection is a bidirectional network socket which need not be supported on a half duplex connection. Now having another socket, what can we do with it? For starters we can put a control message from client to server called STOP, followed by a message-id. This would be used to stop sending an article, something I agree is highly desirable. I believe the correct response would be either (a) a dot indicating EOM on the 1st channel, or (b) a message "nnn NOT SENDING" on the 2nd. I'm totally willing to believe that a request to STOP sending a message which the server isn't sending could be ignored, and I would rather it be so. Another facility would be something like a LIST2 command to send things like the active or newsgroups file on the 2nd socket. If people really think there's a need to stop this action, a STOPLIST or similar command could be added on the 2nd channel. Another note, with the exception of the sending of the active file on a 2nd channel, I believe that most of the features could be gained by just making the 1st socket bidirectional, with a client request like FULLDX or some such. This would allow a streaming feed to send "check" messages to the fed node, and the responses to those messages to come back while an article is being fed. This would allow back to back "takethis" of articles with the status coming back while the next article is being fed. A status on article transmission is not needed in realtime, since an ack only takes the article off the sender's list to offer if the connection drops, and the fed site can just ask for the article again if there's a problem. Okay, there's a simple suggestion, add a command to make the socket full duplex where it makes sense, and add a 2nd socket full duplex to allow out of band transmissions to readers. Obviously I amde this up as a typed, there may be major flaws, and comments will be ignored on changing the names of my commands, until we decide if they're needed and what they do. -- -bill davidsen (davidsen@tmr.com) "As a software development model, Anarchy does not scale well." -Dave Welch
Technical Details
Message-ID:
<5cj1hh$1i66@usenet1y.prodigy.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!not-for-mailReferences:
<5bouts$p7e$1@news0.bytes.net> <5c0aap$npv@sunsystem5.informatik.tu-muenchen.de> <slrn5e7sbn.40e.sbirn@softworx.netmedia.net.il> <5c3duf$4d0@fugue.clari.net>Show Full Headers
Complete Article Headers
Message-ID: <5cj1hh$1i66@usenet1y.prodigy.net> Subject: Re: INN1.5.1 unfriendly to news readers Date: Mon, 27 Jan 1997 00:00:00 +0000 From: davidsen@tmr.com (bill davidsen) References: <5bouts$p7e$1@news0.bytes.net> <5c0aap$npv@sunsystem5.informatik.tu-muenchen.de> <slrn5e7sbn.40e.sbirn@softworx.netmedia.net.il> <5c3duf$4d0@fugue.clari.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!not-for-mail X-Deja-AN: 212641646 Organization: TMR Associates, Schenectady NY Newsgroups: news.software.nntp Originator: davidsen@darkstar.prodigy.com