Article View: news.software.nntp
Article #61382Re: [FNTP] 'in-completeness'
From: Brian Truitt
Date: Sun, 13 Oct 2002 03:08
Date: Sun, 13 Oct 2002 03:08
39 lines
3354 bytes
3354 bytes
"Russ Allbery" <rra@stanford.edu> wrote in message news:ylhefyf4ra.fsf@windlord.stanford.edu... > > It's certainly true that HTTP is a lighter-weight protocol that requires > less overhead to abort a connection, but I believe it's also the case that > stop would be far less frequently used in NNTP than in HTTP, so it > balances out. (Part of the reason for that belief is that a partially > downloaded web page is still useful in HTTP and often what takes forever > to load is the ads, not the content. NNTP doesn't have the same issues; > an aborted download is likely to have to just be thrown away, so is only > useful when the user decides they don't want that article at all.) A lot of times when I see NNTP clients drop connections to abort downloads is when it's looking at content and decides it doesn't want the artile (ie: "oops, that's spam or html, I don't want that"). Playing around with clients I've seen newsbin pro as-installed do this heavily, it'll sometimes only grab 2 or 3 articles per connection. In worst case scenario, I've had it open 12-15 connections a second, each of which requires nnrpd to spawn a new process to handle the connection. If I get 20 or 30 users using it that way, I'm up to 450 connections a second and process spawns because the client software drops connections to abort downloads. Sure, this is a case of a client program going to extremes rather than just grabbing the rest of the 2K article then abandoning it, but it's a real life example of where my server would be happier to serve a STOP than to churn processes, and happened enough and to such levels that we coded ip-based connection rate backoffs into nnrpd. Of course, all this if part of my bigger personal rant against the state of clients nowadays and how they do things. I've seen one that issues a MODE, a DATE, a GROUP, a HEAD, and a BODY for every article it grabs, and was obviously running thru the entire group getting all the articles. I wish nntp had a setup like http where you could find out what the client software was, so we could find which ones did this and make dev suggestions. Until then, I'll use some of my spare time to profile clients when I can and see how they work. Has anyone done something like this already?
Technical Details
Message-ID:
<aoao76$fb5$1@bob.news.rcn.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!newsfeed.stanford.edu!logbridge.uoregon.edu!feed2.news.rcn.net!feed1.news.rcn.net!rcn!not-for-mailReferences:
<58068.n92202@archiver.winews.net> <yl7kgyrpwd.fsf@windlord.stanford.edu> <yl1y74stcr.fsf@windlord.stanford.edu> <13018.7a2201@archiver.winews.net> <ylhefyf4ra.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <aoao76$fb5$1@bob.news.rcn.net> Subject: Re: [FNTP] 'in-completeness' Date: Sat, 12 Oct 2002 23:08:36 -0400 From: "Brian Truitt" <btruitt@rcn.com> References: <58068.n92202@archiver.winews.net> <yl7kgyrpwd.fsf@windlord.stanford.edu> <yl1y74stcr.fsf@windlord.stanford.edu> <13018.7a2201@archiver.winews.net> <ylhefyf4ra.fsf@windlord.stanford.edu> 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!newsfeed.stanford.edu!logbridge.uoregon.edu!feed2.news.rcn.net!feed1.news.rcn.net!rcn!not-for-mail Newsgroups: news.software.nntp Lines: 38 X-Trace: UmFuZG9tSVZXgbqjurES630YI82dYAhTBhFKTnk2rLJnI1LV+F1PY90FNC19tH85 X-Complaints-To: abuse@rcn.com NNTP-Posting-Date: 13 Oct 2002 03:10:30 GMT X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MSMail-Priority: Normal