RE: Alternative Header Compression Update..

RUELLAN Herve <Herve.Ruellan@crf.canon.fr> Thu, 11 July 2013 16:57 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 (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1137021F86C4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 Jul 2013 09:57:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.162
X-Spam-Level:
X-Spam-Status: No, score=-10.162 tagged_above=-999 required=5 tests=[AWL=0.088, BAYES_00=-2.599, HELO_EQ_FR=0.35, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ac7TR1OhZE-o for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 Jul 2013 09:57:27 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 266C311E8119 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 11 Jul 2013 09:56:54 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UxK9r-0007ne-31 for ietf-http-wg-dist@listhub.w3.org; Thu, 11 Jul 2013 16:55:55 +0000
Resent-Date: Thu, 11 Jul 2013 16:55:55 +0000
Resent-Message-Id: <E1UxK9r-0007ne-31@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <Herve.Ruellan@crf.canon.fr>) id 1UxK9j-0007mv-Qv for ietf-http-wg@listhub.w3.org; Thu, 11 Jul 2013 16:55:47 +0000
Received: from inari-msr.crf.canon.fr ([194.2.158.67]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <Herve.Ruellan@crf.canon.fr>) id 1UxK9i-0001Yo-Qf for ietf-http-wg@w3.org; Thu, 11 Jul 2013 16:55:47 +0000
Received: from mir-bsr.corp.crf.canon.fr (mir-bsr.corp.crf.canon.fr [172.19.77.99]) by inari-msr.crf.canon.fr (8.13.8/8.13.8) with ESMTP id r6BGtJ2Z000467; Thu, 11 Jul 2013 18:55:19 +0200
Received: from ADELE.crf.canon.fr (adele.fesl2.crf.canon.fr [172.19.70.17]) by mir-bsr.corp.crf.canon.fr (8.13.8/8.13.8) with ESMTP id r6BGtJBL030539; Thu, 11 Jul 2013 18:55:19 +0200
Received: from ADELE.crf.canon.fr ([::1]) by ADELE.crf.canon.fr ([::1]) with mapi id 14.02.0342.003; Thu, 11 Jul 2013 18:55:19 +0200
From: RUELLAN Herve <Herve.Ruellan@crf.canon.fr>
To: James M Snell <jasnell@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Thread-Topic: Alternative Header Compression Update..
Thread-Index: AQHOfQZxnx0kKAguJE+2v5m/td2rG5lfs+sw
Date: Thu, 11 Jul 2013 16:55:18 +0000
Message-ID: <6C71876BDCCD01488E70A2399529D5E525EF0080@ADELE.crf.canon.fr>
References: <CABP7RbcoTSGVbGKkzwtCjKL__mC_3m91tsu=V5U8wQAMGfG=Ag@mail.gmail.com>
In-Reply-To: <CABP7RbcoTSGVbGKkzwtCjKL__mC_3m91tsu=V5U8wQAMGfG=Ag@mail.gmail.com>
Accept-Language: en-US, fr-FR
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [172.20.5.239]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Received-SPF: none client-ip=194.2.158.67; envelope-from=Herve.Ruellan@crf.canon.fr; helo=inari-msr.crf.canon.fr
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-3.186, RP_MATCHES_RCVD=-0.303
X-W3C-Scan-Sig: lisa.w3.org 1UxK9i-0001Yo-Qf 9eee6053be283f641d9c91be96b1e35c
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Alternative Header Compression Update..
Archived-At: <http://www.w3.org/mid/6C71876BDCCD01488E70A2399529D5E525EF0080@ADELE.crf.canon.fr>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/18696
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>

James,

The 256-entry table acting as a circular buffer is probably a cleaner solution than what is currently in the compression spec.

For the low-level encoding of entries, I think I prefer encoding each entry separately using a few bits to signal which encoding is used. This is much simpler to use, and I would think slightly more compact.

Hervé.

> -----Original Message-----
> From: James M Snell [mailto:jasnell@gmail.com]
> Sent: mercredi 10 juillet 2013 02:40
> To: ietf-http-wg@w3.org
> Subject: Alternative Header Compression Update..
> 
> All,
> 
> Even tho we decided at the face-to-face to move forward with the header
> compression draft as the starting point with header compression in http/2 for
> the implementation draft, I definitely remain skeptical of the overall design
> of the scheme. I have voiced my reservations in the past and after
> implementing the current header compression scheme, my reservations
> about it's design remain.
> 
> Combining elements of my previous explorations here with ideas from the
> current header compression draft, I have posted another update to the
> "Stored Header Encoding" draft.
> 
>   http://www.ietf.org/id/draft-snell-httpbis-bohe-11.txt
> 
> This details an alternative scheme that ditches the differential encoding and
> the reference set, uses a fixed range of header table indices (0x00-FF), and
> uses a least-recently-written eviction strategy without renumbering. This
> approach is significantly less complicated to implement at the cost of only a
> small handful of additional bytes on the wire.
> 
> - James