Re: Pipelining in HTTP 1.1

Fred Baker <fred@cisco.com> Mon, 30 March 2009 21:36 UTC

Return-Path: <ietf-http-wg-request@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@core3.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D1AAB3A6DA1 for <ietfarch-httpbisa-archive-bis2Juki@core3.amsl.com>; Mon, 30 Mar 2009 14:36:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.897
X-Spam-Level:
X-Spam-Status: No, score=-7.897 tagged_above=-999 required=5 tests=[AWL=2.701, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jfleERlZJsAk for <ietfarch-httpbisa-archive-bis2Juki@core3.amsl.com>; Mon, 30 Mar 2009 14:36:43 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by core3.amsl.com (Postfix) with ESMTP id C61123A6DA4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 30 Mar 2009 14:36:43 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.63) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1LoPAj-0003re-Rs for ietf-http-wg-dist@listhub.w3.org; Mon, 30 Mar 2009 21:37:33 +0000
Received: from maggie.w3.org ([193.51.208.68]) by frink.w3.org with esmtp (Exim 4.63) (envelope-from <fred@cisco.com>) id 1LoPAh-0003r3-Ag for ietf-http-wg@listhub.w3.org; Mon, 30 Mar 2009 21:37:31 +0000
Received: from sj-iport-2.cisco.com ([171.71.176.71]) by maggie.w3.org with esmtp (Exim 4.63) (envelope-from <fred@cisco.com>) id 1LoPAV-0005IN-Gq for ietf-http-wg@w3.org; Mon, 30 Mar 2009 21:37:30 +0000
X-IronPort-AV: E=Sophos; i="4.38,448,1233532800"; d="scan'208,217"; a="148568489"
Received: from rtp-dkim-1.cisco.com ([64.102.121.158]) by sj-iport-2.cisco.com with ESMTP; 30 Mar 2009 21:36:47 +0000
Received: from rtp-core-1.cisco.com (rtp-core-1.cisco.com [64.102.124.12]) by rtp-dkim-1.cisco.com (8.12.11/8.12.11) with ESMTP id n2ULalYY031282; Mon, 30 Mar 2009 17:36:47 -0400
Received: from stealth-10-32-244-218.cisco.com (stealth-10-32-244-218.cisco.com [10.32.244.218]) by rtp-core-1.cisco.com (8.13.8/8.13.8) with ESMTP id n2ULakHG027079; Mon, 30 Mar 2009 21:36:46 GMT
Cc: ietf-http-wg@w3.org, Jonathan Leighton <leighton@cis.udel.edu>, "Paul D. Amer" <amer@cis.udel.edu>
Message-Id: <134FA364-7591-42F3-AA99-D9DBCD324DA4@cisco.com>
From: Fred Baker <fred@cisco.com>
To: "Preethi Natarajan (prenatar)" <prenatar@cisco.com>
In-Reply-To: <C14B21C3CFBE6F4C81665B29F9880D3E0758A2D9@xmb-rtp-214.amer.cisco.com>
Content-Type: multipart/alternative; boundary="Apple-Mail-27-296278276"
Mime-Version: 1.0 (Apple Message framework v930.3)
Date: Mon, 30 Mar 2009 14:36:39 -0700
References: <C14B21C3CFBE6F4C81665B29F9880D3E0758A2D9@xmb-rtp-214.amer.cisco.com>
X-Mailer: Apple Mail (2.930.3)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=5331; t=1238449007; x=1239313007; c=relaxed/simple; s=rtpdkim1001; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=fred@cisco.com; z=From:=20Fred=20Baker=20<fred@cisco.com> |Subject:=20Re=3A=20Pipelining=20in=20HTTP=201.1 |Sender:=20 |To:=20=22Preethi=20Natarajan=20(prenatar)=22=20<prenatar@c isco.com>; bh=pMMS9x98r17C7/lNmfcaEFnl3MCi31AUXWlelkDwizw=; b=ZUqB/K5h2JxwJJ2Mlv52fzfoHc+1z80kq6zFXDnjA1oVs3bHTsR2q3CSbf /lli9HKp8cLugXWYSbBYkQfvOpcaqxs2Uzm3bUJlnaiQzjFXuSz7VUX3BIxr diDMj6le87;
Authentication-Results: rtp-dkim-1; header.From=fred@cisco.com; dkim=pass ( sig from cisco.com/rtpdkim1001 verified; );
Received-SPF: pass
X-SPF-Guess: pass
X-W3C-Hub-Spam-Status: No, score=-6.6
X-W3C-Hub-Spam-Report: BAYES_00=-2.599, DKIM_POLICY_TESTING=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1LoPAV-0005IN-Gq 207df598b9b2d32a42efea8974d9a2ca
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Pipelining in HTTP 1.1
Archived-At: <http://www.w3.org/mid/134FA364-7591-42F3-AA99-D9DBCD324DA4@cisco.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/6063
X-Loop: ietf-http-wg@w3.org
Sender: ietf-http-wg-request@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1LoPAj-0003re-Rs@frink.w3.org>
Resent-Date: Mon, 30 Mar 2009 21:37:33 +0000

I personally would agree with your viewpoint, with one caveat. The  
language of 2616 is clearly oriented towards TCP as a transport. In  
SCTP, you are doing the spirit of the recommendation with a different  
transport, which has a difference in effect - the requirement is not  
that the order of the responses must be the same as the order of the  
requests, but that the responses must be within the streams that the  
requests came in.

On Mar 30, 2009, at 2:27 PM, Preethi Natarajan (prenatar) wrote:

> Hello folks,
>
> I would like your comments on the following. This is w.r.t. HTTP  
> over SCTP (draft-natarajan-http-over-sctp-01) and I am trying to  
> comprehend "pipelining" in the context of HTTP 1.1.
>
> From Section 8.1.2.2 of RFC2616:
>
> "A client that supports persistent connections MAY "pipeline" its  
> requests (i.e., send multiple requests without waiting for each  
> response). A server MUST send its responses to those requests in the  
> same order that the requests were received."
>
> We (SCTP folks) assume that "persistent connection" in this section  
> refers to a persistent _transport_connection. When multiple HTTP  
> requests and responses are sent back-to-back on a persistent  
> transport connection, the HTTP transactions are pipelined.
>
> In our HTTP over SCTP streams design, we recommend transmitting HTTP  
> requests/responses over different SCTP streams, but note that these  
> reqeusts/responses are transmitted back-to-back within an SCTP  
> transport connection. I.e., the HTTP transactions are pipelined  
> across multiple streams of an SCTP transport connection but are not  
> pipelined within an SCTP stream. I am tempted to say that this  
> design still confirms to the "pipelining" definition as per RFC2616.
>
> Thoughts?
> Preethi
>
>