🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #70580

Re: SLRN reading headers very slowly

#70580
From: J.B. Moreno
Date: Tue, 16 Jan 2001 19:18
37 lines
2940 bytes
Thomas Schultz <tststs@gmx.de> wrote:

> On 16 January 2001 at 03:43 GMT, Richard Krush <richard_k@gmx.net> wrote:
> 
> > [open] a newsgroup for the first time, slrn reads the headers just fine
> > (200 headers in several seconds), but then when I try to read that
> > newsgroup again slrn spends close to a minute to read the same 200
> > headers, what's going on?
> 
> If all articles in the group are unread, e.g. when you enter a group
> for the first time, downloading 200 headers means sending one command
> (e.g. "Show me headers #700-#900") and reading the response. If you
> already read some articles and left others unread, downloading 200
> headers can mean sending up to 200 individual commands (e.g. "Show me
> header #703", "Show me header #707", "Show me header #709" etc.) and
> waiting for the newsserver to answer each of these requests.

Which is why most programs have a "catchup" command that marks all of
the unread articles as read.

> It's quite obvious that the second case will take more time. It should
> be possible to speed this process up by batching the commands and
> reading the responses in a row, but this is currently not implemented
> in slrn.

Not "should" but "is" (in general, I don't know the details with respect
to slrn, doing this might entail a total rewrite for all I know), but it
still won't be as fast as the first case (it's easier, i.e. quicker, for
the server to get the articles sequentially rather than individually).
Although the difference may not be significant (depending upon
implementation and other circumstances), and as I said above it will
certainly speed things up some if it is done.

-- 
JBM
"Moebius strippers only show you their back side." -- Unknown
Technical Details
Message-ID: <1enbz4o.1tvz8tk1aehml6N%planb@newsreaders.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!cyclone-sf.pbi.net!63.208.208.143!feed2.onemain.com!feed1.onemain.com!uunet!dca.uu.net!ralph.vnet.net!planb
References: <940g14$blbvi$1@ID-60069.news.dfncis.de> <slrn968od6.1dp.tststs@starflower.tststs.ddns.org>

Show Full Headers
Complete Article Headers
Message-ID: <1enbz4o.1tvz8tk1aehml6N%planb@newsreaders.com>
Subject: Re: SLRN reading headers very slowly
Date: Tue, 16 Jan 2001 14:18:33 -0500
From: planb@newsreaders.com (J.B. Moreno)
References: <940g14$blbvi$1@ID-60069.news.dfncis.de> <slrn968od6.1dp.tststs@starflower.tststs.ddns.org>
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!cyclone-sf.pbi.net!63.208.208.143!feed2.onemain.com!feed1.onemain.com!uunet!dca.uu.net!ralph.vnet.net!planb
Newsgroups: news.software.readers
Organization: NetNews BOFH wannabe
X-Face: ]lUBtDImSD_`E"<*ZgyJUoCT\=CdRLFX4qCMLK[xy^L7v|uX|f8`cFDd*PaH8
  N*x>d^h
Mail-Copies-To: nobody
X-ACLA-Charter: <http://www.deja.com/msgid.xp?MID=%3Cphenix-121119981748546229@roxboro0-023.dyn.interpath.net%3E&ST=&AH=1>
User-Agent: MacSOUP/2.4.4
Lines: 36
NNTP-Posting-Host: 166.82.184.148
X-Trace: ralph.vnet.net 979672469 166.82.184.148 (Tue, 16 Jan 2001 14:14:29 EST)
NNTP-Posting-Date: Tue, 16 Jan 2001 14:14:29 EST