W3C home > Mailing lists > Public > ietf-http-wg@w3.org > April to June 2007

Re: pipelined client/server behaviour

From: Roy T. Fielding <fielding@gbiv.com>
Date: Sun, 1 Apr 2007 10:26:11 -0700
Message-Id: <FD526A3F-BB87-46E7-9996-BD4E78D7572E@gbiv.com>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
To: Jamie Lokier <jamie@shareable.org>

On Apr 1, 2007, at 8:06 AM, Jamie Lokier wrote:
> The main problem with pipelining is that a large or slow response
> delays subsequent responses.  Sometimes the delay can be very long,
> especially for a response generated on the fly.  Sometimes a response
> is a stream which does not terminate.

I would say that is one negative result of pipelining.  There can
be positive results as well, particularly when the client remembers
which servers do support pipelining.  But there is no question that
pipelining is hard to do right across all implementations.  That
doesn't mean it can't be done across some implementations, and there
really isn't much point in discussing it -- the standard will not
be changed.

<rant>The real problem with HTTP pipelining, though, is that it is
a horrible idea to try to duplicate TCP at the application layer.
If the people-in-charge hadn't been in such a hurry to blame HTTP
for everything bad happening to the Internet in 1994, they would
probably have realized that it made far more sense to fix
the semantic errors in TCP that prevent the sharing of window
sizes and setup information across multiple connections from the
same peers.  Sure, it would have taken some time to deploy such
a change across enough servers for it to make a difference, but
it would have fixed all sorts of denial-of-service vulnerabilities
at the same time as removing the need for HTTP to get into the
business of connection management, MUXing, etc.  TCP is a hard
problem that should only be solved once in the stack.</rant>

....Roy
Received on Sunday, 1 April 2007 17:25:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 06:50:09 GMT