Re: Reference set in HPACK

"Poul-Henning Kamp" <phk@phk.freebsd.dk> Wed, 02 July 2014 06:36 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 (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DB5011B28DA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 1 Jul 2014 23:36:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.553
X-Spam-Level:
X-Spam-Status: No, score=-7.553 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.651, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hZWD6eWFepXT for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 1 Jul 2014 23:36:35 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 170B21B28D8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 1 Jul 2014 23:36:35 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1X2E80-0003vT-TR for ietf-http-wg-dist@listhub.w3.org; Wed, 02 Jul 2014 06:34:48 +0000
Resent-Date: Wed, 02 Jul 2014 06:34:48 +0000
Resent-Message-Id: <E1X2E80-0003vT-TR@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1X2E7y-0003u2-0m for ietf-http-wg@listhub.w3.org; Wed, 02 Jul 2014 06:34:46 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1X2E7x-0007OP-8j for ietf-http-wg@w3.org; Wed, 02 Jul 2014 06:34:45 +0000
Received: from critter.freebsd.dk (unknown [192.168.60.3]) by phk.freebsd.dk (Postfix) with ESMTP id 0103216D0; Wed, 2 Jul 2014 06:34:23 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.9/8.14.9) with ESMTP id s626YMXb019404; Wed, 2 Jul 2014 06:34:22 GMT (envelope-from phk@phk.freebsd.dk)
To: Roberto Peon <grmocg@gmail.com>
cc: Kazu Yamamoto <kazu@iij.ad.jp>, HTTP Working Group <ietf-http-wg@w3.org>
In-reply-to: <CAP+FsNc+xW1gKma0McrgXtPpwR0BCubHkvHhUbcHHyn1Sd6t0g@mail.gmail.com>
From: Poul-Henning Kamp <phk@phk.freebsd.dk>
References: <20140702.143041.283993814131065692.kazu@iij.ad.jp> <CAP+FsNexzVzt+YV7oBeMdGrMoajbMVj1Z90XvQfaCuNMDjYdHg@mail.gmail.com> <20140702.145215.1023037072984695261.kazu@iij.ad.jp> <CAP+FsNc+xW1gKma0McrgXtPpwR0BCubHkvHhUbcHHyn1Sd6t0g@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <19402.1404282862.1@critter.freebsd.dk>
Content-Transfer-Encoding: quoted-printable
Date: Wed, 02 Jul 2014 06:34:22 +0000
Message-ID: <19403.1404282862@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=-3.3
X-W3C-Hub-Spam-Report: AWL=-3.287, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1X2E7x-0007OP-8j 3d9fb960a27dd564f196433359cbd72d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Reference set in HPACK
Archived-At: <http://www.w3.org/mid/19403.1404282862@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/25052
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 <CAP+FsNc+xW1gKma0McrgXtPpwR0BCubHkvHhUbcHHyn1Sd6t0g@mail.gmail.com>, Roberto Peon writes:

>If the headers were regularized, with the use of a reference set, one could
>imagine a reduction of 20 bytes per header.
>With 100 elements, this is approximately 2k of data, or two packets worth.

You'd save as many if not more bytes by being able to transfer the
biggest of the 100 elements in DATA frames larger than 16383 bytes.

I think it is fair to ask for some credible real-world data that shows
reference sets making an actual difference that justifies the added
complexity.

-- 
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.