Re: [hybi] Straw poll: Do you miss interjectable WebSocket level control frame? (was: Re: Discontinuation of mux ...)

Takeshi Yoshino <tyoshino@google.com> Tue, 25 February 2014 19:11 UTC

Return-Path: <tyoshino@google.com>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 641191A01D3 for <hybi@ietfa.amsl.com>; Tue, 25 Feb 2014 11:11:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.026
X-Spam-Level:
X-Spam-Status: No, score=-0.026 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.547, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id u4V9J94reOv1 for <hybi@ietfa.amsl.com>; Tue, 25 Feb 2014 11:11:44 -0800 (PST)
Received: from mail-wi0-x236.google.com (mail-wi0-x236.google.com [IPv6:2a00:1450:400c:c05::236]) by ietfa.amsl.com (Postfix) with ESMTP id 820CC1A0122 for <hybi@ietf.org>; Tue, 25 Feb 2014 11:11:43 -0800 (PST)
Received: by mail-wi0-f182.google.com with SMTP id f8so1200149wiw.3 for <hybi@ietf.org>; Tue, 25 Feb 2014 11:11:42 -0800 (PST)
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=vBz2XnHe6kqGkPo34MI3bodAOfCiQJZb0HuXdGVFvuo=; b=N6Q2YSo4mAYjwOaF0F0998ausa6bR+GKTH7aDegFyA7Aob2SvT9WRqgvQxttCLGlTA DsMe6lNluxL6NvHOpsTXQmWdtl5bWKj1T+9mFN4BRX52I+c8pNFA2RZyfrQ+S0odrr7Z ZowdkJ8vPuaDkNCd5zqACVRaaFpxKv9O9r9A+q2mfI+NoXl+3p5KN7c1DSUCCRb2/fT8 vbzYDBcqTJyg4anMbt0+NwNkhUaM85+JCnLbxIgo0ThZa+gDqcNKA0cojmH5q7hGV6lx es+W2wVdd7wlUhBMCSJhxIA2v9UdUpzSbIanmptu4iHf/Z6Fj1wscMxMTTuO6PHpquqt i0gw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=vBz2XnHe6kqGkPo34MI3bodAOfCiQJZb0HuXdGVFvuo=; b=YiOWtLQV3bgIQCwIo8iz7ybDXOJ3ZPCFcXnkYcpWeceoUAOTgEBzBiEOx3nZevNJd5 HE2FZcDPX4ZWh5ad9yKKXC0XDUWVZhVIjn4CV7EXUb3mhvUkE31klM8C4LFKBSe6Fcgt hucIkZYGcmWlVizRH5YjSwdbaKrvBLTykklr4P2yOlH6F5cI6vz9Re0feh3g8a0hheEf sQcHBXJLb5VvNCCOaWcKeFwRFCTBJazzzcfQp61e7XU+21LltPEaFfRqTv0LWhaBmPym 0kSW1iYT7DdcasvO/xHuKsg94rAFP3xTHBiZBnws8M52yLB6jaLkwxZJV2av7BN3vSqu GWhA==
X-Gm-Message-State: ALoCoQmq18wbZChV1mT6WeFoOsjizelFFtM0aJcqP4EEIWqDZTfqSesBkqa2saVUUkOH+r47EJW44GzFX1fRM0iRSRxPXe1iCCZYWVkD57ExzyVOt/Js4ygM5YqdfZJ5al2Cs/go/n9ByAB+ifhe410hMHAMYpywbS740RrKBJ+iXuD0Mqr+vPlF+2jDzhXr8hBNBZVWH6cC
X-Received: by 10.180.73.173 with SMTP id m13mr1482828wiv.52.1393355501949; Tue, 25 Feb 2014 11:11:41 -0800 (PST)
MIME-Version: 1.0
Received: by 10.194.8.231 with HTTP; Tue, 25 Feb 2014 11:11:21 -0800 (PST)
In-Reply-To: <00e501cf3225$84f0b520$8ed21f60$@noemax.com>
References: <CAH9hSJbjQNKnZTJmBFtU8MgmnRTYjPopC4oP_78bWUGap-9CvA@mail.gmail.com> <634914A010D0B943A035D226786325D4446C537686@EXVMBX020-12.exch020.serverdata.net> <CAH9hSJaALTNiC9rUC-qVYKK74_YJA5psvGhbsFegTwaLsg9Dug@mail.gmail.com> <00e501cf3225$84f0b520$8ed21f60$@noemax.com>
From: Takeshi Yoshino <tyoshino@google.com>
Date: Wed, 26 Feb 2014 04:11:21 +0900
Message-ID: <CAH9hSJb91zndtZnUq=SQKWNRGh3B1yLWfV9L-qo0=vS1KkVF4A@mail.gmail.com>
To: Arman Djusupov <arman@noemax.com>
Content-Type: multipart/alternative; boundary="f46d043c07e0bd707504f33fdb59"
Archived-At: http://mailarchive.ietf.org/arch/msg/hybi/JHCC_DI4K8yOqWwv9kuHrNN2Q2c
Cc: Yutaka Hirano <yhirano@google.com>, "hybi@ietf.org" <hybi@ietf.org>, Peter Thorson <webmaster@zaphoyd.com>
Subject: Re: [hybi] Straw poll: Do you miss interjectable WebSocket level control frame? (was: Re: Discontinuation of mux ...)
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.15
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: Tue, 25 Feb 2014 19:11:48 -0000

