🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #51662

Re: Download Speed

#51662
From: Jack
Date: Thu, 05 Apr 2001 20:45
53 lines
3220 bytes
On 05 Apr 2001 18:48:42 GMT, curt@kcwc.com (Curt Welch) wrote:

>> >java is slow.
>>
>> Wrong answer. Even if Java were slow (I don't agree with that), it should
>> not have any effect on download speed in this case (internet is a LOT
>> slower than Java -- which isn't slow anyway).

>Java isn't as fast as the internet.  But that isn't your problem.

"Slowness" of Java shouldn't have any effect on this. Plus Java isn't slow. See
benchmark compared to c++.

http://www.aceshardware.com/Spades/read.php?article_id=153


>> >>out.println("XHDR " + "Subject " +  begin + "-" + end);
>> >
>> >most newsreaders send an xover command, e.g., ``xover 1-''.
>> >
>> >>      System.out.println(temp);
>> >
>> >doing this will certainly trash your performance.
>>
>> Huh? I am reading a line and printing it to the screen (as opposed to
>> saving it on the disk).

>Try printing lines in a loop and time just how fast it works.  It's
>not as fast as you seem to think it is.  Do you know how many bytes
>have to be moved around every time you scroll the screen?  Think
>about it.

Printing to screen is slow, but again it's a LOT faster than download speed
which is at best 200K on my connection. Printing shouldn't have any effect in
this case. Even if it did, it shouldn't have dropped the speed from 30K to 5K.

>I do too.  That would have been my first guess as well.  But why
>guess?  Change the XHDR to an XOVER and test it.


XOVER is faster. But the string it sends would be much harder to parse. It sends
line like

67975   Re: Guaranteed-unique path element?     Jeremy <jeremy@exit109.com>
28 Jan 2001 09:27:21 GMT        <980674041.686436@news.netscum.dk>      <slrn976
tl7.bkm.rich@bofh.concordia.ca> <yl4rykwhjt.fsf@windlord.stanford.edu> <slrn9772
22.enp.rich@bofh.concordia.ca> <ylzogctk5c.fsf@windlord.stanford.edu>   1117
11      Xref: cyclone.swbell.net news.software.nntp:67975      

this is harder to parse than xhdr subject or xhdr date


Technical Details
Message-ID: <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!newsfeed.berkeley.edu!ucberkeley!cyclone.swbell.net!nnrp1.sbc.net.POSTED!not-for-mail
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>

Show Full Headers
Complete Article Headers
Message-ID: <q3jpcts67nal8mv1ngutqp0dfc8einqclb@4ax.com>
Subject: Re: Download Speed
Date: Thu, 05 Apr 2001 15:45:54 -0500
From: "Jack" <jkt@home.net>
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>
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!newsfeed.berkeley.edu!ucberkeley!cyclone.swbell.net!nnrp1.sbc.net.POSTED!not-for-mail
Newsgroups: news.software.nntp
X-Newsreader: Forte Agent 1.8/32.548
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 52
NNTP-Posting-Host: 64.123.239.238
X-Complaints-To: abuse@swbell.net
X-Trace: nnrp1.sbc.net 986503435 64.123.239.238 (Thu, 05 Apr 2001 15:43:55 CDT)
NNTP-Posting-Date: Thu, 05 Apr 2001 15:43:55 CDT
Organization: SBC Internet Services