Re: SPDY Header Frames

Roberto Peon <grmocg@gmail.com> Tue, 17 July 2012 13: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 2603721F86D8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 06:26:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.998
X-Spam-Level:
X-Spam-Status: No, score=-9.998 tagged_above=-999 required=5 tests=[AWL=-0.600, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_38=0.6, J_CHICKENPOX_42=0.6, 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 3ZF-awbgO4t0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 06:26:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 40D5121F86D4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 06:26:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sr7m1-0003QG-6X for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 13:25:09 +0000
Resent-Date: Tue, 17 Jul 2012 13:25:09 +0000
Resent-Message-Id: <E1Sr7m1-0003QG-6X@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1Sr7lo-00029q-5T for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 13:24:56 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1Sr7lj-00041G-Mb for ietf-http-wg@w3.org; Tue, 17 Jul 2012 13:24:56 +0000
Received: by wgbdt14 with SMTP id dt14so362614wgb.26 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 06:24:25 -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; bh=DmuVeaFl9ydriFA1GjQUoE0UUF+1oLeYu4YwFlBUshk=; b=0cDs47tpnfETxY+8bG7cXoUPteGQdbXdp1MZ5eJFux8EXHk3gdZxUa5oNmUKNOw3Qi tEiPwmxO/NLNTIMdasX8njsVfXXbjmKmg/RQKjQKZDHeyg8msbJPtkn7nwBKK8ebM1Bs IF9Y6fNbYsJMWxB1tbhOlS5yZhOwvPqbcqApf2p8Oj/Ez5EXox5Isfk/JV0CT0hrQS5r tGSDavZFqstKB4L+GYwOL1VI8EOIWEZgdB1H5hKbnwrsWKhq008U2OrwO8yQTXKNNZPl O6UY/uv8JAYIs6hLK/3RnjJbyPxCsN1lqNn01W2fn8sjUvNuL9xb0yLIu9XiqMmuEcdK UCDg==
MIME-Version: 1.0
Received: by 10.180.92.129 with SMTP id cm1mr4314773wib.10.1342531465026; Tue, 17 Jul 2012 06:24:25 -0700 (PDT)
Received: by 10.194.42.197 with HTTP; Tue, 17 Jul 2012 06:24:24 -0700 (PDT)
Received: by 10.194.42.197 with HTTP; Tue, 17 Jul 2012 06:24:24 -0700 (PDT)
In-Reply-To: <62819.1342516431@critter.freebsd.dk>
References: <CABP7Rbfg6nf=qJOSAyC8mGcfDQxFmxREOqmb88_fSqiyc5Kv+Q@mail.gmail.com> <62819.1342516431@critter.freebsd.dk>
Date: Tue, 17 Jul 2012 06:24:24 -0700
Message-ID: <CAP+FsNfvUxmWdR2304QXxQMDwVRC5SVimJFSvStjd6KpGxQaOQ@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: HTTP Working Group <ietf-http-wg@w3.org>, James M Snell <jasnell@gmail.com>
Content-Type: multipart/alternative; boundary="f46d043c7d14129dc104c5067764"
Received-SPF: pass client-ip=74.125.82.45; envelope-from=grmocg@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Sr7lj-00041G-Mb a1851fe0a033ca1beee5b4f4aa7995ac
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/CAP+FsNfvUxmWdR2304QXxQMDwVRC5SVimJFSvStjd6KpGxQaOQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14338
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 Jul 17, 2012 2:15 AM, "Poul-Henning Kamp" <phk@phk.freebsd.dk> wrote:
>
> In message <CABP7Rbfg6nf=
qJOSAyC8mGcfDQxFmxREOqmb88_fSqiyc5Kv+Q@mail.gmail.com>
> , James M Snell writes:
>
> >Yeah.. um.. ignore that compression ratio, lol...
>
> I would have checked it but I have become allergic to dissecting
> gzip files after implementing ESI:includes on gzip'ed files in
> Varnish :-)
>
> >[...]so if our header encoding is compact enough without it, why spend
> >the additional cycles to save 20 bytes or so.
>
> Indeed.
>
> Speaking of which:  I was surprised to find that the SPDY dictionary
> didn't contain any fodder for compressing User-Agent ?
>
> Was this future-proofing/neutrality, to avoid trademark issues or
> because there were no reasonable general benefit to be had ?

A combination of future proofing and neutrality, as you've guessed.

We didn't want to provide any motivation for people to lie about user-agent
any more than they do today, and having something in the dictionary would
have provided such a motivation.
We also didn't want the protocol to "choose" any favorites, i.e. we wished
it to be neutral.
-=R

>
> (And what DO we do with User-Agent in HTTP/2.0, it must be possible
> to come up with something actually usable... ?
>
> >I am interested in hearing what further optimizations could be made to
the
> >structure.
>
> I take it that you have read draft-tarreau-httpbis-network-friendly-00 ?
>
> It has a lot of good ideas...
>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by
incompetence.
>
 On Jul 17, 2012 2:15 AM, "Poul-Henning Kamp" <phk@phk.freebsd.dk> wrote:

> In message <CABP7Rbfg6nf=
> qJOSAyC8mGcfDQxFmxREOqmb88_fSqiyc5Kv+Q@mail.gmail.com>
> , James M Snell writes:
>
> >Yeah.. um.. ignore that compression ratio, lol...
>
> I would have checked it but I have become allergic to dissecting
> gzip files after implementing ESI:includes on gzip'ed files in
> Varnish :-)
>
> >[...]so if our header encoding is compact enough without it, why spend
> >the additional cycles to save 20 bytes or so.
>
> Indeed.
>
> Speaking of which:  I was surprised to find that the SPDY dictionary
> didn't contain any fodder for compressing User-Agent ?
>
> Was this future-proofing/neutrality, to avoid trademark issues or
> because there were no reasonable general benefit to be had ?
>
> (And what DO we do with User-Agent in HTTP/2.0, it must be possible
> to come up with something actually usable... ?
>
> >I am interested in hearing what further optimizations could be made to the
> >structure.
>
> I take it that you have read draft-tarreau-httpbis-network-friendly-00 ?
>
> It has a lot of good ideas...
>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>
>