Re: Design Issue: Separate HEADERS and PRIORITY Frames, Eliminate HEADERS+PRIORITY

Jeff Pinner <jpinner@twitter.com> Wed, 29 May 2013 01:26 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 CF6B421F871D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 May 2013 18:26:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.976
X-Spam-Level:
X-Spam-Status: No, score=-9.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 1sK9l95Cn1Ka for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 May 2013 18:26:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5476421F87FB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 28 May 2013 18:26:44 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UhV9W-0007ga-AM for ietf-http-wg-dist@listhub.w3.org; Wed, 29 May 2013 01:26:10 +0000
Resent-Date: Wed, 29 May 2013 01:26:10 +0000
Resent-Message-Id: <E1UhV9W-0007ga-AM@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jpinner@twitter.com>) id 1UhV9J-0007fn-Pl for ietf-http-wg@listhub.w3.org; Wed, 29 May 2013 01:25:57 +0000
Received: from mail-ob0-f178.google.com ([209.85.214.178]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jpinner@twitter.com>) id 1UhV9I-0004N4-V7 for ietf-http-wg@w3.org; Wed, 29 May 2013 01:25:57 +0000
Received: by mail-ob0-f178.google.com with SMTP id fb19so2565444obc.23 for <ietf-http-wg@w3.org>; Tue, 28 May 2013 18:25:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=twitter.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=KE46BAfPST0zq7RTblyPdUCB0w9+RKBzXcYpScNb71E=; b=lJinTC24mvUQIa4e0GmuIiWZHaju1z6uvgVXCNpwCJvFNVhv5KIkiuxvjPaxXRHP9I NUJiAePGnLu9WP52kaAIs88A/1s7CwJXVyaBiE3u3f346isEZv5jD9Pm1wtK7N+V1aYG 95g+9iXQSu8f9s0mxJquBshViLacySUX8LnAg=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=KE46BAfPST0zq7RTblyPdUCB0w9+RKBzXcYpScNb71E=; b=J/7luBhfX4S5jvdOAirt1Iqom5qA1kb1ZFsIQLuh7OVMoFkZVU5WMKlqSrQ5zJU2WW cQNSGU/Tking7Ho7epwWbHx81sR67rAt9xN2SqYlP9IzS1jFeyz1Y2tUowlF8AcR2ChI hMjIXSJ536/Rb7G9deJoAR/9YEgXzTXqzauUK6EkyM4yB5p2oz89ygp69HjR6SG9x38D O1ECqezPqSyEwEay80zJv1AQxcx5cjE62KeSv/ZvXCCFxIdcit/e0VG0QmLgdYO2XSZU ZVCsf7OIlogbtcPtyJs22FE2VGK0WZ9ZRiiLWhBRHOPByrhGR5hD1J6r0bOH1PB/tBm/ /DgQ==
MIME-Version: 1.0
X-Received: by 10.182.137.196 with SMTP id qk4mr259566obb.53.1369790731003; Tue, 28 May 2013 18:25:31 -0700 (PDT)
Received: by 10.182.89.230 with HTTP; Tue, 28 May 2013 18:25:30 -0700 (PDT)
In-Reply-To: <CAP+FsNdxzgA019iez-HkJyS6cxM9EZ_HdsdmaK4mv6oTDzUSVg@mail.gmail.com>
References: <CABP7RbfX_H_7dwM7ExL5qJgpV5JN1NYyv9tqnu_E23qGk63mWg@mail.gmail.com> <CAA4WUYhDhoS+BNknRnYLAOXfWzumcjkWnQnM=NkNM8oqqE=atw@mail.gmail.com> <CAOdDvNqkuY5qtOzFz5J0v1F1_n8HmFY9J==sXMs_9tDrTTE=cg@mail.gmail.com> <CAA4WUYhZb_ScYZ=F8ypGkXkX=3oK+4TnyWOtuN_FNkZqqhbZLQ@mail.gmail.com> <CABP7RbeAwrT15QKn5kL0=w+V0zBgObe_pOzT-NxbwSrZ_RyA+A@mail.gmail.com> <CAP+FsNd95pXcPM1OiG2qjOyXKV80noh2frdEbORwe6HxsgeK3Q@mail.gmail.com> <CABP7RbfOWdaOVeVSmnrqUtHM5F8=xjLauDBoRbpijWsWxyK+rw@mail.gmail.com> <CA+pLO_g892Cr1B8GtN01j1GArU0+Mkoya2UAAb893ZrfKdyeEA@mail.gmail.com> <CAP+FsNe4=hVsm3sNerAdELECHz_2m8aWOLK-Kif-JVz_G=HyKw@mail.gmail.com> <CA+pLO_jaDNWyZyxsWVQ2YuBG8kuZjo1KovmBVfa2d9vVYb56dg@mail.gmail.com> <CAP+FsNd0AZEDXvTD7uvEgFK-4GRShj9tEcam0C68t4S_ySTNUw@mail.gmail.com> <CA+pLO_i84tPbrVZgE-0uLeZs5UB0wY2PLn=R9V74ZUe+0TyfiA@mail.gmail.com> <CAP+FsNcWfdgtW+-6tpXgcAPZSNHOdBuoMXLY4nPyf4YoLTeotg@mail.gmail.com> <CA+pLO_gV4YS6FVMiQ0rzDEHCYnOJdeGftY4Z0nm18qfaQBdofA@mail.gmail.com> <CAP+FsNfBoh6wcqTUHfHPhbf8zZ4Vj=i2Lg4bEG5wcyuUwz60eQ@mail.gmail.com> <CA+pLO_j8CX9vddtogsjz80uN=kv6vE7V1dJqEuJdTtGO64PYyw@mail.gmail.com> <CABP7RbdUSLTN1YJDkigfqvMJw7hUh4Uv+CYSsFETn6N+EQ0NdA@mail.gmail.com> <CABkgnnXWZ3pGhOugkTBQG2=0J8PdTkeefqToCsrGGQVV=rv=gQ@mail.gmail.com> <CA+pLO_iYO-12DaBfAqHJPzBR0hG3Qf7C+vFkRL3m+g7EHKtJfA@mail.gmail.com> <CAA4WUYh5ghPLBwHpezZ-dq7TjNXM2t+5oFppRaJ7eJ_M_Zd3BA@mail.gmail.com> <CAP+FsNdxzgA019iez-HkJyS6cxM9EZ_HdsdmaK4mv6oTDzUSVg@mail.gmail.com>
Date: Tue, 28 May 2013 18:25:30 -0700
Message-ID: <CA+pLO_hZBQ80XX0UxLRB2v3=bGYtbOBJY7GFGdiqO5Y9+w1JPQ@mail.gmail.com>
From: Jeff Pinner <jpinner@twitter.com>
To: Roberto Peon <grmocg@gmail.com>
Cc: "William Chan (陈智昌)" <willchan@chromium.org>, Martin Thomson <martin.thomson@gmail.com>, James M Snell <jasnell@gmail.com>, Patrick McManus <pmcmanus@mozilla.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="001a11c34052f03ef804ddd14169"
X-Gm-Message-State: ALoCoQmb+GdStDp6HXdzrZpzCNAVMj8aq4mo+Fj6CkmSqX1dc/aawq4B0fXcBCOx5U1kSH7jFRRT
Received-SPF: pass client-ip=209.85.214.178; envelope-from=jpinner@twitter.com; helo=mail-ob0-f178.google.com
X-W3C-Hub-Spam-Status: No, score=-3.9
X-W3C-Hub-Spam-Report: AWL=-3.100, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1UhV9I-0004N4-V7 979b62d72eff6829f3ac59ff0a301e36
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Design Issue: Separate HEADERS and PRIORITY Frames, Eliminate HEADERS+PRIORITY
Archived-At: <http://www.w3.org/mid/CA+pLO_hZBQ80XX0UxLRB2v3=bGYtbOBJY7GFGdiqO5Y9+w1JPQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/18137
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>

