Re: SPDY Header Frames

"Poul-Henning Kamp" <phk@phk.freebsd.dk> Tue, 17 July 2012 09:14 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 66C3621F8698 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 02:14:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.999
X-Spam-Level:
X-Spam-Status: No, score=-9.999 tagged_above=-999 required=5 tests=[AWL=-0.600, BAYES_00=-2.599, 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 MEcIJMnWmsYo for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 02:14:31 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D418D21F867A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 02:14:31 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sr3rN-0001Lr-Ss for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 09:14:25 +0000
Resent-Date: Tue, 17 Jul 2012 09:14:25 +0000
Resent-Message-Id: <E1Sr3rN-0001Lr-Ss@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sr3rF-0001Ki-2I for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 09:14:17 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sr3rB-0002j0-0h for ietf-http-wg@w3.org; Tue, 17 Jul 2012 09:14:17 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 0E4F73B758; Tue, 17 Jul 2012 09:13:52 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6H9DpUD062820; Tue, 17 Jul 2012 09:13:51 GMT (envelope-from phk@phk.freebsd.dk)
To: James M Snell <jasnell@gmail.com>
cc: ietf-http-wg@w3.org
From: Poul-Henning Kamp <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Tue, 17 Jul 2012 00:44:23 MST." <CABP7Rbfg6nf=qJOSAyC8mGcfDQxFmxREOqmb88_fSqiyc5Kv+Q@mail.gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"
Date: Tue, 17 Jul 2012 09:13:51 +0000
Message-ID: <62819.1342516431@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Sr3rB-0002j0-0h 4d805f110e02edb6e6982640e65ecf04
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/62819.1342516431@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14329
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>

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.