Re: Header compression: header set diff

Patrick McManus <pmcmanus@mozilla.com> Thu, 21 March 2013 13:14 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 77A3421F8D11 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 21 Mar 2013 06:14:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.977
X-Spam-Level:
X-Spam-Status: No, score=-9.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 GPfGWkeHUDRw for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 21 Mar 2013 06:14:34 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DEF9021F8AB7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 21 Mar 2013 06:14:33 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UIfJI-0008De-Pe for ietf-http-wg-dist@listhub.w3.org; Thu, 21 Mar 2013 13:13:36 +0000
Resent-Date: Thu, 21 Mar 2013 13:13:36 +0000
Resent-Message-Id: <E1UIfJI-0008De-Pe@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <patrick.ducksong@gmail.com>) id 1UIfJ7-0008CX-CQ for ietf-http-wg@listhub.w3.org; Thu, 21 Mar 2013 13:13:25 +0000
Received: from mail-ob0-f176.google.com ([209.85.214.176]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <patrick.ducksong@gmail.com>) id 1UIfJ6-0003rI-9w for ietf-http-wg@w3.org; Thu, 21 Mar 2013 13:13:25 +0000
Received: by mail-ob0-f176.google.com with SMTP id v19so2792603obq.21 for <ietf-http-wg@w3.org>; Thu, 21 Mar 2013 06:12:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=mI8GVKgVpj663O3aXjzKElAaA1fbu+LcvS2tg5Rz+J0=; b=qfvZ2DobOGImjXa0jhiJcf4kNNm5e8TZdiYOLEDIU/fEIyGlbTRscXAS9K5czCUHyA wjFuUWo9PfWfkQs9MfL3HicfQeCY1U4TSrzbsKapPPhZXUH2pwdFXgIu7/aZaTqcHUxr hYwYvxq0XvDZmr29g3ByfsAt4EUbKDJ5YMayqMMielbzcnQDm58hjj7JhSHPHNXLsiFY 8mAcvOsEa9HEHUC7dBkgeMv733ilnWDTlA7MNvvBQDaFa06WE4xEP0LzoUxewwqygYs8 pvjMi4FuPKf5MFsQjUAXzkw68GcKHdPFXQsBxXs1xqFoOk2ERZjkuwosXF6PJvtCA7qv UQGQ==
MIME-Version: 1.0
X-Received: by 10.60.23.195 with SMTP id o3mr6829071oef.73.1363871577984; Thu, 21 Mar 2013 06:12:57 -0700 (PDT)
Sender: patrick.ducksong@gmail.com
Received: by 10.76.27.106 with HTTP; Thu, 21 Mar 2013 06:12:57 -0700 (PDT)
In-Reply-To: <6C71876BDCCD01488E70A2399529D5E5163F39CB@ADELE.crf.canon.fr>
References: <6C71876BDCCD01488E70A2399529D5E5163F39CB@ADELE.crf.canon.fr>
Date: Thu, 21 Mar 2013 09:12:57 -0400
X-Google-Sender-Auth: 4uWvBdfir1alH9db90-hlaD7Ffk
Message-ID: <CAOdDvNq8K52L1rOF8GR7pi4VDx+fOshO=Co7O+0YQTGUL9XMZw@mail.gmail.com>
From: Patrick McManus <pmcmanus@mozilla.com>
To: RUELLAN Herve <Herve.Ruellan@crf.canon.fr>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="ISO-8859-1"
Received-SPF: pass client-ip=209.85.214.176; envelope-from=patrick.ducksong@gmail.com; helo=mail-ob0-f176.google.com
X-W3C-Hub-Spam-Status: No, score=-3.4
X-W3C-Hub-Spam-Report: AWL=-2.710, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1UIfJ6-0003rI-9w 853ca385a9d8c69a83b7e7e2fe87a6b9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Header compression: header set diff
Archived-At: <http://www.w3.org/mid/CAOdDvNq8K52L1rOF8GR7pi4VDx+fOshO=Co7O+0YQTGUL9XMZw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/17095
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 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.