🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #63968

Re: Pipelining...

#63968
From: Russ Allbery
Date: Sun, 09 Feb 2003 19:06
30 lines
2330 bytes
Colin Wilson <colin@wilsonc.demon.co.uk> writes:

> The most recent versions of XanaNews do pipelining which speeds it up
> hugely.

> Someone suggested that I should send a 'MODE STREAM' command before
> issuing pipelined commands - but from what I can see from the RFC, 'MODE
> STREAM' is meant to be sent by peer servers, not newsreader clients.
> AFAICT, newsreader clients should only ever send 'MODE READER'.

> Does anyone have any more information on this?

Yeah, someone was confused.  Streaming (which is a different set of
commands for transferring articles between peers) is something completely
different than pipelining (which is sending multiple commands before
waiting for a response from the server).  You can do the latter without
issuing any special commands first, and MODE STREAM is definitely wrong
for a reader as you guessed.

So far as I know, every server out there supports pipelining, as long as
you avoid pipelining a few commands that can cause significant state
changes in the server or that don't make sense with pipelining (MODE
READER, AUTHINFO, and POST being the obvious ones).

-- 
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: <yl7kc9i89u.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
References: <1044813911.70272.0@doris.uk.clara.net>

Show Full Headers
Complete Article Headers
Message-ID: <yl7kc9i89u.fsf@windlord.stanford.edu>
Subject: Re: Pipelining...
Date: Sun, 09 Feb 2003 11:06:05 -0800
From: Russ Allbery <rra@stanford.edu>
References: <1044813911.70272.0@doris.uk.clara.net>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 29
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1044817566 10992 171.64.13.23 (9 Feb 2003 19:06:06 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Honest Recruiter,
 sparc-sun-solaris2.6)
Cancel-Lock: sha1:c7T5v+6OkYdWeh6AYzeeZXMgydk=