Article View: news.software.readers
Article #76793Re: Muliti-Part Posts
From: Curt Welch
Date: Tue, 17 Apr 2001 16:12
Date: Tue, 17 Apr 2001 16:12
38 lines
3074 bytes
3074 bytes
zag2zfbvszw6wx001@sneakemail.com (Damian) wrote: > curt@kcwc.com (Curt Welch) wrote in > <20010416193817.627$0L@newsreader.com>: > >Trying to use XPAT for example would be a bad solution. > > Why is that? XNews uses that method and it works well. Not all servers > support XPAT, of course, but with those that do I don't see a more > bandwidth friendly way. It has it's uses. I say it's bad because 1) it's not available on many servers so picking that as "the solution" is bad becuse it won't always work. and 2), if you have to re-scan the alternate server many times every time you find a part missing on the primary server, then you may be saving bandwidth, but you are wasting server resources. 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 group looking for each of those missing parts one at a time would be a very very bad solution. Doing one XPAT command to find all the parts wouldn't be so bad by itself, but if if did one XPAT, for every multipart post that had a missing article that day, that would again, be bad. 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. Whether it's bad or not is a function of how much you use the XPAT to re-scan the same headers. For what the guy wanted to do, it sounded like he would end up abusing the server if he tried to do it with XPATs. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<20010417121217.169$l0@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-02!supernews.com!news.tele.dk!209.50.235.254!europa.netcrusader.net!205.252.116.205!howland.erols.net!portc.blue.aol.com.MISMATCH!portc01.blue.aol.com!feed.newsreader.com!news2.newsreader.com!flame.newsreader.com!not-for-mailReferences:
<ilrmdtkh8cmm2jpd1o6abgpvh29gq30vra@4ax.com> <20010416193817.627$0L@newsreader.com> <Xns908661637AEB2damiansmailandnewsco@64.152.100.92>Show Full Headers
Complete Article Headers
Message-ID: <20010417121217.169$l0@newsreader.com>
Subject: Re: Muliti-Part Posts
Date: Tue, 17 Apr 2001 16:12:17 +0000
From: curt@kcwc.com (Curt Welch)
References: <ilrmdtkh8cmm2jpd1o6abgpvh29gq30vra@4ax.com> <20010416193817.627$0L@newsreader.com> <Xns908661637AEB2damiansmailandnewsco@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-02!supernews.com!news.tele.dk!209.50.235.254!europa.netcrusader.net!205.252.116.205!howland.erols.net!portc.blue.aol.com.MISMATCH!portc01.blue.aol.com!feed.newsreader.com!news2.newsreader.com!flame.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: 37