My preference for flag over opcode has to do with "one frame to open
streams" while I acknowledge the extra branch in the frame decoder --
though i think it might remove a branch in the session management code :)



On Tue, May 28, 2013 at 1:02 PM, Roberto Peon <grmocg@gmail.com> wrote:

> I think that the opcode approach is easier (I have a single branch instead
> of nested branches), but don't think it is a big deal either way.
>
> -=R
>
>
> On Tue, May 28, 2013 at 12:43 PM, William Chan (陈智昌) <
> willchan@chromium.org> wrote:
>
>> I have feelings about this bike shed color, but I don't care enough to
>> argue why mine is the best color ever. I am satisfied that there is a way
>> to convey priority within the same frame as the headers.
>>
>>
>> On Tue, May 28, 2013 at 11:12 AM, Jeff Pinner <jpinner@twitter.com>wrote:
>>
>>> At the time Roberto made the argument that the number of flags (8) was
>>> more sparse than the number of frame types (256), but IIRC this was based
>>> on the flags applying to all Control frames. At this point we have (at
>>> least implicitly) decided that flags are frame-type specific (see PONG
>>> flag), so I don't believe the argument is valid any more.
>>>
>>>
>>> On Tue, May 28, 2013 at 10:50 AM, Martin Thomson <
>>> martin.thomson@gmail.com> wrote:
>>>
>>>> I remember having almost this exact discussion in Tokyo.  The only
>>>> point that didn't come up this time was an argument Roberto made,
>>>> namely: "A frame type is cheaper (fewer bits) than a flag."
>>>>
>>>
>>>
>>
>