🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #58824

Re: Good Net-Keeping Seal of Approval 2.0 (GNKSA 2.0) for Usenet Software

#58824
From: Andrew - Supernews
Date: Mon, 13 May 2002 23:41
27 lines
2439 bytes
In article <28fdffdda7db493d%eae4dc98%dlg@40tude.net>, Marcus M�nnig wrote:
> On 14.05.2002 00:21:52, Marcus M�nnig wrote:
>> Do you know if common server implementations actually process new input 
>> while they still have output to process?
> 
> Or asked differently, while clients software authors conceptualize the 
> protocol as being of the command/response type, don't server software 
> authors, too?

server authors do indeed, but that doesn't stop pipelining from being
useful.

From the server's point of view, it's ready to read in a new command
as soon as the previous response is in the socket send buffer. At that
point it can read the next command in and process it while the previous
data is still in-flight, and so forth.

The only thing the server code has to do for pipelining to work properly
is to avoid gratuitously discarding received data. i.e. if it reads the
socket expecting to get a command, and instead gets several commands at
once, it needs to handle them correctly. This is usually not too hard
to get right.

-- 
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services
Technical Details
Message-ID: <slrnae0joa.2ha5.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!sn-xit-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
References: <gnksa_1020549602@gnksa.org> <Xns9205ACBC3DC37MyIdToken@209.249.90.101> <1fbr4ep.8a1p5jjauks1N%kmorgan@spamcop.net> <GUjC8.108561$n7.9791997@bin8.nnrp.aus1.giganews.com> <1rlmauf27m.fsf@einn.ifi.uio.no> <udkqg15et45f97@news.supernews.com> <090520021542366357%planb@newsreaders.com> <066c5f6deea258d2%721ac6f9%dlg@40tude.net> <28fdffdda7db493d%eae4dc98%dlg@40tude.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrnae0joa.2ha5.andrew+nonews@trinity.supernews.net>
Subject: Re: Good Net-Keeping Seal of Approval 2.0 (GNKSA 2.0) for Usenet Software
Date: Mon, 13 May 2002 23:41:15 -0000
From: Andrew - Supernews <andrew+nonews@supernews.com>
References: <gnksa_1020549602@gnksa.org> <Xns9205ACBC3DC37MyIdToken@209.249.90.101> <1fbr4ep.8a1p5jjauks1N%kmorgan@spamcop.net> <GUjC8.108561$n7.9791997@bin8.nnrp.aus1.giganews.com> <1rlmauf27m.fsf@einn.ifi.uio.no> <udkqg15et45f97@news.supernews.com> <090520021542366357%planb@newsreaders.com> <066c5f6deea258d2%721ac6f9%dlg@40tude.net> <28fdffdda7db493d%eae4dc98%dlg@40tude.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!sn-xit-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
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: slrn/0.9.7.4 (FreeBSD)
X-Complaints-To: newsabuse@supernews.com
Lines: 26