Re: [hybi] Call for interest: multiplexing dedicated for WebSocket

Takeshi Yoshino <tyoshino@google.com> Mon, 27 May 2013 07:30 UTC

Return-Path: <tyoshino@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 B297C21F91B1 for <hybi@ietfa.amsl.com>; Mon, 27 May 2013 00:30:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level:
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-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 GqA-CoouLp8c for <hybi@ietfa.amsl.com>; Mon, 27 May 2013 00:30:19 -0700 (PDT)
Received: from mail-ea0-x22d.google.com (mail-ea0-x22d.google.com [IPv6:2a00:1450:4013:c01::22d]) by ietfa.amsl.com (Postfix) with ESMTP id 9562D21F9195 for <hybi@ietf.org>; Mon, 27 May 2013 00:30:18 -0700 (PDT)
Received: by mail-ea0-f173.google.com with SMTP id n15so3606392ead.18 for <hybi@ietf.org>; Mon, 27 May 2013 00:30:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=zM9Pi9dAqXsZoUdlEO/DDnUJv9jb1ZHpbBLd4NRWFMk=; b=jkuP355+cgczcbzwgVDWuT8AZhI+556qkgIVjBwkapUJ9CFkVrVdtwMMvnDsp0gxpx 6R1yoh1X0NrlUDFWEe2CwPxS8BFfQPWTlNOhLB3upyIi6TYITKMZqnG0LAu/eydxU0II MZBJ08zbeNUNkanFrigtPk911UiiiKc6xHPLnQjGqr0Tz+uVzd21/+UNvUBE1LXExvvy 2gf3/6WwcqxpEa7rGngJQcbG81375OwbxjEBBVuTgdFxBNCDEoOdQE9h5C25GuIh9CPk pWh3Xg7IvVPSuUMsScn9RrClqv245OKjcDCB4IUgf4sWcUq9WVdnMThg+QU4t1PIh5Gj VQew==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=zM9Pi9dAqXsZoUdlEO/DDnUJv9jb1ZHpbBLd4NRWFMk=; b=msu+hBSfXmf70YEbkWdd2pJfqPj7D+jwl+nWx6bFLzm1NXCSu0ZWjV4EdLUk3ZPiFJ j+A1hodtOeochn/jMC7LbnjUVDksKzCF8YQ6GOCkhI0T6K9G9KXxktVurWbvpBNIj1Qg GF5MJDucSd80/CJAxfuyn89GCW+LUPeEZ/uXVbBewUeCL46ZHGElvFrbZHLVbLCHreSO 0RcnMvoJUAIt35R/jo0GqMjLWQX4iHqOojhaLRmhk8lYieBSNEhbSqc2ZoAe/zq9EQJ0 R38zQTeU+09ogbrezfrHxAJghO0IZP2sWvYMCmljvw7x/AvyJM/8a649ivC0AqPw0Oab O92g==
X-Received: by 10.14.110.194 with SMTP id u42mr8983065eeg.117.1369639817690; Mon, 27 May 2013 00:30:17 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.86.67 with HTTP; Mon, 27 May 2013 00:29:57 -0700 (PDT)
In-Reply-To: <634914A010D0B943A035D226786325D4422C319646@EXVMBX020-12.exch020.serverdata.net>
References: <CAH9hSJZxr+aG7GZa4f-dUOTGj4bnJ+3XxivUX4jei5CMyqN4LQ@mail.gmail.com> <634914A010D0B943A035D226786325D4422C319646@EXVMBX020-12.exch020.serverdata.net>
From: Takeshi Yoshino <tyoshino@google.com>
Date: Mon, 27 May 2013 16:29:57 +0900
Message-ID: <CAH9hSJYrrbSM3TTSKCQ=AMcwCfE4zqNAa1kuAvecrXZTLqy2gQ@mail.gmail.com>
To: Tobias Oberstein <tobias.oberstein@tavendo.de>
Content-Type: multipart/alternative; boundary=089e015384accdfff404ddae1e4a
X-Gm-Message-State: ALoCoQkBmYO9OwQWpFI9J7af+QRnG3mjCR/X0Yg3lyJCfc6FO0Jps1uiu4su53Ab42Wiycg/wYDI4LbQKtBwxG6Obq91fSe+llo2IvuM4jgOQbnewfEL/ofwg+OvZqy78zV9ZwJMehqaWHQXAdeM38QfL4rGqixlNd8yOpA+JDyQR1VmyPWGHyFRDJx0ZJPA6lAicCQRH4pH
Cc: "hybi@ietf.org" <hybi@ietf.org>
Subject: Re: [hybi] Call for interest: multiplexing dedicated for WebSocket
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, 27 May 2013 07:30:19 -0000

On Wed, May 22, 2013 at 7:01 PM, Tobias Oberstein <
tobias.oberstein@tavendo.de> wrote:

> Sure, multiplexing at the WS level would allow to create generic
> concentrators, but a generic concentrator could not map incoming
> connections to backend boxes based on app data like UserID etc for sharding
> etc.
>

Right


> However, when running _different_ apps on the same device connecting to
> the same origin,


You meant same ws:// address?


> """
>
4.2.1. Frame mapping
>
>    One WebSocket frame is mapped into one proceeding SPDY HEADERS frame
>    and following plural SPDY data frames. The SPDY HEADERS frame must
>    contain WebSocket frame fields and following SPDY data frames contain
>    payload data. These data frames are free to be reframed.
>
>    This plan doesn't care about overheads.
> """
>
> This seems somehow straightforward, but introduces inefficiencies: the
> overhead per WS message is significantly increased and an additional
> framing layer that allows reframing costs CPU cycles.
>

Thanks


> Btw: assuming SPDY runs over TLS exclusively, is there any need for WS
> frame masking anymore?
>

See this post by Eric about BEAST attack. I think it's not easy to conclude
that mask is unncessary for wss.
http://www.educatedguesswork.org/2011/09/security_impact_of_the_rizzodu.html