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

Greg Wilkins <gregw@intalio.com> Mon, 20 October 2014 22:10 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 B43301ACE8D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Oct 2014 15:10:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.289
X-Spam-Level:
X-Spam-Status: No, score=-6.289 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 LPM6Zb-pM4ln for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Oct 2014 15:10:29 -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 3BC4F1ACE89 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 Oct 2014 15:10:29 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1XgL6s-000628-0B for ietf-http-wg-dist@listhub.w3.org; Mon, 20 Oct 2014 22:07:26 +0000
Resent-Date: Mon, 20 Oct 2014 22:07:26 +0000
Resent-Message-Id: <E1XgL6s-000628-0B@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 1XgL6l-00061K-2w for ietf-http-wg@listhub.w3.org; Mon, 20 Oct 2014 22:07:19 +0000
Received: from mail-wg0-f50.google.com ([74.125.82.50]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <gregw@intalio.com>) id 1XgL6j-00050X-Um for ietf-http-wg@w3.org; Mon, 20 Oct 2014 22:07:19 +0000
Received: by mail-wg0-f50.google.com with SMTP id a1so6342523wgh.21 for <ietf-http-wg@w3.org>; Mon, 20 Oct 2014 15:06:51 -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=BUVQrqdplZnJ1NdJKSkdrMoTbNx91PmxNG8XFJJ/FvE=; b=BllSo8oynGL3UhjuKuUz7jh4TVub1rRSk0VE2V0UN2vVYvDepIpTsyKm+c58xpqNS2 w12shOeGErAdMTPdhcoy4X5IJ1IKEcFZB65QxOMND3pRFxDiJkctxyDJYGLfa/LCKAFZ ZqXKc9+LAoh0M85nwsL/MKX190Sk2dZve2UpdbT71Z6ws7wxpy+1Q/egaNz1awrxlU9c w4pyUNLWTGDwVACgXl82rbAhfOtC7tFgxNimtcwJEeT+IlMX1mj9KhYjlozazbh4K/+9 vWTeSCZYIQ/6hmPPqFGZd17Bjduoe6hGaABxE5+6/gELODy1c29L0IsRvv82Sm28SuEE sf8g==
X-Gm-Message-State: ALoCoQnhhkJvppyhBOtQhBAsiCRlA8s2S47QG04+ws5cBlJAUH77t3cJrn8IqcGda9z3ztDEmFna
MIME-Version: 1.0
X-Received: by 10.180.149.130 with SMTP id ua2mr24275366wib.31.1413842811057; Mon, 20 Oct 2014 15:06:51 -0700 (PDT)
Received: by 10.194.164.168 with HTTP; Mon, 20 Oct 2014 15:06:50 -0700 (PDT)
In-Reply-To: <20141020165353.GA25743@1wt.eu>
References: <20141013012326.GD13217@1wt.eu> <CAP+FsNci+YbQ9fP9LiJ1BBUSDryWOqi4A4YsKyORskY7pK0Fmg@mail.gmail.com> <CAHzwyDuAeMJe_BW0kZkLUHRn6xAN8LO_uno_ZL0TmCLgSaYbkg@mail.gmail.com> <CAH_y2NHhDTDtM4+DvWAf66GiO7of4H+ouMhxzseGODhfCSchXg@mail.gmail.com> <CAHzwyDuuN=-DyGiWAfttwq7O_zUGOE=7kVf5J=qu6i_-A9ezfg@mail.gmail.com> <543E0400.8080009@treenet.co.nz> <20141015201540.GB980@1wt.eu> <6C71876BDCCD01488E70A2399529D5E53BF5F842@ADELE.crf.canon.fr> <20141016091626.GC3079@1wt.eu> <34008D72-5800-412E-A276-81C6C7BFA9E2@mnot.net> <20141020165353.GA25743@1wt.eu>
Date: Tue, 21 Oct 2014 09:06:50 +1100
Message-ID: <CAH_y2NFprbTLt5tOrC21hZaHJfvf59B5bgK5-3nmbf8vfKpGOA@mail.gmail.com>
From: Greg Wilkins <gregw@intalio.com>
To: Willy Tarreau <w@1wt.eu>
Cc: Mark Nottingham <mnot@mnot.net>, RUELLAN Herve <Herve.Ruellan@crf.canon.fr>, Amos Jeffries <squid3@treenet.co.nz>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="001a11c3812a85b0ad0505e1ee3b"
Received-SPF: permerror client-ip=74.125.82.50; envelope-from=gregw@intalio.com; helo=mail-wg0-f50.google.com
X-W3C-Hub-Spam-Status: No, score=-3.8
X-W3C-Hub-Spam-Report: AWL=-3.096, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1XgL6j-00050X-Um 7741f6efd9fbff21c1af4ab4fd8e7120
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_y2NFprbTLt5tOrC21hZaHJfvf59B5bgK5-3nmbf8vfKpGOA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/27638
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 21 October 2014 03:53, Willy Tarreau <w@1wt.eu> wrote:

> Anyone would please review and/or comment ?



Willy,

IF we are changing, then I'm fine with your approach IFF those that are
advocating bias to dynamic headers are also satisfied with it.

However, note that I think it needs to be considered together with a review
of the static table itself.  With your pattern we get :

   - 62 static 1 byte indexed fields - which are only useful if we have
   values for most of the first 62 entries in the static table - so we need to
   add as many valus as possible
   - For static name, literal value encodings, we only get 6 1 byte indexed
   fields, so we need to review the table order to ensure that the first 7
   static entries are most frequently used with dynamic values. Currently that
   is most definitely not the case.  Also consideration has to be given to the
   length of the 6 selected fields as if Date encodes to 2 byte index, then
   you may as well send it huffman encoded and save the 1 byte index for
   something like last-modified.

So currently I'm +0 on this, but if somebody proposed a well tuned static
table to match then I'd be +1

If those who are advocating dynamic header support don't dismiss this
approach, then I'll give a go at proposing such a tuned static table
tomorrow.

cheers



-- 
Greg Wilkins <gregw@intalio.com>  @  Webtide - *an Intalio subsidiary*
http://eclipse.org/jetty HTTP, SPDY, Websocket server and client that scales
http://www.webtide.com  advice and support for jetty and cometd.