Article View: news.software.readers
Article #76861Re: Muliti-Part Posts
From: Curt Welch
Date: Tue, 17 Apr 2001 23:52
Date: Tue, 17 Apr 2001 23:52
118 lines
7680 bytes
7680 bytes
zag2zfbvszw6wx001@sneakemail.com (Damian) wrote: > curt@kcwc.com (Curt Welch) wrote in > <20010417121217.169$l0@newsreader.com>: > >It's a function of how much you expect to do it. What the orginal guy > >sounded like he wanted to do was check the primary server for > >articles, and for any missing parts, check the seconday to see if it > >was there. If for example there was a 500 part post, but 200 parts > >were missing (maybe simply because they had not shown up yet), then > >doing 200 XPAT commands on server B over it's entire 60,000 article > > You don't need to do 200 XPAT searches. I know. I pointed that out in the my article. > XNews handles missing parts just fine with one search per binary. It > XPATs all the parts of _that_ binary and throws out the unneeded ones. > That's a lot more bandwidth friendly than grabbing an entire groups > headers. Yeah, if you are going to do it, that's the right way for sure. And you can even get slightly smarter and make the fucntion search for just the parts you are missing - which might help bandwidth for those 6000 part posts like the girls gone wild post recently. I think it's fine for xnews to have a function to search an alternate server for missing parts. But to prevent XPAT abuse, it should only do that serarch when the user hits a button and tells it to. And the user should be forced to wait for the results for that search before it trys another. If it's set up like that, then XPAT isn't likely to be abused. If the server can build a list of all files he wants to download, and then just hit go, making his newsreader do Xpats for each binary with a missing part on a list of alternate servers, then users are likely to be abusing XPAT. If you want to use multiple servers to download from on a regular basis, then you should be downloading all the headers from all the servers every time you read news and storing them locally. So I repeat, it's a function of how often you need to do that. If the main server you use has good completion, and you just go do that xpat search once a week or so, then that's not so bad. But if you do it daily, you are probably wasting resources because you are forcing the server to re-search old headers every time you use XPAT. You say it's bandwidth friendly, but it's not really. News servers have two important bandwidth issues to deal with. Network bandwidth, and disk bandwidth. For almost everything "normal" users do on a news server, the amount of disk bandwidth they consume is porportional to the network bandwidth they are using. With the search commands, like XPAT, this isn't true. Users can burn up tons of disk bandwidth without using any network bandwidth. Both of these things cost a lot. It's not just network bandwidth that costs money. News servers never have enough disk bandwidth. We end up having to use more disk, and more disk controllers so we can spread the IO over more drives to increse the bandwidth. You can't argue that disk bandwidth is "free". But it is generally a lot cheaper than network bandwidth. I just checked alt.binaries.sounds.mp3 on my server. It's got 73,000 articles in the group and a complete dump of the xover data is 25 MB in size. Each, XPAT search of that group forces the news server to read and scan more than 25 MB of data (minus data cached from last xpat of course). It's clearly better for a client to use one XPAT, and waste only the disk bandwidth and not the network bandwidth, than it is for the user to waste both downloading all the headers (and then waste his own disk bandwidth searching the data anyway). But for large groups, it doesn't take very many XPATS before this becomes a false economy. If you do more than 10 a day for a group like that, you are probably wasting resources and should have just been downloading the new headers from the alternate server every day. > >It's not nice to make the server scan over the same headers many many > >times just because your software is too lazy to download the headers > >and do the search localy. > > The servers are, however, encouraging this sort of thing. If you charge > for header downloads (like just about every NSP), people are going to be > loath to use up their allotment when there's an alternative that doesn't > effect them. Not to mention grabbing all the headers in a high traffic > groups would take an awfully long time, even with broadband. That's true. The current cost structures do encourage it. But you seem to imply that the falt is that we shouldn't charge you for bandwidth. The truth is that we should charge you for both network bandwidth used AND system resources like disk bandwidth and CPU you waste if we are going to allow you to use commands like XPAT without restriction. For example, a XPAT search of a 25 MB newsgroup might be charged the same as 5MB of data downloaded. So if you have a 2 GB account limit, you can either use it to download 2GB of news, or you can do 80 XPATS of a large group. Your choice. But that's hard for a user to understand what he's getting charged for and why (as his newsreader goes off and does tons of expensive XPATs whithout the user even knowing about it). This is exactly why many admins disable XPAT. A single user using a poorly written script or program to xpat the hell out of a large list of groups can consume ALL the resources of a server that should have been able to support 1000 concurrent users. If a single user wants to do that, that's fine, but they are going to have to pay the price. But since it's just too much to expect for most users and even newsreader programmers to really understand when XPAT is a valid solution and when it's not, the long term solution will most likely be for everyone to disable it if the useage gets out of hand. All the other standard NNTP commands (less NEWNEWS on some servers) have the advantage that system resources consumed by the user closely matches his network bandwidth used, so if you charge based on network use, you are distributing the cost of the server fairly over the users as well. i.e., someone using 10 times the bandwidth is gnerally using 10 times as much server resources as well, so charging that user 10 times as much is valid for both network and server costs. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<20010417195226.657$za@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.readers.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!feed2.onemain.com!feed1.onemain.com!feed.newsreader.com!news2.newsreader.com!news3.newsreader.com!not-for-mailReferences:
<ilrmdtkh8cmm2jpd1o6abgpvh29gq30vra@4ax.com> <20010416193817.627$0L@newsreader.com> <Xns908661637AEB2damiansmailandnewsco@64.152.100.92> <20010417121217.169$l0@newsreader.com> <Xns9086B9FF26081damiansmailandnewsco@64.152.100.92>Show Full Headers
Complete Article Headers
Message-ID: <20010417195226.657$za@newsreader.com>
Subject: Re: Muliti-Part Posts
Date: Tue, 17 Apr 2001 23:52:26 +0000
From: curt@kcwc.com (Curt Welch)
References: <ilrmdtkh8cmm2jpd1o6abgpvh29gq30vra@4ax.com> <20010416193817.627$0L@newsreader.com> <Xns908661637AEB2damiansmailandnewsco@64.152.100.92> <20010417121217.169$l0@newsreader.com> <Xns9086B9FF26081damiansmailandnewsco@64.152.100.92>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!feed2.onemain.com!feed1.onemain.com!feed.newsreader.com!news2.newsreader.com!news3.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.readers
X-User: Curt@NewsReader.Com
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: 117