Re: Reference set in HPACK

Roberto Peon <grmocg@gmail.com> Wed, 02 July 2014 07:48 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 1A3091A0ABB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 2 Jul 2014 00:48:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.652
X-Spam-Level:
X-Spam-Status: No, score=-7.652 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, 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 FiX4h4eLpLLG for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 2 Jul 2014 00:48:25 -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 967591A0B12 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 2 Jul 2014 00:48:25 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1X2FFL-0000eQ-Tx for ietf-http-wg-dist@listhub.w3.org; Wed, 02 Jul 2014 07:46:27 +0000
Resent-Date: Wed, 02 Jul 2014 07:46:27 +0000
Resent-Message-Id: <E1X2FFL-0000eQ-Tx@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 1X2FFH-0000b9-Hi for ietf-http-wg@listhub.w3.org; Wed, 02 Jul 2014 07:46:23 +0000
Received: from mail-oa0-f49.google.com ([209.85.219.49]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1X2FFG-0001rw-Fc for ietf-http-wg@w3.org; Wed, 02 Jul 2014 07:46:23 +0000
Received: by mail-oa0-f49.google.com with SMTP id i7so11778654oag.36 for <ietf-http-wg@w3.org>; Wed, 02 Jul 2014 00:45:56 -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=gBZnMUuGtp6W84OEkQqaU5P9XzhR/ym5bA+8UOqt3pA=; b=yAqShtj1PMIy6h20icXBz1g8X5WlTYiNNkTZgnSVe8O+plstLem176QybaVrLhywGP B5lUMdH74FdAB9xZvPbyL2Ud8mh47n7d7qWxhGzUUyrkMYYHloAopDjW03w7gR1VOP4Q V1s/b8Vv3anIFPjjMro1NQ06QtexRXsAmPoWYZwfsrlcSdoYA8oiKRGr6miKSTMFPW50 sG2bkDG56EKsI6bhsQc/HcveDYm+hsMch7rcUeMhafTEKD2+H1Orq5yUaLBkumwCdZ8X X28M1a+uX6CjwcN8g9s4RMydeaeZkQt9C+pHsRbMWzyIAz9xHOtv2GrKiXG4vTzCgcqt ARZw==
MIME-Version: 1.0
X-Received: by 10.60.140.227 with SMTP id rj3mr22077339oeb.10.1404287156188; Wed, 02 Jul 2014 00:45:56 -0700 (PDT)
Received: by 10.76.108.12 with HTTP; Wed, 2 Jul 2014 00:45:56 -0700 (PDT)
In-Reply-To: <CAH_y2NHJFQA-nLN9bw9wwVhLAhcY0ABXNQL9yCC5OGR-Y5_dzw@mail.gmail.com>
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> <CAH_y2NHJFQA-nLN9bw9wwVhLAhcY0ABXNQL9yCC5OGR-Y5_dzw@mail.gmail.com>
Date: Wed, 02 Jul 2014 00:45:56 -0700
Message-ID: <CAP+FsNeGCUEoiAdrL2gr_P=MdqEdBpD2aTSN6ncR8884s3+bhg@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Greg Wilkins <gregw@intalio.com>
Cc: Kazu Yamamoto <kazu@iij.ad.jp>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="047d7b2e50c01b83ea04fd3115d3"
Received-SPF: pass client-ip=209.85.219.49; envelope-from=grmocg@gmail.com; helo=mail-oa0-f49.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.710, 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 1X2FFG-0001rw-Fc 440c2318f8dada9c7a60a1505a05ec7b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Reference set in HPACK
Archived-At: <http://www.w3.org/mid/CAP+FsNeGCUEoiAdrL2gr_P=MdqEdBpD2aTSN6ncR8884s3+bhg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/25077
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'm all for people generating such data and coming to conclusions based on
it.
I'd caution that one should not predicate the analysis on pages that look
exactly as they do today, nor headers which look exactly as they do today.

Essentially all of the time that I commit to HTTP2 these days comes out of
personal time, and doing such an analysis would require more time than I'm
willing to take away from my family or more likely, sleep.

-=R


On Wed, Jul 2, 2014 at 12:37 AM, Greg Wilkins <gregw@intalio.com> wrote:

>
> On 2 July 2014 08:09, Roberto Peon <grmocg@gmail.com> wrote:
>
>> Even a few bytes per request adds up as the number of requests go up.
>> Lets think about a page today that has 100 elements, which is something
>> we see today.
>> 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.
>>
>
> Roberto,
>
> I think this kind of calculation needs some real data.     Maintaining a
> reference set is not a zero byte deal, as it still requires bytes to be
> sent to remove entries from the reference set that are not needed.  If real
> data shows that removals are frequent, then they may add up to close to the
> 2k also.
>
> I don't think that it is unreasonable to request that realistic data is
> provided to prove that a reference set is worthwhile.   It  would be good
> to obtain and evaluate such data for both a single connection and coalesced
> connections.
>
> regards
>
>
>
>
>
>
>
>
> --
> Greg Wilkins <gregw@intalio.com>
> http://eclipse.org/jetty HTTP, SPDY, Websocket server and client that
> scales
> http://www.webtide.com  advice and support for jetty and cometd.
>