Re: Header compression: header set diff

Roberto Peon <grmocg@gmail.com> Thu, 21 March 2013 20:48 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 21C1F21F8A54 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 21 Mar 2013 13:48:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level:
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 g+SwGRuVIkfx for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 21 Mar 2013 13:48:56 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4FB5021F8A04 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 21 Mar 2013 13:48:56 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UImOr-0002G8-Te for ietf-http-wg-dist@listhub.w3.org; Thu, 21 Mar 2013 20:47:49 +0000
Resent-Date: Thu, 21 Mar 2013 20:47:49 +0000
Resent-Message-Id: <E1UImOr-0002G8-Te@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1UImOd-0002DL-B5 for ietf-http-wg@listhub.w3.org; Thu, 21 Mar 2013 20:47:35 +0000
Received: from mail-ob0-f180.google.com ([209.85.214.180]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1UImOc-0004sP-HQ for ietf-http-wg@w3.org; Thu, 21 Mar 2013 20:47:35 +0000
Received: by mail-ob0-f180.google.com with SMTP id wo10so1063522obc.11 for <ietf-http-wg@w3.org>; Thu, 21 Mar 2013 13:47:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=4BaefU1XuFzCjLWIjILGADaPZsCvCnhge20wI0UhbFI=; b=QphlH4TgTqLUCiJA7ZZQBo2oJWwxR3fw3DDPxtx9+88KrIWt4foMOmieso2lCaIll7 oTzUV8HonzE0yDUMLZ3r/7Pb50bNPgPLFf7+ZNUyprhsS/vIZFyJAltu75q5ZXaEgXg3 1LZoLHaFdgllrGh3xBQfcecy7H8wEctW+BtJBKjlyaHFrYbxW6BK/aLLiEgkIj8qBANl PBM6/xH1kvs4DKXIDZ3olem0v6oHv7JGK5fN3DGSv1cXZkiv0lkBnnPahwmJIm6Qc9lm H0h4cVBE3gw4rE76ZUuSYF2Fq8M73J4/VjrWXrpLYRcWQDhyCHVqZkH0ELPNvPlBcfus Oi6Q==
MIME-Version: 1.0
X-Received: by 10.60.20.170 with SMTP id o10mr7759527oee.23.1363898828636; Thu, 21 Mar 2013 13:47:08 -0700 (PDT)
Received: by 10.76.109.72 with HTTP; Thu, 21 Mar 2013 13:47:08 -0700 (PDT)
In-Reply-To: <CABP7RbfCyK8EFHt7g2s+uFhQHHPs3tv=2eunJ8rYDYgz2p=wmw@mail.gmail.com>
References: <6C71876BDCCD01488E70A2399529D5E5163F39CB@ADELE.crf.canon.fr> <CAOdDvNq8K52L1rOF8GR7pi4VDx+fOshO=Co7O+0YQTGUL9XMZw@mail.gmail.com> <CABP7RbfCyK8EFHt7g2s+uFhQHHPs3tv=2eunJ8rYDYgz2p=wmw@mail.gmail.com>
Date: Thu, 21 Mar 2013 16:47:08 -0400
Message-ID: <CAP+FsNcHTJRsuZ9ZAH6FdQnQjBSpJ08brYnbNhnSM0e5_ZjLAA@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: James M Snell <jasnell@gmail.com>
Cc: Patrick McManus <pmcmanus@mozilla.com>, HTTP Working Group <ietf-http-wg@w3.org>, RUELLAN Herve <Herve.Ruellan@crf.canon.fr>
Content-Type: multipart/alternative; boundary="e89a8ff1c2f430c8b004d87571db"
Received-SPF: pass client-ip=209.85.214.180; envelope-from=grmocg@gmail.com; helo=mail-ob0-f180.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.680, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1UImOc-0004sP-HQ 0a70d42eec305ae317f52f5fb01424c6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Header compression: header set diff
Archived-At: <http://www.w3.org/mid/CAP+FsNcHTJRsuZ9ZAH6FdQnQjBSpJ08brYnbNhnSM0e5_ZjLAA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/17104
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>

Unless, of course, you ever intend to do server push :)
-=R


On Thu, Mar 21, 2013 at 3:53 PM, James M Snell <jasnell@gmail.com> wrote:

> +1.. In addition to this,  response headers tend to be significantly more
> variable than request headers...  Which,  of course means much lower
> compression ratios anyway if we're talking about delta based mechanisms.
> It makes very little sense to optimize for the response side.
> On Mar 21, 2013 6:14 AM, "Patrick McManus" <pmcmanus@mozilla.com> wrote:
>
>> On Thu, Mar 21, 2013 at 8:50 AM, RUELLAN Herve
>> <Herve.Ruellan@crf.canon.fr> wrote:
>>
>> > To better understand the impact of this choice of persisting the header
>> set, we tested it inside HeaderDiff and saw a slight improvement of
>> compaction for requests but also a slight(er) decrease of compaction for
>> responses.
>>
>> All else being equal (which is of course never true), compression
>> ratio of requests is more important than responses because the MUX
>> allows multiple requests to fit inside the cwnd (and thus avoid
>> scaling by rtt). The better the ratio, the greater the number of
>> transactions in 1-flight-mux. On the response side the headers are
>> mixed in with data frames which in many (but not all) scenarios
>> overhwelm the headers on a byte count basis - so the effect of header
>> compression is less likely to impact congestion control.
>>
>>