Re: Design Issue: GZIP flag on DATA Frames

Roberto Peon <grmocg@gmail.com> Tue, 21 May 2013 21:37 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 C48381F0D2F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 May 2013 14:37:44 -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 u+xjxJxdDi6X for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 May 2013 14:37:40 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id AFFD221F9216 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 May 2013 14:37:39 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UeuFG-0004ob-JI for ietf-http-wg-dist@listhub.w3.org; Tue, 21 May 2013 21:37:22 +0000
Resent-Date: Tue, 21 May 2013 21:37:22 +0000
Resent-Message-Id: <E1UeuFG-0004ob-JI@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1UeuF5-0004nm-0Q for ietf-http-wg@listhub.w3.org; Tue, 21 May 2013 21:37:11 +0000
Received: from mail-ob0-f176.google.com ([209.85.214.176]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1UeuEz-0001ka-8Q for ietf-http-wg@w3.org; Tue, 21 May 2013 21:37:10 +0000
Received: by mail-ob0-f176.google.com with SMTP id wp18so1385193obc.21 for <ietf-http-wg@w3.org>; Tue, 21 May 2013 14:36:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=xZzD9i5OkAHJFczo2Yfet/9vq278l3W/uQj7kY8GZr4=; b=0crBGcRDgb0X2T5zoOOmaX/XkpmPgYyq05j+L0O2YENpJJ354YwvklhMPzMozP7RLI mq0pW4gYaSGImuwOOg6x/m3kt7+Zb0vDzp7Agb91ixKmVz51w7QuhxUT/DYKSsmZdZo3 ImGIc5b7Vb2XoxDRMJgUkAgMHogAjuvKv6ZMjwkRmYMh7icQExYLcoLwqIwqY/TXc5Oo xBemOahtHGnYvj5TJLbLOuSLhbgQunPYjtziWTX8uF98PfhVDFxIL8egfjIU0fDnn1BC QqwWbxUljLyRXPg5vx7Rr9FJ67DpsUMwVr5ruIpKosVNdh1+Ml1sBogFB+P5VaM7DJDf Y3PQ==
MIME-Version: 1.0
X-Received: by 10.182.246.198 with SMTP id xy6mr2848842obc.1.1369172199171; Tue, 21 May 2013 14:36:39 -0700 (PDT)
Received: by 10.76.131.232 with HTTP; Tue, 21 May 2013 14:36:39 -0700 (PDT)
In-Reply-To: <CABP7RbfynEZ--QMvyXmsGvqKDv2T9CbVCuBfVexNtmTa5_U_pQ@mail.gmail.com>
References: <CABP7Rbfb92Vxrmxj6fKdt+jpO_Qknq8FRjsu5GZW=17uoi4OFg@mail.gmail.com> <519BAB26.2010501@zinks.de> <4050.1369156663@critter.freebsd.dk> <fnlnp8t14lal0uk5suouc2uuk3uk4429dt@hive.bjoern.hoehrmann.de> <5267.1369169573@critter.freebsd.dk> <hnnnp8dgpoliq8ca07n89p6apn41mmu2ta@hive.bjoern.hoehrmann.de> <CABP7RbfynEZ--QMvyXmsGvqKDv2T9CbVCuBfVexNtmTa5_U_pQ@mail.gmail.com>
Date: Tue, 21 May 2013 14:36:39 -0700
Message-ID: <CAP+FsNd3gqky+94N3k3rJxiC744+3AU1GhoWc4EHoQDiDip0Mg@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: James M Snell <jasnell@gmail.com>
Cc: Bjoern Hoehrmann <derhoermi@gmx.net>, Poul-Henning Kamp <phk@phk.freebsd.dk>, Roland Zink <roland@zinks.de>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="001a11c1bc04916aec04dd413ee7"
Received-SPF: pass client-ip=209.85.214.176; envelope-from=grmocg@gmail.com; helo=mail-ob0-f176.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.689, 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: maggie.w3.org 1UeuEz-0001ka-8Q 582f2988ffda72cc582b3520d9118005
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Design Issue: GZIP flag on DATA Frames
Archived-At: <http://www.w3.org/mid/CAP+FsNd3gqky+94N3k3rJxiC744+3AU1GhoWc4EHoQDiDip0Mg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/18074
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>

The proposal does force anything other than gzip to use an alternate code
path for parsing/interpretation, which does not inspire confidence given my
experience with backup-generator problems, and it probably involves writing
*more* code today than the alternative of leaving it where it is in the
HTTP semantic layer.
-=R


On Tue, May 21, 2013 at 2:24 PM, James M Snell <jasnell@gmail.com> wrote:

> This does not preclude the use of alternative compression schemes. If
> someone chooses, it would be possible, for instance, to continue using
> accept-/content-/transfer-encoding at the http semantic layer and
> simply not set the GZIP flag on the DATA frame. Having the GZIP flag
> would just provide an approach that would make that unnecessary in the
> most common cases today. If, at some point in the future a new, more
> efficient better compression algorithm overtakes gzip as the
> predominant mechanism, the protocol can be updated to reflect that
> fact (i.e. with a new protocol version string, etc).
>
> On Tue, May 21, 2013 at 2:17 PM, Bjoern Hoehrmann <derhoermi@gmx.net>
> wrote:
> > * Poul-Henning Kamp wrote:
> >>You forgot half the "worth-while" part:  The compatibility issues.
> >>
> >>Even something as trivial as "deflate" vs. "gzip" was too hard for
> >>some people to get right.
> >
> > I think people will create an even bigger mess if they're forced to work
> > around lack of support for alternative compression schemes in HTTP/2.0.
> > --
> > Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
> > Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
> > 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
> >
>
>