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

Greg Wilkins <gregw@intalio.com> Tue, 07 October 2014 03:18 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 9C2D91A030B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 6 Oct 2014 20:18:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.551
X-Spam-Level:
X-Spam-Status: No, score=-5.551 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, URIBL_RHS_DOB=1.514] 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 hk-aJ7L7VyA8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 6 Oct 2014 20:18:43 -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 6E0BB1A02F9 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 6 Oct 2014 20:18:41 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1XbLF6-0008FZ-FA for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Oct 2014 03:15:16 +0000
Resent-Date: Tue, 07 Oct 2014 03:15:16 +0000
Resent-Message-Id: <E1XbLF6-0008FZ-FA@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 1XbLF0-0008El-P3 for ietf-http-wg@listhub.w3.org; Tue, 07 Oct 2014 03:15:10 +0000
Received: from mail-wi0-f170.google.com ([209.85.212.170]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <gregw@intalio.com>) id 1XbLEz-0000J4-GW for ietf-http-wg@w3.org; Tue, 07 Oct 2014 03:15:10 +0000
Received: by mail-wi0-f170.google.com with SMTP id hi2so8485317wib.1 for <ietf-http-wg@w3.org>; Mon, 06 Oct 2014 20:14:42 -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=FRC7tYUGbHyrwLAHftEPO9T4pH+z66Sh/7UgEwR1t7I=; b=OvFjB3zJlaJue3Y2kfutWtkRqyT1Csn1CpzrLph8PKSkfDd1QYo5SIspnQKSMFHdrC shaSAm6KgiNVZujidcyHDHLlG904VYl25qK+WW/AYQb4kbKvC2eZ7I/1EUIAbm3KSudB liRpBrC+O7gKQIG/mMpWX5TcmkVMApulj3PvcfXdbRQXs2viJiwSS5wPe/h/s+NgkA34 kyb0Kd+R29enkuKRqsig/c3aB+F9/Kbd0VzfOovRwMha0LVm7L3kg0TpwYR+Nr/WdjL0 HyF0vRkN/+iWaE2stmxwJ/E5fMPgsx4+mMLCwYhWM67cUhtMBzoJoMLQJklHTZo4vjU3 fOZw==
X-Gm-Message-State: ALoCoQn1g+PDaXuJmhMqoamLyJuczuq6JzbFuwzJrahrrmpsi4WrN2WPscFQDcKuWBVHV5cJLOsi
MIME-Version: 1.0
X-Received: by 10.180.206.204 with SMTP id lq12mr9429171wic.67.1412651682749; Mon, 06 Oct 2014 20:14:42 -0700 (PDT)
Received: by 10.194.169.98 with HTTP; Mon, 6 Oct 2014 20:14:42 -0700 (PDT)
In-Reply-To: <54334615.40907@iij.ad.jp>
References: <CA+pLO_jkN67HLT7oup+FcYVY+RZ7ckhpY2gGy=TAsr2UUMnVVA@mail.gmail.com> <987FB86A-EF8B-4CD1-A9A7-52A9163E8CB3@mnot.net> <54334615.40907@iij.ad.jp>
Date: Tue, 07 Oct 2014 14:14:42 +1100
Message-ID: <CAH_y2NGuRBeN=_NJExeFqt06Uq5MAdYHpAp2xhiFKj0AE1wcJQ@mail.gmail.com>
From: Greg Wilkins <gregw@intalio.com>
To: Shigeki Ohtsu <ohtsu@iij.ad.jp>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="001a11c25cc0bdf6c70504cc99b7"
Received-SPF: permerror client-ip=209.85.212.170; envelope-from=gregw@intalio.com; helo=mail-wi0-f170.google.com
X-W3C-Hub-Spam-Status: No, score=-4.7
X-W3C-Hub-Spam-Report: AWL=-2.113, BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1XbLEz-0000J4-GW 2584e39de6e339cd01747adfecb0d70e
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_y2NGuRBeN=_NJExeFqt06Uq5MAdYHpAp2xhiFKj0AE1wcJQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/27462
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 7 October 2014 12:47, Shigeki Ohtsu <ohtsu@iij.ad.jp> wrote:

> If we reduce a number of static header entries, it would be have a more
> chance for
> a dynamic header to be referred in the index less than 63.
>

That could be a good compromise.  Seeing that three appears to be some
consensus to tweak the table a bit (add static values), then I'd certainly
consider dropping a few of the least frequent static entries to free up
some 1 byte encoding slots for some dynamic entries.

Is the original data used for the frequency analysis still available?   I'm
happy to extract the candidates to be dropped (and suggested values) from
the test data, but it is not that large and I don't know how representative
it is.

If somebody can make the data available, I'm happy to generate a pull
request for a static table with more values and a few less entries.

cheers

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