Re: Straw Poll: Restore Header Table and Static Table Indices

Greg Wilkins <gregw@intalio.com> Tue, 07 October 2014 23:35 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 488471A8A86 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 7 Oct 2014 16:35:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.065
X-Spam-Level:
X-Spam-Status: No, score=-7.065 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.786, 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 yAsZBe50Ivpd for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 7 Oct 2014 16:35:28 -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 635D91A8A84 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 7 Oct 2014 16:35:28 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1XbeFD-0004ss-W2 for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Oct 2014 23:32:40 +0000
Resent-Date: Tue, 07 Oct 2014 23:32:39 +0000
Resent-Message-Id: <E1XbeFD-0004ss-W2@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <gregw@intalio.com>) id 1XbeFA-0004rQ-4M for ietf-http-wg@listhub.w3.org; Tue, 07 Oct 2014 23:32:36 +0000
Received: from mail-la0-f48.google.com ([209.85.215.48]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <gregw@intalio.com>) id 1XbeF8-0002qG-MR for ietf-http-wg@w3.org; Tue, 07 Oct 2014 23:32:36 +0000
Received: by mail-la0-f48.google.com with SMTP id gi9so7429567lab.35 for <ietf-http-wg@w3.org>; Tue, 07 Oct 2014 16:32:07 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=bZRhyJnN5bLcS4SqrtUWCz8NFHYRH1z3ompJGhulKnM=; b=ab7ltUm7p/fO1iv/ZHQbGCDLqTxLPSeG4bAJRccNLmYSmUgqvQRdmuv7ZwYr25w/AO vcajvAph89B0roZtid2xv3PRBAu34XKCLd872rPTxIEfOIBVEmqo43wqCA8gHoPNwAbR VdKO92HjZQBGwOVMAssQNP/MrWvRZ02zWThjdoLDHLoAjH4295oGmi69FVWoT4y2o36y XSXcCqSHrQqio1Sd3NRxR0WHTrhecI7kLkX9ex4rXMBaCstQGyCb2INxAMNghST+hZbC JagjT9ZUAHwKkN1CfIhKZyyhmdo5SgcMZIsXHVGR3WjkT8G3eaxC6CIHz+yjfuVE1WCo OzaQ==
X-Gm-Message-State: ALoCoQm/docN1qo5fp2eUy0KY+Ez/kxCl3ZtpVIvBNAqJVK5Y7x7G/KOAD3dUiZw51XSRAke9nys
MIME-Version: 1.0
X-Received: by 10.152.28.74 with SMTP id z10mr7543641lag.10.1412724727560; Tue, 07 Oct 2014 16:32:07 -0700 (PDT)
Received: by 10.25.32.136 with HTTP; Tue, 7 Oct 2014 16:32:07 -0700 (PDT)
In-Reply-To: <20141007170837.GD16764@1wt.eu>
References: <20141007052847.GA11117@1wt.eu> <B47FA4E6-6F91-44A1-8257-AE5086EF4DC1@mnot.net> <20141007054917.GB4566@1wt.eu> <28897143-3030-4500-829A-4199CE17CA22@mnot.net> <20141007061650.GD4566@1wt.eu> <C2C61B19-E738-4B90-BE0F-A4346C095FA4@mnot.net> <1412698245.2163945.176189617.6D3084E5@webmail.messagingengine.com> <20141007162640.GC16764@1wt.eu> <1412699732.2170145.176199249.48C58FAE@webmail.messagingengine.com> <6C71876BDCCD01488E70A2399529D5E53BE7808B@ADELE.crf.canon.fr> <20141007170837.GD16764@1wt.eu>
Date: Wed, 08 Oct 2014 10:32:07 +1100
Message-ID: <CAH_y2NGO=wGwpb8MM=jKCsj5T-1816nV1kbA=vTpyns302TaOQ@mail.gmail.com>
From: Greg Wilkins <gregw@intalio.com>
To: Willy Tarreau <w@1wt.eu>
Cc: RUELLAN Herve <Herve.Ruellan@crf.canon.fr>, Nicholas Hurley <hurley@todesschaf.org>, Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="089e0160b81e8d52610504dd9bab"
Received-SPF: permerror client-ip=209.85.215.48; envelope-from=gregw@intalio.com; helo=mail-la0-f48.google.com
X-W3C-Hub-Spam-Status: No, score=-3.7
X-W3C-Hub-Spam-Report: AWL=-3.050, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1XbeF8-0002qG-MR 702becdea1d30787f468e52e56fa59ab
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Straw Poll: Restore Header Table and Static Table Indices
Archived-At: <http://www.w3.org/mid/CAH_y2NGO=wGwpb8MM=jKCsj5T-1816nV1kbA=vTpyns302TaOQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/27517
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 support the current h2-14 text, except that if we are making a breaking
change for other reason, then I support adding in values to the current
static table entries.

However, if we make a breaking change AND somebody can provide a large data
set that is widely accepted as representative, then I'm happy to contribute
time and effort to come up with an new optimised static table that may or
may not be a little bit smaller depending on results.

cheers




On 8 October 2014 04:08, Willy Tarreau <w@1wt.eu> wrote:

> On Tue, Oct 07, 2014 at 04:49:05PM +0000, RUELLAN Herve wrote:
> > I did some quick testing and the second proposal from Willy has almost no
> > impact on the compaction size (on the HR test set from the compression
> > testing suite).
> >
> > I implemented it in a slightly different way: I use a 1-bit flag to
> determine
> > if an index is into the static table or the dynamic table. It seemed much
> > simpler to implement and less prone to errors.
>
> That's what I wanted initially but didn't find a spare bit.
> It would be nice if Jeff could pass you some example data which exhibit
> the trouble he faces so that we know if that can fix his issue or not.
>
> Thanks,
> Willy
>
>
>


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