Re: [hybi] Call for Consensus: draft-tyoshino-hybi-websocket-perframe-deflate as WG Item

Brian <theturtle32@gmail.com> Fri, 02 March 2012 01:19 UTC

Return-Path: <theturtle32@gmail.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 3F23021E8108 for <hybi@ietfa.amsl.com>; Thu, 1 Mar 2012 17:19:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.598
X-Spam-Level:
X-Spam-Status: No, score=-3.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
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 HJq4qvBp+inn for <hybi@ietfa.amsl.com>; Thu, 1 Mar 2012 17:19:48 -0800 (PST)
Received: from mail-tul01m020-f172.google.com (mail-tul01m020-f172.google.com [209.85.214.172]) by ietfa.amsl.com (Postfix) with ESMTP id 6694D21E805E for <hybi@ietf.org>; Thu, 1 Mar 2012 17:19:44 -0800 (PST)
Received: by obbeh20 with SMTP id eh20so1689981obb.31 for <hybi@ietf.org>; Thu, 01 Mar 2012 17:19:44 -0800 (PST)
Received-SPF: pass (google.com: domain of theturtle32@gmail.com designates 10.182.1.104 as permitted sender) client-ip=10.182.1.104;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of theturtle32@gmail.com designates 10.182.1.104 as permitted sender) smtp.mail=theturtle32@gmail.com; dkim=pass header.i=theturtle32@gmail.com
Received: from mr.google.com ([10.182.1.104]) by 10.182.1.104 with SMTP id 8mr3016948obl.19.1330651184132 (num_hops = 1); Thu, 01 Mar 2012 17:19:44 -0800 (PST)
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=NE0WXjUP0X6PoggUcZiskzF8bPKsXBg8Zw2HjIFSriE=; b=LXJRSpgDAKPO1ASkQ2DYawdTwmMEOL4Mh0jvmjXOKN1Vn/p8K3cs6FHTeAO7jrqORI vj5TD6YsC7LtJtVvE6lkGQLz9zPJ9xJUim6QbqHcJBZJgsmc2DwkahopV5XK94hyQDTe +J4QzSz4fkdtuOFHkRvzsPYj1dS/OnmJetDTlmClq9C6qudb0IlpPC7nriTUeFgfPdQB hApWQHuoHmNi28gYvTh+QLgm1CX9aK4EWp8zJhqmqOTsUZ7FRhzasVWwaBdTPzuxYTqt T5ZS9Ij4Kws8EfHcKlbMCtnyqZtJjdepRlpbyWuEZhxDFqpHks4cbFaYX3g3fycXLAC9 CQkg==
MIME-Version: 1.0
Received: by 10.182.1.104 with SMTP id 8mr2612569obl.19.1330651184048; Thu, 01 Mar 2012 17:19:44 -0800 (PST)
Received: by 10.182.89.74 with HTTP; Thu, 1 Mar 2012 17:19:43 -0800 (PST)
In-Reply-To: <CABLsOLDZpdgo++jk_6-CV6s=kKNoYh0hsu1zDXaqmWUye3QNiA@mail.gmail.com>
References: <4F4C8568.7070403@ericsson.com> <CAH_y2NF0mG9+PWotJmG0e4trgSxhOtaoGXLeeQUS1Tn5zpZuYQ@mail.gmail.com> <CAH9hSJakzY8RAHgBgQbjGq4GvPJFdrtS8TXt_aUqjiwZCOZR-g@mail.gmail.com> <CABLsOLAZe3d3BXWMEvTL-nHAMRzXJ_F-eSCUnjdsN99CTnL99g@mail.gmail.com> <CAH_y2NHyp_1ZKVR18QDZMW0EB2X18UCNfv140RuFDfMThsHs1w@mail.gmail.com> <CAE8AN_XfYsqG6Vc6hd4=iu7hfk=gJ++JdYoJyvsQ3qHHRNW+MQ@mail.gmail.com> <CABLsOLDZpdgo++jk_6-CV6s=kKNoYh0hsu1zDXaqmWUye3QNiA@mail.gmail.com>
Date: Thu, 01 Mar 2012 17:19:43 -0800
Message-ID: <CAE8AN_XXCaNijO9BXLe7XWZSByWPYN9GHN=Q+HyT44MGKj1utw@mail.gmail.com>
From: Brian <theturtle32@gmail.com>
To: John Tamplin <jat@google.com>
Content-Type: multipart/alternative; boundary="f46d0446316625293404ba385f15"
Cc: "hybi@ietf.org" <hybi@ietf.org>
Subject: Re: [hybi] Call for Consensus: draft-tyoshino-hybi-websocket-perframe-deflate as WG Item
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: Fri, 02 Mar 2012 01:19:49 -0000

On Thu, Mar 1, 2012 at 5:10 PM, John Tamplin <jat@google.com> wrote:

> As Greg said, if we aren't going to use a reserved bit for per-frame
> compression, where we hope to reduce the payload to a small number of bytes
> already so an extra byte to indicate compression may be expensive, what
> exactly will we use it for?
>
> My opinion is we should allocate a reserved bit for per-frame compression,
> create an extension to indicate that is to be used for compression and a
> way to select the compression algorithm, and define deflate with no state
> shared across frames as a required compression algorithm to be supported if
> no other algorithm is negotiated.  We can then define more effective
> compression algorithms that provide ways of sharing compression state
> across frames, for example, though we still have to work out the above
> questions though.
>

That's true enough.  If ever there were a perfect use for the reserved bits
it would be this.  It's just such a rare resource and it's still early days
for WebSockets in general that the gut reaction is to keep them reserved at
all costs until some mythical extension suddenly jumps out as worthy enough
to have one of the sacred bits ceremonially bestowed upon it from on high.

I'm good with a reserved bit being allocated for per frame compression.

Brian