🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #63971

Re: Pipelining...

#63971
From: J.B. Moreno
Date: Sun, 09 Feb 2003 22:57
37 lines
2628 bytes
In article <yl7kc9i89u.fsf@windlord.stanford.edu>, 
 Russ Allbery <rra@stanford.edu> wrote:

> 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?

-snip MODE STREAM has nothing to do with pipelining-

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

And even then, the real difficulty is that it /may/ cause a different
state change than you expect -- for instance, POST may be refused, and
if you go ahead and send the body of the message without seeing if it's
allowed, you can loose the sync between command and response.  And it
might be confusing if you tried to change groups and that failed (next,
stat, xover, head and article would apply to the wrong group).

As for server support -- servers should support it, but some of the
webboard/nntp servers may not do so very well (of course, they tend not
to do anything very well, so that's hardly surprising, still a
preference wouldn't be amiss).

-- 
J.B. Moreno
Technical Details
Message-ID: <090220031757569511%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.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.newsreader.com!newsreader.com!news2.newsreader.com!troll.newsreader.com!planb
References: <1044813911.70272.0@doris.uk.clara.net> <yl7kc9i89u.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <090220031757569511%planb@newsreaders.com>
Subject: Re: Pipelining...
Date: Sun, 09 Feb 2003 17:57:56 -0500
From: "J.B. Moreno" <planb@newsreaders.com>
References: <1044813911.70272.0@doris.uk.clara.net> <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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.newsreader.com!newsreader.com!news2.newsreader.com!troll.newsreader.com!planb
Newsgroups: news.software.nntp
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: 8bit
User-Agent: Thoth/1.7.0 (Carbon/OS X)
X-Face: ]lUBtDImSD_`E"<*ZgyJUoCT\=CdRLFX4qCMLK[xy^L7v|uX|f8`cFDd*PaH8
  N*x>d^h
X-Trace: troll.newsreader.com okY4mlrOoKgW@QZn06ef6kVHjGTOmw-cI1G9raR-sNMRXWS
Lines: 36