Re: Questions on Frame Size

Martin Thomson <martin.thomson@gmail.com> Fri, 21 June 2013 18:13 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 BA3A721FA000 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 21 Jun 2013 11:13:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.549
X-Spam-Level:
X-Spam-Status: No, score=-10.549 tagged_above=-999 required=5 tests=[AWL=0.050, 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 Y+FDAI79shQv for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 21 Jun 2013 11:13:04 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5128C11E8104 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 21 Jun 2013 11:13:04 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Uq5nn-00060q-RL for ietf-http-wg-dist@listhub.w3.org; Fri, 21 Jun 2013 18:11:15 +0000
Resent-Date: Fri, 21 Jun 2013 18:11:15 +0000
Resent-Message-Id: <E1Uq5nn-00060q-RL@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1Uq5nU-0005zC-IE for ietf-http-wg@listhub.w3.org; Fri, 21 Jun 2013 18:10:56 +0000
Received: from mail-wg0-f52.google.com ([74.125.82.52]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1Uq5nT-0004R7-CR for ietf-http-wg@w3.org; Fri, 21 Jun 2013 18:10:56 +0000
Received: by mail-wg0-f52.google.com with SMTP id b12so6725489wgh.31 for <ietf-http-wg@w3.org>; Fri, 21 Jun 2013 11:10:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=fYt21RyRrOXSbmliZcMDeRGOZQi/VrCyNuZLf8wGcMI=; b=ZU2l4uoYzAcGhAqm2HKfoUSeowGW+D9LSWNTYQ+hsGgtBzmbkaLV+iayxBYyDdoKK5 LGU1zCrcnnSwaTFne44C5g73kHEG74z0PrepRGspEexzhFNTKpu6/ZvssoI8E2zi9zvV hMPsSjripcZRNP/N9PvITljcbVcJOkMM+jqYQgKUFfaCD5xSRWlaJe0oojTlTxKagRn3 qoAYxltswAO9fXHvofWMDhBZRx3H9qDqc+dqSpC7mZkNur415kIL8Q5Wk1+rt03AQ88/ Lk39y0GZi0efK+TRkzeoQ8aAqv8wSEvGK+DfRY/xIaQyXYLX24b39P8DUbU5c9W23OC2 YSiw==
MIME-Version: 1.0
X-Received: by 10.180.9.212 with SMTP id c20mr3055337wib.65.1371838229288; Fri, 21 Jun 2013 11:10:29 -0700 (PDT)
Received: by 10.194.60.46 with HTTP; Fri, 21 Jun 2013 11:10:29 -0700 (PDT)
In-Reply-To: <51C3CE2C.5080807@iij.ad.jp>
References: <51C293FD.1040806@iij.ad.jp> <CABP7RbeS7zeVnOM7R0mcUe+t-M+Ta3GVZr+1A3gSjY8QqCOgzQ@mail.gmail.com> <51C3823E.7010706@iij.ad.jp> <51C3A2A4.6030601@treenet.co.nz> <alpine.LRH.2.01.1306201809370.21683@egate.xpasc.com> <51C3BD06.6020501@iij.ad.jp> <CAA4WUYjJoxfmuU8GKySeCmoF4-T-BYC1YmBHRTc36su5eubNuQ@mail.gmail.com> <51C3CE2C.5080807@iij.ad.jp>
Date: Fri, 21 Jun 2013 11:10:29 -0700
Message-ID: <CABkgnnXkNbOBCb6D56pFBhxLQVvhKKVSyAf8VCRkM3L4WPFneA@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Shigeki Ohtsu <ohtsu@iij.ad.jp>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=74.125.82.52; envelope-from=martin.thomson@gmail.com; helo=mail-wg0-f52.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.681, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Uq5nT-0004R7-CR b5102f2e74c6564830b8b9b009e35684
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Questions on Frame Size
Archived-At: <http://www.w3.org/mid/CABkgnnXkNbOBCb6D56pFBhxLQVvhKKVSyAf8VCRkM3L4WPFneA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/18337
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>

I've made a few changes.  Let me know if the current spec is somehow inadequate.

On 20 June 2013 20:53, Shigeki Ohtsu <ohtsu@iij.ad.jp> wrote:
> Thanks for explaination.
>
> I would be glad if you add some editors notes or whatever on the draft for
> about it.
>
> I've amended the first commit to change the min frame size so that
> it becomes just editorial fixes. I think it's more clear than before.
>
> https://github.com/shigeki/http2-spec/compare/shigeki_20130621
>
> (2013/06/21 11:56), William Chan (陈智昌) wrote:
>>
>> On Thu, Jun 20, 2013 at 7:40 PM, Shigeki Ohtsu <ohtsu@iij.ad.jp
>> <mailto:ohtsu@iij.ad.jp>> wrote:
>>
>>     It seems that everyone agreed max 16K in HTTP but is not sure for use
>> of 64K now.
>>
>>     I think it is a bad idea to require for all implementers to suport 64K
>> frame size because
>>     it is too early to discuss future extensions for non-HTTP protocols.
>>
>>
>> I think this argument is invalid. I would find it valid to say that this
>> is unnecessary complexity (having a larger max frame size at the
>> framing layer) since that's for non-HTTP protocols and it's too early to
>> discuss them. But if your implementation only going to support HTTP
>> semantics anyway and plans to choke if someone tries to send a frame for a
>> non-HTTP application layer protocol, then I don't think there's any
>> additional implementation burden here.
>>
>>
>>     I've just made two commits for
>>
>>     1. change the requirement of min size of frame to 8K as previous one
>> (maybe 16K is okay)
>>     2. write max frame size of 16K explicity when carrying HTTP
>>
>>     https://github.com/shigeki/__http2-spec/compare/shigeki___20130621
>> <https://github.com/shigeki/http2-spec/compare/shigeki_20130621>
>>
>>
>>     If this is accepted, I will submit the PR.
>>
>>     Regards,
>>
>>
>>     (2013/06/21 10:14), David Morris wrote:
>>
>>
>>
>>         On Fri, 21 Jun 2013, Amos Jeffries wrote:
>>
>>             Which implies that server-push is a different protocol to HTTP
>> already.
>>
>>
>>         Different from 1.1, but a new feature of 2.0
>>
>>
>>             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.
>>
>>
>>         In the SF Interim, we agreed to 64K/16K (frame/vs HTTP) to allow
>> for the
>>         larger frame required to establish a TLS connection without added
>> round
>>         trips because the initial TLS setup exceeded a single frame.
>>
>>
>>
>>
>
>