🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #51644

Re: Download Speed

#51644
From: Russ Allbery
Date: Thu, 05 Apr 2001 07:33
28 lines
2240 bytes
Jack <jkt@home.net> writes:
> not-a-real-address@usa.net (those who know me have no need of my name) wrote:

>>>      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).

Printing to the screen is generally an order of magnitude slower than
writing to a file, which is slower still than caching the data in memory
(which is what most news readers do).  The operations performed by the
system when a line is written to the screen are considerably more complex
than those performed when you write to a file on disk.

> I think it's more likely that my news server responds slower to XHDR
> command because it takes time to find "subject" from headers?

That shouldn't be the case, since that is a header required to be in
overview.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <yld7aryf56.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!supernews.google.com!sn-xit-03!supernews.com!cyclone-sjo1.usenetserver.com!news-out-sjo.usenetserver.com!cyclone.bc.net!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
References: <hjkict03k157fjakqr5effohj7ugjl2h9e@4ax.com> <Dqdy6.1591$MM.68717@ozemail.com.au> <b88nct86r5onui9qjoaaj8pak8uslkt2a0@4ax.com> <tcnh8skt3ugb09@news.supernews.com> <7c4octsegmenh3aitknvml949s2c99i82a@4ax.com>

Show Full Headers
Complete Article Headers
Message-ID: <yld7aryf56.fsf@windlord.stanford.edu>
Subject: Re: Download Speed
Date: Thu, 05 Apr 2001 07:33:41 +0000
From: Russ Allbery <rra@stanford.edu>
References: <hjkict03k157fjakqr5effohj7ugjl2h9e@4ax.com> <Dqdy6.1591$MM.68717@ozemail.com.au> <b88nct86r5onui9qjoaaj8pak8uslkt2a0@4ax.com> <tcnh8skt3ugb09@news.supernews.com> <7c4octsegmenh3aitknvml949s2c99i82a@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-03!supernews.com!cyclone-sjo1.usenetserver.com!news-out-sjo.usenetserver.com!cyclone.bc.net!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 27
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 986456022 25249 171.64.13.23 (5 Apr 2001 07:33:42 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)