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

Greg Wilkins <gregw@intalio.com> Wed, 15 October 2014 05:02 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 EBC751A026C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 14 Oct 2014 22:02:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.389
X-Spam-Level:
X-Spam-Status: No, score=-4.389 tagged_above=-999 required=5 tests=[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 6BTDC7FLYiCJ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 14 Oct 2014 22:02:03 -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 8827A1A0263 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 14 Oct 2014 22:02:03 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1XeGgu-0007tU-Do for ietf-http-wg-dist@listhub.w3.org; Wed, 15 Oct 2014 05:00:04 +0000
Resent-Date: Wed, 15 Oct 2014 05:00:04 +0000
Resent-Message-Id: <E1XeGgu-0007tU-Do@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 1XeGgn-0005Yi-BF for ietf-http-wg@listhub.w3.org; Wed, 15 Oct 2014 04:59:57 +0000
Received: from mail-wi0-f179.google.com ([209.85.212.179]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <gregw@intalio.com>) id 1XeGgm-0008WI-BN for ietf-http-wg@w3.org; Wed, 15 Oct 2014 04:59:57 +0000
Received: by mail-wi0-f179.google.com with SMTP id d1so822955wiv.0 for <ietf-http-wg@w3.org>; Tue, 14 Oct 2014 21:59:29 -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=r4wLd6/zZ5WznoAXXqUQ4VcI4lcP2TBT+Ke3cmuS204=; b=KyoyJUBA5aJZCA0vnT94OrOogQPU/UU1GtG3u7EwxQUz3DH4blIbKOTs1rdc2U3Otm FqEbtH8chMK33rTw38QOuetqnvKcopkQJcnxlGUdbHT6bB961pnSYhuliq5gAKgq8tYT UM7qR1EhROHJsFU2hV1SOuo+PiNUNRD05AR7NjBFJc/9xSh+zYzLR1mk4hBmNgzy/972 UsZEdKYj7LKof3nAcaYzvC4J/SavNnLTOoLGw/afGQcuJUUMNG6aarP5U0wU5kAcSJ5u TfazkhLWj+dOYcCAoWTpKRe10Dij07ts6CV3xoS61IvxlGMuQvU+YUnv+PqdCmf4Wlf7 exTQ==
X-Gm-Message-State: ALoCoQm6SuNfC0DBxY7BDxF0IAQpSnz/RNYtBLKfWhXDD5fRr4xOxRBlGWUVO+KHkAwp03bfUTgq
MIME-Version: 1.0
X-Received: by 10.194.8.73 with SMTP id p9mr9485794wja.87.1413349169667; Tue, 14 Oct 2014 21:59:29 -0700 (PDT)
Received: by 10.194.164.168 with HTTP; Tue, 14 Oct 2014 21:59:29 -0700 (PDT)
In-Reply-To: <CAHzwyDuAeMJe_BW0kZkLUHRn6xAN8LO_uno_ZL0TmCLgSaYbkg@mail.gmail.com>
References: <CA+pLO_jkN67HLT7oup+FcYVY+RZ7ckhpY2gGy=TAsr2UUMnVVA@mail.gmail.com> <987FB86A-EF8B-4CD1-A9A7-52A9163E8CB3@mnot.net> <EBB30C88-7EBD-400F-9591-B646B4D3687B@mnot.net> <CAP+FsNeJU6aciA+UV3sQ318e4=fXxv9zZbsDZ1jXmYstz6XwaQ@mail.gmail.com> <E465C1C7-20DF-4F78-9936-9C914042920A@mnot.net> <20141013012326.GD13217@1wt.eu> <CAP+FsNci+YbQ9fP9LiJ1BBUSDryWOqi4A4YsKyORskY7pK0Fmg@mail.gmail.com> <CAHzwyDuAeMJe_BW0kZkLUHRn6xAN8LO_uno_ZL0TmCLgSaYbkg@mail.gmail.com>
Date: Wed, 15 Oct 2014 15:59:29 +1100
Message-ID: <CAH_y2NHhDTDtM4+DvWAf66GiO7of4H+ouMhxzseGODhfCSchXg@mail.gmail.com>
From: Greg Wilkins <gregw@intalio.com>
To: Adrian Cole <adrian.f.cole@gmail.com>
Cc: Roberto Peon <grmocg@gmail.com>, Willy Tarreau <w@1wt.eu>, Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>, Jeff Pinner <jpinner@twitter.com>
Content-Type: multipart/alternative; boundary="047d7b45049a33da5605056efff4"
Received-SPF: permerror client-ip=209.85.212.179; envelope-from=gregw@intalio.com; helo=mail-wi0-f179.google.com
X-W3C-Hub-Spam-Status: No, score=-4.7
X-W3C-Hub-Spam-Report: AWL=-2.111, BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1XeGgm-0008WI-BN 734c3742b62615be7e2b40566981fe66
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_y2NHhDTDtM4+DvWAf66GiO7of4H+ouMhxzseGODhfCSchXg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/27605
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 15 October 2014 15:22, Adrian Cole <adrian.f.cole@gmail.com> wrote:

> If we agree that api stuff does in fact use a lot of non-standard
> headers, and we believe flipping back doesn't maim normal web, could
> that be a strong enough case to revert?
>

I don't think we should set this up as standard headers vs dynamic
headers.   Both have
very valid use-cases and it is impossible to say which is more deserving of
the 1 byte
slots.   Simply flipping back just changes the bias and causes other
problems.

If an argument can be made that 2 byte encodings are still too large for
dynamic headers, then instead
of flipping back let's investigate how the 1 byte slots can be shared
between static and dynamic.
Reducing the size of the static table does not appear to have drastic
effects on compression, so if the
slots thus freed are a benefit for dynamic headers then we have a good
compromise.

I'm also OK with the status quo, as I think we are talking +/- 1% when we
are already saving >60%
But I'm happy to run the data if people think it is more than 1%.

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.