🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #61745

Re: How to feed hamster 2 hamster

#61745
From: Andrew - Supernews
Date: Fri, 01 Nov 2002 06:46
26 lines
2277 bytes
In article <0551g.va2201@archiver.winews.net>, Juergen Helbing wrote:
> MODE STREAM would permit to send a bunch of commands without
> waiting for the responses. One could for example send out
> article 567 CRLF article 568 CRLF article 569 ....  as one send()

this is wrong.

If you want to pipeline _reader_ commands (like ARTICLE, HEAD, XOVER,
XHDR, etc.), then just go ahead and send them in one go - you do NOT
need to send a MODE command first.

MODE STREAM is for _feeder_ connections, which would otherwise use IHAVE
to transfer articles. IHAVE can't be pipelined because you have to wait
for the response each time before knowing whether you can send the article;
a successful response from MODE STREAM means that the receiving server
understands the CHECK and TAKETHIS commands, which allow pipelined
article transfer. The MODE STREAM command itself does nothing.

(Programming the receiving end of a streaming feed is trivial. The sending
end is a bit harder, but it's just a matter of keeping a small queue of
message-ids which have been offered and not yet transferred.)

-- 
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services
Technical Details
Message-ID: <slrnas48qh.19nu.andrew+nonews@trinity.supernews.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!headwall.stanford.edu!newsfeed.news2me.com!newsfeed-west.nntpserver.com!hub1.meganetnews.com!nntpserver.com!telocity-west!TELOCITY!sn-xit-03!sn-xit-01!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
References: <Xns92B7DD2309D3Akakenxjsjkknen812jbc@192.168.123.162> <aprcbo.1rc.1@Heiko.Studt.dialin.t-online.de> <0551g.va2201@archiver.winews.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrnas48qh.19nu.andrew+nonews@trinity.supernews.net>
Subject: Re: How to feed hamster 2 hamster
Date: Fri, 01 Nov 2002 06:46:41 -0000
From: Andrew - Supernews <andrew+nonews@supernews.com>
References: <Xns92B7DD2309D3Akakenxjsjkknen812jbc@192.168.123.162> <aprcbo.1rc.1@Heiko.Studt.dialin.t-online.de> <0551g.va2201@archiver.winews.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!headwall.stanford.edu!newsfeed.news2me.com!newsfeed-west.nntpserver.com!hub1.meganetnews.com!nntpserver.com!telocity-west!TELOCITY!sn-xit-03!sn-xit-01!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
Newsgroups: news.software.nntp
Organization: http://www.supernews.com - all your nntp are belong to us
Reply-To: andrew@supernews.com
User-Agent: slrn/0.9.7.4 (FreeBSD)
X-Complaints-To: abuse@supernews.com
Lines: 25