Re: New Version Notification for draft-vkrasnov-h2-compression-dictionaries-01.txt

Martin Thomson <martin.thomson@gmail.com> Thu, 03 November 2016 02:58 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@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 C463A12007C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 2 Nov 2016 19:58:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.998
X-Spam-Level:
X-Spam-Status: No, score=-7.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-1.497, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 H547FHpnbiom for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 2 Nov 2016 19:58:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6D32F12951D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 2 Nov 2016 19:58:44 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1c28Ak-00038K-Eb for ietf-http-wg-dist@listhub.w3.org; Thu, 03 Nov 2016 02:54:34 +0000
Resent-Date: Thu, 03 Nov 2016 02:54:34 +0000
Resent-Message-Id: <E1c28Ak-00038K-Eb@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <martin.thomson@gmail.com>) id 1c28Af-00037U-89 for ietf-http-wg@listhub.w3.org; Thu, 03 Nov 2016 02:54:29 +0000
Received: from mail-qt0-f169.google.com ([209.85.216.169]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <martin.thomson@gmail.com>) id 1c28AZ-00016f-Bu for ietf-http-wg@w3.org; Thu, 03 Nov 2016 02:54:23 +0000
Received: by mail-qt0-f169.google.com with SMTP id n6so20721517qtd.1 for <ietf-http-wg@w3.org>; Wed, 02 Nov 2016 19:54:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=RvQ6IQx6NRBOrG7tKA7KB7tQ+1zxPUAfIHDs+VqmvjY=; b=obTaJldheaWSsNQCByTmDLYB5sWzg3Ml3Mavy72twKqqPfYqDTebugXqUyzxQjroGv RGSdYu0PZC/LJxt3oP3tYaZW/LKJqnXGMPMPmix2Xh0KDlnXJDLUPd0iVPYbvtbEU+Ey 8TPVphmwJYFTRG1HsaoT15FkIoMp48DCUHul7wen9srqeP1jT4quD2OYn9UQ6lyWMeUE 7uX9aSWArLp+F5q4lInJHyzPBbjCKPY0UmsOexVWn1x91IQ8eyYg8AgAA/TzkODq5wbp 4J5ugEPWKlQL5Ww5a51ndkUJNm33tpBb20CIjZg8YZlxI41TXLRiumhO0S4KdLmyEIKA jWeQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=RvQ6IQx6NRBOrG7tKA7KB7tQ+1zxPUAfIHDs+VqmvjY=; b=VXJhyAmIY72MHFxjSRHIbiMC3h0gyJcgYo47P+pOGbswP/h5H+KRMgM7DUtm2VPZox OB2Y7j1f/CXRRCEa69RgUlRYGfTZHWXK4r8rTcWitoZLXXOPA8WSTthsyJi6gR7TT5Gj NkWpdDDuXN2fiblC80afHq/ScZ/vUyK5SRXOWSwv2G3VwazeedcBdz+jE6E1E54WltZX 2oxLho/9waifkhIc2NcsUXuHz+vAszHJ5kYLbHZ9rfXTVz1FCHubQy7OwIpMJQ1Fy1M5 Gty9f+qHud2o5ltUlMtLXKij7otMpXnV6TQ7RbXVIRqyzSHQSikymn/nRZt7wx/zV0E4 T1Bg==
X-Gm-Message-State: ABUngvebXwEw4UsBf1rB1Zr8JrMwautfLwftTRfZ4JeJXzCu05DMsNsYnzPSKOv50kFdFvSjAkK0YzkdTr3EdA==
X-Received: by 10.200.50.227 with SMTP id a32mr6041084qtb.32.1478141637464; Wed, 02 Nov 2016 19:53:57 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.140.85.7 with HTTP; Wed, 2 Nov 2016 19:53:56 -0700 (PDT)
In-Reply-To: <CANatvzzZOvPWrdQqNfV4VSiZ4cb2zt36f1-mKTrxTS8kW6eSuw@mail.gmail.com>
References: <147793576451.32369.14134057573457350871.idtracker@ietfa.amsl.com> <3669167D-26AC-4B78-8175-99B0028B6891@cloudflare.com> <CABkgnnXqHP6RNpHBcFStO5TWz8Sq6Uqs7KMWFof88RjxhoW-Qg@mail.gmail.com> <06396a0d-a0c1-19fc-85d5-6ddfb9bcf39f@gmx.de> <CABkgnnWFds=rYHc-ufCynXg701ekQ6MJTrbXXZrV0ozRod6HzA@mail.gmail.com> <D8E74F06-A6CC-4EA9-9D7C-EFD043F72624@cloudflare.com> <CANatvzzZOvPWrdQqNfV4VSiZ4cb2zt36f1-mKTrxTS8kW6eSuw@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Thu, 3 Nov 2016 13:53:56 +1100
Message-ID: <CABkgnnXtde_XkuKaA+2RQyzwX3AK7W6n37pH1YLdgj_4davnxw@mail.gmail.com>
To: Kazuho Oku <kazuhooku@gmail.com>
Cc: Vlad Krasnov <vlad@cloudflare.com>, Julian Reschke <julian.reschke@gmx.de>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=209.85.216.169; envelope-from=martin.thomson@gmail.com; helo=mail-qt0-f169.google.com
X-W3C-Hub-Spam-Status: No, score=-5.8
X-W3C-Hub-Spam-Report: AWL=-0.253, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1c28AZ-00016f-Bu e144ee67591abc6d8fac1480bab376c3
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for draft-vkrasnov-h2-compression-dictionaries-01.txt
Archived-At: <http://www.w3.org/mid/CABkgnnXtde_XkuKaA+2RQyzwX3AK7W6n37pH1YLdgj_4davnxw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/32828
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 3 November 2016 at 12:54, Kazuho Oku <kazuhooku@gmail.com> wrote:
> Personally, I wonder if the approach could be adjusted to using a
> shared compression context between the DATA frames of multiple
> streams. Doing that way, the draft would become more attractive to
> other use-cases (e.g. JSON API in microservices) where many tiny
> responses are sent very frequently. Even if we changed the draft as
> such, a server could still use the trailing part of a pre-compressed
> file, by locking down the response being transmitted to that
> particular one.

I think that this is a better approach.  Treat this like a transfer
coding.  That gives you a lot more flexibility and it doesn't mess
with the representation in ways that might be surprising.

If you want to interact with content codings, make it a content
coding.  At that point, it would be better to make this HTTP version
agnostic, in the same way that SDCH is.  But then you are just
defining a variation on SDCH.