Hi Arman,

On Tue, Feb 25, 2014 at 9:31 PM, Arman Djusupov <arman@noemax.com> wrote:

> Takeshi,
>
>
>
> I assume that Tobias means that HTTP/2 should tunnel the WebSocket
> transport “as is” without stripping off the WebSocket headers or
> functionality. If so then I am in agreement with Tobias.
>

I understand this argument. For developers who've built and are already
using RFC 6455 based infrastructure, this approach is very simple and
allows for faster and easier migration.


>
>
> I can’t think of a good reason why can’t we just forward a complete WS
> frame with its full header through the HTTP/2. If I missed an argument
> that was put forward in a previous discussions please do point me to it.
> IMO plain tunneling, just like HTTP is tunneled through TLS, would do
> fine.
>

Please search for Roberto's posts in the HyBi archive [1] and Roberto and
Martin's posts to topics including "WebSocket" in httpbis archive [2].
Basically, for those who haven't deployed RFC 6455 based software but
(planning to) introducing HTTP/2.0, inheriting RFC 6455 architecture
provides no benefit but some design points of RFC 6455 considered to be
harmful rather motivate them to throw away RFC 6455 and redesign messaging
architecture inside HTTP/2.0 that can be applied to the WS API. Another
Roberto's point is that basic messaging units and meta data should be
easily recognized and investigated by load balancers with least knowledge
in addition to HTTP/2.0. Clearly separated thinner layering provides
flexibility but also requires more code and tests.


>
>
> If we strip off almost the entire frame header and we fragment the payload
> so that it is carried by an HTTP/2 frame, we are practically creating a
> new protocol. Such a protocol doesn’t really need to be related to
> WebSocket, however (if we do create this new protocol) it can be transparently
> exposed through the same browser WS API when HTTP/2 is available.
>
>
>

Yes. I just want to deliver some protocol that is scalable under the
browser WS API. Whether it's related to the WebSocket Protocol or not does
not matter so much. Since we don't want to implement two or more protocol
in Chromium to achieve the same goal (multiplexed protocol for WS API), we
need to choose one.

There seems to be disjoint between the two parties. I understand both
argument but need to find some landing point.

[1] http://www.ietf.org/mail-archive/web/hybi/current/maillist.html
[2] http://lists.w3.org/Archives/Public/ietf-http-wg/2014JanMar/