🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #44528

Re: Batched ARTICLE commands

#44528
From: Andrew Gierth
Date: Sun, 27 Feb 2000 00:00
88 lines
5558 bytes
>>>>> "Curt" == Curt Welch <curt@kcwc.com> writes:

 Curt> Why would I want to criple my server like this just so it could
 Curt> be compatible with inn?  Why would the writers of the RFC want
 Curt> to force all the other servers to be broken just like inn is?

No one is suggesting that. No one is suggesting that MODE READER
actually needs to be anything more than a no-op if the server doesn't
require it. (But there are clients that fail if the server treats it
as an unrecognised command, so it does need to be recognised by the
server.)

 >> The standard as written is actually completely silent on this
 >> issue, you are adding your own interpretation to create this
 >> otherwise non-existant issue.

 Curt> Well, I think it's not silent at all about the issue becuse of
 Curt> the fact it brings in TCP/IP, but no one else seems to thing
 Curt> that's important.

Because it's not important. I've already pointed out that in another
similar field (SMTP) this problem has already been identified and been
resolved differently. (In their case, there was presumably no point in
arguing it because implementations were widely deployed that did not
support pipelining; making it an extension was the only practical
option.)

The fact is, that you can go around calling things "broken" as much as
you like, but it changes nothing. The _fact_ is that the currently
deployed servers do, as far as I know, all support pipelining with the
exception of the MODE READER, POST and IHAVE commands. Any new server
author needs to know that clients expect it to work, so it should be
documented in the RFC; but nothing will be gained by trying to pretend
that the known interoperability problems don't exist; client authors
need to know that some servers will not allow commands to be pipelined
across those commands.

 >> I happen to agree with you that clients and servers both should
 >> support pipelining everywhere that it is possible, but there are
 >> some places where making this simplistic assumption simply won't
 >> work (for practical reasons),

 Curt> The _ONLY_ (strong words eh?) practical reason is the fact that
 Curt> inn is so wide spread.  It's not a practical issue in the
 Curt> techincal sense at all.

This is nonsense. Firstly, it's not just INN, it's also the reference
implementation (which spawns subprocesses for POST and IHAVE).
Secondly, it's a perfectly reasonable part of server design to hand
off to other processes under appropriate conditions.  Whether this is
done in a way that breaks pipelining or not is an implementation
issue; this makes it worth specifying for those cases where it is
really needed, but without unnecessarily tying the implementor's
hands.

 Curt> INNs split process model is just the wrong way to build an NNTP
 Curt> server on a Unix box.

INN's approach is exactly the right one given its design constraints.
The only improvement would have been for innd to get incoming
connections passed to it from another process (avoiding the need to
fork the large innd process); but I doubt that requiring
file-descriptor-passing would have helped its portability anything at
the time.

 Curt> No one else that I know of has made that mistake since.

How many people do you know who have written widely-deployed Unix news
servers? Apart from INN and the reference nntpd, there is DNews (which
did not originate on Unix), Cyclone (which requires threads, does
everything in a single multi-threaded process and doesn't support
readers at all), Typhoon/Breeze (which does support readers but is
still constrained by the one-big-multithreaded-process model). What
else is there? Some proprietary servers written by specific sites?

 Curt> USEFOR burned me out real fast.  This is the NNTP RFC, not
 Curt> USEFOR thank god.

Yeah; USEFOR is so slow because things get discussed to death on the
list, the NNTP group is just as slow because things never get
discussed on the list at all. USEFOR has had more traffic in one month
(July 98, for example) than is in the entire archive of ietf-nntp
since mid-96.

-- 
Andrew.

Technical Details
Message-ID: <87r9dz9vwc.fsf@erlenstar.demon.co.uk>
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!not-for-mail
References: <220220000104304154%planb@newsreaders.com> <240220000054115493%planb@newsreaders.com> <20000225004139.313$nK@newsreader.com> <250220001158002643%planb@newsreaders.com> <20000225125610.123$Ow@newsreader.com> <yl6itzdjb0r.fsf@independence.ecn.ou.edu> <20000225162640.211$2M@newsreader.com> <87n1opgdej.fsf@erlenstar.demon.co.uk> <20000225180328.114$Ys@newsreader.com> <87zosog8kl.fsf@erlenstar.demon.co.uk> <20000225234216.661$0Y@newsreader.com> <bill-2602001142340001@192.168.254.8> <20000226153651.615$gx@newsreader.com> <brad-BF67F9.01345427022000@news.skynet.be> <20000226203444.497$we@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <87r9dz9vwc.fsf@erlenstar.demon.co.uk>
Subject: Re: Batched ARTICLE commands
Date: Sun, 27 Feb 2000 00:00:00 +0000
From: Andrew Gierth <andrew@erlenstar.demon.co.uk>
References: <220220000104304154%planb@newsreaders.com> <240220000054115493%planb@newsreaders.com> <20000225004139.313$nK@newsreader.com> <250220001158002643%planb@newsreaders.com> <20000225125610.123$Ow@newsreader.com> <yl6itzdjb0r.fsf@independence.ecn.ou.edu> <20000225162640.211$2M@newsreader.com> <87n1opgdej.fsf@erlenstar.demon.co.uk> <20000225180328.114$Ys@newsreader.com> <87zosog8kl.fsf@erlenstar.demon.co.uk> <20000225234216.661$0Y@newsreader.com> <bill-2602001142340001@192.168.254.8> <20000226153651.615$gx@newsreader.com> <brad-BF67F9.01345427022000@news.skynet.be> <20000226203444.497$we@newsreader.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!not-for-mail
X-Deja-AN: 590477075
X-Mayan-Date: Long count = 12.19.6.17.17; tzolkin = 1 Caban; haab = 5 Kayab
X-Complaints-To: andrew@erlenstar.demon.co.uk
Organization: disorganised
X-Attribution: AG
X-Pgp-0x0E9FFBE9: 87 25 7F 14 41 24 B3 51 E0 19 8B DE 49 74 0C 29
X-P-Persistent-Headers: are a bad idea.
Newsgroups: news.software.nntp
X-Post-Filter: postfilter v0.6 alpha