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

Willy Tarreau <w@1wt.eu> Mon, 06 October 2014 22:53 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 794B31A0337 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 6 Oct 2014 15:53:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.088
X-Spam-Level:
X-Spam-Status: No, score=-7.088 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, J_CHICKENPOX_22=0.6, 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 raUnod4zUqTS for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 6 Oct 2014 15:53:27 -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 4E8841A888F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 6 Oct 2014 15:53:27 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1XbH6h-0000GF-2r for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Oct 2014 22:50:19 +0000
Resent-Date: Mon, 06 Oct 2014 22:50:19 +0000
Resent-Message-Id: <E1XbH6h-0000GF-2r@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1XbH6a-0000EY-OB for ietf-http-wg@listhub.w3.org; Mon, 06 Oct 2014 22:50:12 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1XbH6Z-0007D7-Gs for ietf-http-wg@w3.org; Mon, 06 Oct 2014 22:50:12 +0000
Received: (from willy@localhost) by pcw.home.local (8.14.3/8.14.3/Submit) id s96MnisG004281; Tue, 7 Oct 2014 00:49:44 +0200
Date: Tue, 07 Oct 2014 00:49:44 +0200
From: Willy Tarreau <w@1wt.eu>
To: Mark Nottingham <mnot@mnot.net>
Cc: HTTP Working Group <ietf-http-wg@w3.org>, Jeff Pinner <jpinner@twitter.com>
Message-ID: <20141006224943.GA4270@1wt.eu>
References: <CA+pLO_jkN67HLT7oup+FcYVY+RZ7ckhpY2gGy=TAsr2UUMnVVA@mail.gmail.com> <987FB86A-EF8B-4CD1-A9A7-52A9163E8CB3@mnot.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <987FB86A-EF8B-4CD1-A9A7-52A9163E8CB3@mnot.net>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-4.0
X-W3C-Hub-Spam-Report: AWL=-2.103, BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1XbH6Z-0007D7-Gs 9382b8c36f5d910535756974f513b286
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/20141006224943.GA4270@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/27458
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 Tue, Oct 07, 2014 at 06:23:37AM +1100, Mark Nottingham wrote:
> Thanks, Jeff.
> 
> I see people have already started to respond to this. 
> 
> Everyone else, please do the same ? if you think this needs more discussion,
> please do so, but I think we?re at a point where people can just state their
> preferences.

I'm not strongly in either direction. I think the new design is simpler,
but I wouldn't want to see more failures in field later if we already have
one bad example. I do think that if we could shave one more bit somewhere
to be able to have a cheaper reference to the indexed headers, it would
satisfy everyone, and I'm pretty sure this could be achieved, probably
at the expense of making almost unused encodings more expensive. We need
to keep in mind that the compression has substantially changed since it
was designed and that maybe some combinations are not needed anymore but
their encodings are still assigned, thus could be reused for something
else to gain in efficiency.

I had sent two ideas about this subject that would probably deserve being
revisited here 3 months ago :

      http://article.gmane.org/gmane.ietf.http-wg/23155
      http://article.gmane.org/gmane.ietf.http-wg/23201

In both cases, the point is to be able to encode *at least* some indexed
header fields with low bits, and I think that would help in the case of
people who have many non-common headers. I guess this situation could
become more widespread on WAN links between many enterprises communicating
with web services because there it's common to see a lot of custom headers.

Regards,
Willy