Re: [hybi] Multiplexing extension spec draft 02

"Arman Djusupov" <arman@noemax.com> Mon, 06 February 2012 09:28 UTC

Return-Path: <arman@noemax.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 12C5A21F85C7 for <hybi@ietfa.amsl.com>; Mon, 6 Feb 2012 01:28:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.669
X-Spam-Level:
X-Spam-Status: No, score=-1.669 tagged_above=-999 required=5 tests=[AWL=0.929, BAYES_00=-2.599, HTML_MESSAGE=0.001]
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 Wgs2AxEiTOfB for <hybi@ietfa.amsl.com>; Mon, 6 Feb 2012 01:28:44 -0800 (PST)
Received: from mail.noemax.com (mail.noemax.com [64.34.201.8]) by ietfa.amsl.com (Postfix) with ESMTP id 8FD7421F85C0 for <hybi@ietf.org>; Mon, 6 Feb 2012 01:28:44 -0800 (PST)
Received: from vista1 by mail.noemax.com (IceWarp 9.4.1) with ASMTP (SSL) id QLI45137; Mon, 06 Feb 2012 11:28:37 +0200
From: Arman Djusupov <arman@noemax.com>
To: 'Takeshi Yoshino' <tyoshino@google.com>, hybi@ietf.org
References: <CAH9hSJbXqeESMGHZ6cBi+=44hT7DNJLER=S5jOHdzhUwHC1XnA@mail.gmail.com>
In-Reply-To: <CAH9hSJbXqeESMGHZ6cBi+=44hT7DNJLER=S5jOHdzhUwHC1XnA@mail.gmail.com>
Date: Mon, 06 Feb 2012 11:28:36 +0200
Message-ID: <004801cce4b1$b8534130$28f9c390$@noemax.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0049_01CCE4C2.7BDC1130"
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQIMSD5dcOm3ueTsAYFu+3PNSqZozJWw0hFg
Content-Language: en-us
Subject: Re: [hybi] Multiplexing extension spec draft 02
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: Mon, 06 Feb 2012 09:28:46 -0000

Hello Takeshi,

 

"Any compression extensions negotiated apply only to the channel they are
negotiated on -- therefore, any compression extension in the initial
handshake applies only to logical channel 1.  If WebSocket payload data is
masked by a per-frame key, such masking is applied to frames for each
logical channel separately."

 

Providing the ability to specify a compression extension per sub-channel
greatly increases the complexity of the implementation. I believe it would
be simpler if the compressed logical channels were grouped in a compressed
connection, while the logical channels that do not need compression were
grouped in a separate non-compressed connection. Maintaining a DEFLATE
window per sub-channel is very expensive, doing so could eliminate all the
benefits of multiplexing.

 

But if you believe that there is a strong use case for per channel
compression, then we could support both options (common compression and per
channel) by having logical channel 1 perform its own handshake rather than
using the initial handshake for it.

 

With best regards,

Arman

 

 

From: hybi-bounces@ietf.org [mailto:hybi-bounces@ietf.org] On Behalf Of
Takeshi Yoshino
Sent: Friday, January 27, 2012 6:55 AM
To: hybi@ietf.org
Subject: [hybi] Multiplexing extension spec draft 02

 

http://tools.ietf.org/html/draft-tamplin-hybi-google-mux-02

Diff http://tools.ietf.org/rfcdiff?url2=draft-tamplin-hybi-google-mux-02.txt


 

No semantic change.

 

- some typo fixes

- named "control channel" explicitly

- updated reference to point RFC

- added some vertical space for readability