RE: bohe and delta experimentation...

RUELLAN Herve <Herve.Ruellan@crf.canon.fr> Thu, 17 January 2013 16: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 (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 51E6221F8614 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 17 Jan 2013 08:53:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.248
X-Spam-Level:
X-Spam-Status: No, score=-10.248 tagged_above=-999 required=5 tests=[AWL=0.001, BAYES_00=-2.599, HELO_EQ_FR=0.35, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yPOyoHV-N+45 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 17 Jan 2013 08:53:12 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7910021F86D8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 17 Jan 2013 08:53:12 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Tvsgf-0005Yf-Gy for ietf-http-wg-dist@listhub.w3.org; Thu, 17 Jan 2013 16:51:33 +0000
Resent-Date: Thu, 17 Jan 2013 16:51:33 +0000
Resent-Message-Id: <E1Tvsgf-0005Yf-Gy@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <Herve.Ruellan@crf.canon.fr>) id 1Tvsga-0005WT-QC for ietf-http-wg@listhub.w3.org; Thu, 17 Jan 2013 16:51:28 +0000
Received: from inari-msr.crf.canon.fr ([194.2.158.67]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <Herve.Ruellan@crf.canon.fr>) id 1TvsgZ-0002kX-AT for ietf-http-wg@w3.org; Thu, 17 Jan 2013 16:51:28 +0000
Received: from mir-msr.corp.crf.canon.fr (mir-msr.corp.crf.canon.fr [172.19.77.98]) by inari-msr.crf.canon.fr (8.13.8/8.13.8) with ESMTP id r0HGowSO023980; Thu, 17 Jan 2013 17:50:58 +0100
Received: from ADELE.crf.canon.fr (adele.fesl2.crf.canon.fr [172.19.70.17]) by mir-msr.corp.crf.canon.fr (8.13.8/8.13.8) with ESMTP id r0HGowaZ023292; Thu, 17 Jan 2013 17:50:58 +0100
Received: from ADELE.crf.canon.fr ([::1]) by ADELE.crf.canon.fr ([::1]) with mapi id 14.02.0328.009; Thu, 17 Jan 2013 17:50:58 +0100
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: bohe and delta experimentation...
Thread-Index: AQHN9DhyhcDuYOHxJk6FxzBCl5+hJZhNt8ZA
Date: Thu, 17 Jan 2013 16:50:58 +0000
Message-ID: <6C71876BDCCD01488E70A2399529D5E52E10F3@ADELE.crf.canon.fr>
References: <CABP7RbeNFm3ZHdtDBUJb3idJjFj0q+fxDPzxKZBhSJqXw8zWaQ@mail.gmail.com>
In-Reply-To: <CABP7RbeNFm3ZHdtDBUJb3idJjFj0q+fxDPzxKZBhSJqXw8zWaQ@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.197]
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.450, RP_MATCHES_RCVD=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TvsgZ-0002kX-AT 2290e8edc900beb1b5f40885f7452e9a
X-Original-To: ietf-http-wg@w3.org
Subject: RE: bohe and delta experimentation...
Archived-At: <http://www.w3.org/mid/6C71876BDCCD01488E70A2399529D5E52E10F3@ADELE.crf.canon.fr>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15958
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,

> -----Original Message-----
> From: James M Snell [mailto:jasnell@gmail.com]
> Sent: mercredi 16 janvier 2013 23:07
> To: ietf-http-wg@w3.org
> Subject: bohe and delta experimentation...
> 
> After going a number of scenarios with bohe using a variety of stream-
> compression scenarios it's painfully obvious that there is really no way
> around the CRIME issue when using stream-compression. So with that, I'm
> turning my attention to the use of Roberto's delta encoding and exploring
> whether or not binary optimized values can make a significant difference (as
> opposed to simply dropping in huffman-encoded text everywhere).
> 
> 
> I'm starting with dates first...
> 

From our dataset (see [1]), about 20% of the response headers are dates. The second type of values to optimize would be integer, that correspond to roughly 15% of the response headers.

One caveat: sometimes the value of a header that should be a date is not a date. Therefore an escape mechanism must be provided to encode these values.

Another interesting thing to investigate is encoding a value relatively to a previous value, as was proposed by Willy Tarreau. This is especially efficient for URLs.

Hervé.

[1] http://www.ietf.org/proceedings/85/slides/slides-85-httpbis-1.pdf