Re: Questions on Frame Size

Amos Jeffries <squid3@treenet.co.nz> Fri, 21 June 2013 00:50 UTC

Return-Path: <ietf-http-wg-request@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F0DE311E813F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 20 Jun 2013 17:50:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.522
X-Spam-Level:
X-Spam-Status: No, score=-10.522 tagged_above=-999 required=5 tests=[AWL=0.077, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RnTLMt2dLfIs for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 20 Jun 2013 17:50:06 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E20B211E8136 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 20 Jun 2013 17:50:05 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UppWu-0002XG-7U for ietf-http-wg-dist@listhub.w3.org; Fri, 21 Jun 2013 00:48:44 +0000
Resent-Date: Fri, 21 Jun 2013 00:48:44 +0000
Resent-Message-Id: <E1UppWu-0002XG-7U@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1UppWL-0002VD-Dy for ietf-http-wg@listhub.w3.org; Fri, 21 Jun 2013 00:48:09 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1UppWJ-0000nv-Ri for ietf-http-wg@w3.org; Fri, 21 Jun 2013 00:48:09 +0000
Received: from [192.168.2.7] (103-9-42-2.flip.co.nz [103.9.42.2]) by treenet.co.nz (Postfix) with ESMTP id 23043E72CF for <ietf-http-wg@w3.org>; Fri, 21 Jun 2013 12:47:43 +1200 (NZST)
Message-ID: <51C3A2A4.6030601@treenet.co.nz>
Date: Fri, 21 Jun 2013 12:47:32 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <51C293FD.1040806@iij.ad.jp> <CABP7RbeS7zeVnOM7R0mcUe+t-M+Ta3GVZr+1A3gSjY8QqCOgzQ@mail.gmail.com> <51C3823E.7010706@iij.ad.jp>
In-Reply-To: <51C3823E.7010706@iij.ad.jp>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-3.3
X-W3C-Hub-Spam-Report: AWL=-3.336, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1UppWJ-0000nv-Ri d5d482680b30d8f93037baeb63816aa1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Questions on Frame Size
Archived-At: <http://www.w3.org/mid/51C3A2A4.6030601@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/18329
X-Loop: ietf-http-wg@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-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

On 21/06/2013 10:29 a.m., Shigeki Ohtsu wrote:
> Sorry, I replied this only to James.  Re-sent it to WG again.
>
> (2013/06/21 1:29), James M Snell wrote:
>> My understanding is...
>>
>> When PUSH_PROMISE is used for HTTP, then yes, it would be limited to 
>> 16k.
>> When PUSH_PROMISE is used for any protocol other than HTTP, it could
>> be up to 64k.
>>
>> We are defining the Framing Layer separately from the HTTP Layer in
>> order to allow other protocols to be built on top of the framing layer
>> at some point.
>
> The spec would be applied to other protocols like SPDY but we should not
> discuss it here because in "1.1 Document Organization" it says that
>
> "While some of the framing layer concepts are isolated from HTTP, 
> building
> a generic framing layer has not been a goal. The framing layer is 
> tailored
> to the needs of the HTTP protocol and server push. "

Which implies that server-push is a different protocol to HTTP already.

> and
>
> "However, the ability to reuse the HTTP/2.0 framing layer is a non 
> goal. "
> in "5.1 Separation of Framing Layer and Application Layer "
>
> We should start discussion at first whether we change them or not.

I think it sufficient to mention that the framing layer MAY be re-used 
by protocols adhering to HTTP protocol semantics but that the frame 
design is making no special design decisions for that.

IIRC: the 64K limit is for next-generation requirements of systems 
running HTTP at TB speeds. Allowing new frames to be added for those 
larger line rates is very useful given they are already on the horizon 
and HTTP/2.0 has long lifetime ahead.

FWIW: I already have a few customers who would be thankful to send GB 
sized chunks between their servers, HOL blocking is not an issue there. 
But these are specialized use cases where custom frames can be used so 
long as any middleware is happy to relay the large entity/unknown frame 
size.

Amos