Re: [hybi] Payload only compression extension, again

John Tamplin <jat@google.com> Thu, 28 April 2011 01:23 UTC

Return-Path: <jat@google.com>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 87D26E0902 for <hybi@ietfa.amsl.com>; Wed, 27 Apr 2011 18:23:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -104.276
X-Spam-Level:
X-Spam-Status: No, score=-104.276 tagged_above=-999 required=5 tests=[AWL=1.700, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
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 gk7RjDEDWJMq for <hybi@ietfa.amsl.com>; Wed, 27 Apr 2011 18:23:00 -0700 (PDT)
Received: from smtp-out.google.com (smtp-out.google.com [216.239.44.51]) by ietfa.amsl.com (Postfix) with ESMTP id CD0F5E066F for <hybi@ietf.org>; Wed, 27 Apr 2011 18:22:59 -0700 (PDT)
Received: from wpaz21.hot.corp.google.com (wpaz21.hot.corp.google.com [172.24.198.85]) by smtp-out.google.com with ESMTP id p3S1MxTa024210 for <hybi@ietf.org>; Wed, 27 Apr 2011 18:22:59 -0700
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1303953779; bh=uog12ztMDqthpTmZi/R6l9OeKHc=; h=MIME-Version:In-Reply-To:References:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=OiS5XPmZlHJURcW0eKbfZCvRhArer3NLYtTeBq/1Ru1EqEJPSSJk3rQ5IF1FPJGKE 9c3iLrLRDJKAVLp2pFvKA==
Received: from yib19 (yib19.prod.google.com [10.243.65.83]) by wpaz21.hot.corp.google.com with ESMTP id p3S1Mwoe021917 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for <hybi@ietf.org>; Wed, 27 Apr 2011 18:22:58 -0700
Received: by yib19 with SMTP id 19so1051475yib.18 for <hybi@ietf.org>; Wed, 27 Apr 2011 18:22:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=beta; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=XuVa8nf1WGxxezAyJ8pazsF8Kdwdep/SiA37mB6MAnk=; b=yys40DyOi6pG9NAO+BkDxiGqOlA9YZtLNjp5N2pfRhgb8f8hnh0LhS1WHIDePep4iX xEAHknku8yfIEjBeajHA==
DomainKey-Signature: a=rsa-sha1; c=nofws; d=google.com; s=beta; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=TLN9//9ztqtmVAe8NfDSJMZo+qonfONCQb/i+jNss26RQKdBwCM9k/zMsTtzvcgTeL en37U8xDRlRvzQ8G+tpw==
Received: by 10.150.250.2 with SMTP id x2mr2517128ybh.230.1303953778094; Wed, 27 Apr 2011 18:22:58 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.150.199.16 with HTTP; Wed, 27 Apr 2011 18:22:37 -0700 (PDT)
In-Reply-To: <BANLkTi=dqFN-57GV3rYDv4feTAaZFQko1g@mail.gmail.com>
References: <AANLkTik2LqCC2-ZLLdWNNaQ18ypcQU_5djJobkYtYk6T@mail.gmail.com> <AANLkTik+uh98b0n7U=xrE0Aaa7MyBfZVXSwj+8wfVTKW@mail.gmail.com> <AANLkTinCtDepu+wDt4=8GyXqhfn=SQ7v2SjJhKzP2Mzr@mail.gmail.com> <AANLkTinhw0j5U_tvfCCrcEx=J6b7wBua4XzhWkvthUjL@mail.gmail.com> <BANLkTi=SjQwGQu-3v2wjniyp9DrQ1ZcQdA@mail.gmail.com> <BANLkTi=dqFN-57GV3rYDv4feTAaZFQko1g@mail.gmail.com>
From: John Tamplin <jat@google.com>
Date: Wed, 27 Apr 2011 21:22:37 -0400
Message-ID: <BANLkTikWFwfs0FOuET5ZS1HEzjweNO0_CA@mail.gmail.com>
To: Brodie Thiesfield <brodie@jellycan.com>
Content-Type: multipart/alternative; boundary="000e0cd608e2bf338304a1f065a1"
X-System-Of-Record: true
Cc: hybi@ietf.org
Subject: Re: [hybi] Payload only compression extension, again
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/hybi>, <mailto:hybi-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hybi>
List-Post: <mailto:hybi@ietf.org>
List-Help: <mailto:hybi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 28 Apr 2011 01:23:00 -0000

On Wed, Apr 27, 2011 at 8:18 PM, Brodie Thiesfield <brodie@jellycan.com>wrote:

> Since you have spent the effort to create this spec, which is much
> better than the current deflate-stream method that we have at the
> moment, wouldn't it be worthwhile to also take over one of the
> reserved bits and use it to specify if the frame is compressed or not?
>
> That way we get the data only compression with an uncompressed data
> option. Pretty much ticks all of the boxes.
>

This was exactly what was proposed a year ago when we were talking about
framing, and we couldn't come to consensus on exactly how it would work
then.  I am not sure there is any reason to believe it is more likely to
achieve consensus now.  Among other considerations, you have to define how
an implementation can choose when to send a compressed frame versus an
uncompressed frame.  Do you allow/require the sender to try and compress it
first and then send it uncompressed if that is smaller?  Doing so might
impose unwelcome headaches for some implementations if they can't easily
save the compression state and revert to a previous checkpoint.

My gut feeling is at this point, it is better to get the base spec released,
experiment with compression options in private-use extensions, and then have
a formal proposal for a real compression extension once we get that
experience.

-- 
John A. Tamplin
Software Engineer (GWT), Google