Article View: news.software.nntp
Article #51664Re: Download Speed
From: Curt Welch
Date: Thu, 05 Apr 2001 22:17
Date: Thu, 05 Apr 2001 22:17
33 lines
2676 bytes
2676 bytes
"Jack" <jkt@home.net> wrote: > XOVER is faster. But the string it sends would be much harder to parse. Either you are a worthless programmer or you just don't know the format of an XOVER line. I'm guessing it's the second. So let me help you... Each field in the XOVER line is separated with a single TAB character. There are no TAB characters in the fields to deal with, If there were, they were changed to spaces by the news server (in the XOVER data only). (TAB=^I=Decimal 9=HEX 09=Octal 11= C string "\t"). To extract the headers from an XOVER line, all you have to do is scan though the string and find the TAB characters. The subject starts after the first TAB in the line and ends at the next. It really isn't much harder than parsing the XHDR output. The issue is that there's a lot more data sent to you it can take longer to download. When you said the newsreader was downloading at a higher rate, did you adjust for the fact that XOVER is sending a lot more data? i.e. does it take longer when using XHDR, or does it take about the same amount of time and the XOVER just causes the download rate in bytes/second to be higher? I.e. if you calculate article subjects downloaded per second, is xover really faster for your application? -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<20010405181737.636$e8@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.nntp.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.onemain.com!feed1.onemain.com!feed.newsreader.com!news2.newsreader.com!flame.newsreader.com!not-for-mailReferences:
<hjkict03k157fjakqr5effohj7ugjl2h9e@4ax.com> <Dqdy6.1591$MM.68717@ozemail.com.au> <b88nct86r5onui9qjoaaj8pak8uslkt2a0@4ax.com> <tcnh8skt3ugb09@news.supernews.com> <7c4octsegmenh3aitknvml949s2c99i82a@4ax.com> <20010405144842.423$rg@newsreader.com> <q3jpcts67nal8mv1ngutqp0dfc8einqclb@4ax.com>Show Full Headers
Complete Article Headers
Message-ID: <20010405181737.636$e8@newsreader.com>
Subject: Re: Download Speed
Date: Thu, 05 Apr 2001 22:17:37 +0000
From: curt@kcwc.com (Curt Welch)
References: <hjkict03k157fjakqr5effohj7ugjl2h9e@4ax.com> <Dqdy6.1591$MM.68717@ozemail.com.au> <b88nct86r5onui9qjoaaj8pak8uslkt2a0@4ax.com> <tcnh8skt3ugb09@news.supernews.com> <7c4octsegmenh3aitknvml949s2c99i82a@4ax.com> <20010405144842.423$rg@newsreader.com> <q3jpcts67nal8mv1ngutqp0dfc8einqclb@4ax.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!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.onemain.com!feed1.onemain.com!feed.newsreader.com!news2.newsreader.com!flame.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
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: 32