Article View: news.software.nntp
Article #27303Re: Advice on NNTP protocol usage
From: Marc Slemko
Date: Mon, 30 Mar 1998 00:00
Date: Mon, 30 Mar 1998 00:00
45 lines
2638 bytes
2638 bytes
In <87pvj48b8l.fsf@ibm.net> tmill06@ibm.net (Timothy J. Miller) writes: >mibsoft@mibsoftware.com (Forrest J. Cavalier III) writes: >> I used to think this was bad also. But the question is is it better >> to waste bandwith and CPU transferring the rest of the article, or >> is it better to start up another process? > It can be bad depending on how you tweak your timeouts. I've >seen more sockets than I care to recall collect waiting to close on >Netscrape-aborts. The problem is not that Netscape closes a connection to stop transferring the rest of the article. Some of the problems are: - On some systems, some versions of INN do not detect that the client has closed the connection very well so they hang around for too long. This is a problem with INN. - nnrpds are typically spawned out of innd, which can cause delays and causes extra overhead. Having a parent nnrpd with all the code in that can just be mapped COW when it forks would make this better. This is partly a INN problem for making connections a bit heavy, partly a Navigator problem. - Netscape uses a moronic method to determine when to drop connections, at least in some versions. When you get 5 new connections and drops a second from someone browsing news normally in Navigator, you know the program sucks. That is not appropriate and it should not be doing it. What it boils down to is the fact that users downloading large articles over a slow link do not want to wait for the whole article to finish transferring if they know they don't want it, and they shouldn't have to wait for it. Unfortunately, NNT Pdoesn't provide a graceful abort. Navigator is justified in closing connections if it appears the download may take a while and the user wants to move to another article, etc. It should, however, refuse to stop before a certain time or certain size has been downloaded (to stop the 5 connects/sec thing).
Technical Details
Message-ID:
<6fp3mb$pr2$1@scanner.worldgate.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:
<01bd5b94$f47c0da0$e000a8c0@robertb> <zpHT.5$X3.2171@firestorm.gunslinger.net> <6fnvij$kjg$1@nntp.epix.net> <87pvj48b8l.fsf@ibm.net>Show Full Headers
Complete Article Headers
Message-ID: <6fp3mb$pr2$1@scanner.worldgate.com> Subject: Re: Advice on NNTP protocol usage Date: Mon, 30 Mar 1998 00:00:00 +0000 From: Marc Slemko <marcs@znep.com> References: <01bd5b94$f47c0da0$e000a8c0@robertb> <zpHT.5$X3.2171@firestorm.gunslinger.net> <6fnvij$kjg$1@nntp.epix.net> <87pvj48b8l.fsf@ibm.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: 339251535 Organization: WorldGate Inc. http://www.worldgate.com/ Newsgroups: news.software.nntp