Re: [hybi] The future of WebSockets, and the WiSH proposal
Takeshi Yoshino <tyoshino@google.com> Thu, 27 April 2017 11:21 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 C72311293FC for <hybi@ietfa.amsl.com>; Thu, 27 Apr 2017 04:21:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.com
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 jw4tIVomwEce for <hybi@ietfa.amsl.com>; Thu, 27 Apr 2017 04:21:20 -0700 (PDT)
Received: from mail-wm0-x229.google.com (mail-wm0-x229.google.com [IPv6:2a00:1450:400c:c09::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A74EC1293FB for <hybi@ietf.org>; Thu, 27 Apr 2017 04:21:19 -0700 (PDT)
Received: by mail-wm0-x229.google.com with SMTP id u65so13834656wmu.1 for <hybi@ietf.org>; Thu, 27 Apr 2017 04:21:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=w9MXo0ezANZnC3NA/TGuDe185dM+FvF2RknvHWsX2E0=; b=ZBmEUYkSz+cud1mSATj1ftla1fSyd/zvME6yNdJWsrCh1ldvgv2LDmiYDth7SGxoSC 5PpUPbTldOQzNUjyZa+xPjfKhWAjLcEmfHCAmEciW2rrv2f0C/FYuoE5aDwHcnTvNBSS RqA+Z0rHrZhLPP7z/jGxVrx/Wfd7ct1ebbCLRlB9NNPw012elHaG6vKvarSLIEy9EWzF ls16vWJ5YsFZLQO68YMd8bxozRFVQWLFcgqG5FfzzVFeGL/iXDXKW03Ya10jrQhl3b4x soOXWpOvxjJBOB2KGAP1XDTz9cXNedrAlwgaRPI7H+FjxwLVeQ3SmhANvuvzPXwdkKV6 MpjQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=w9MXo0ezANZnC3NA/TGuDe185dM+FvF2RknvHWsX2E0=; b=uGsW+btGaIwQQAg/wcqwM87eW67BkMPO7nW3Gn+gb7zajfOT6FiGQeVDHAuNp+xoo9 XfA9SFTuTC53996s2gZ0e7rxeWDoLVodqQSoMsEUzWkdPxfYyAWccEu0yoa/wUGshYL8 r8aGCxlPMrKQqfKAHGsMePSY4dT3D2IUFhGKougP3XureDiGEW+NML5s0K35c+eyQEpj qotNe9QUwCWCcyB2aUqC/zaNukaRN+hjs45nYGsB6hzDWI9DaiJ5HTK2e4+T+W/UqK5Y ch+8Tk6msTkZUJMhDv2ZAN0HDFgo16EZIpGQvQrr9th7RZ2z4q3tMmAKBPJkU7jviUm7 agCQ==
X-Gm-Message-State: AN3rC/4BvFh1h4+GFbGbWiIheTr1lTCaYeX9h6h1AlTgKiR4uA0iwNvn tnXJpOkZzRQoVTFuB2Ht/pAswRFf7XzL3mfVIA==
X-Received: by 10.28.109.220 with SMTP id b89mr1829294wmi.21.1493292077980; Thu, 27 Apr 2017 04:21:17 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.170.218 with HTTP; Thu, 27 Apr 2017 04:20:56 -0700 (PDT)
In-Reply-To: <CADnb78iboXanrty==75B44AxGH7tCp1_d0yZcAYKKfjKGb0HbQ@mail.gmail.com>
References: <CAH9hSJYpnp0FXt9SsrujJM4OHcXe=pryUtHmM6dmcpgG67hdBw@mail.gmail.com> <CADnb78iPu7ACqZkYJ6SqceE2JNtV+y6M3ojT5PdGmDVoqZHsyQ@mail.gmail.com> <CAH9hSJZk-t-UwOD0jnaKr_M4uoHYwsCKU256ZsKxoVgwuWzxnQ@mail.gmail.com> <20c1e950-2c04-70eb-2372-bc9ba11c2de1@warmcat.com> <CADnb78iboXanrty==75B44AxGH7tCp1_d0yZcAYKKfjKGb0HbQ@mail.gmail.com>
From: Takeshi Yoshino <tyoshino@google.com>
Date: Thu, 27 Apr 2017 20:20:56 +0900
Message-ID: <CAH9hSJaM0nisAMYcbCY0WFm82tyQG+VUrtbSG-LFdTWwcbchOw@mail.gmail.com>
To: Anne van Kesteren <annevk@annevk.nl>
Cc: Andy Green <andy@warmcat.com>, "hybi@ietf.org" <hybi@ietf.org>
Content-Type: multipart/alternative; boundary="001a1147c65edb22b2054e24278e"
Archived-At: <https://mailarchive.ietf.org/arch/msg/hybi/I__ly_8MzlPgrphDNDhybsCf7sY>
Subject: Re: [hybi] The future of WebSockets, and the WiSH proposal
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.22
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: <https://mailarchive.ietf.org/arch/browse/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, 27 Apr 2017 11:21:22 -0000
Anne, Regarding my thoughts about choosing web APIs to focus, I understand that we have many APIs around for doing the similar thing. I'm following your thoughts regarding e.g. that we've frozen XHR while evolving only fetch(). But I'm thinking that it's worth improving the WS ecosystem even while we're evolving fetch()/Streams considering risk, gain and velocity as follows. Risk - WiSH doesn't require any change to the API surface. - WS API can always fallback to use WS/1.0 protocol when WiSH capability is not announced. Gain - As I quoted in the first mail, there are lots of WS users in the Web. According to Chrome's stats, 3.7% of page views contain WebSocket initiation [1]. I think it's been serving significant portion of web apps' cloud communication. - The top starred issue for AppEngine has been WS [2]. Velocity - As it stays inside the standard HTTP semantics, it wouldn't require so much logic in the browser as when we introduced WS. The same about frameworks/intermediaries, etc. - We definitely continue making HTTP web APIs better by evolving fetch(), but it takes some time. WiSH + HTTP/2 might be able to give enough benefit quickly with small investment Though all of these depend on data/feedback from the community as Addy, Loïc, Greg have already expressed, I think it's worth exploring. [1] Please note that our adoption metrics ( https://www.chromestatus.com/metrics/feature/timeline/popularity/1149) is showing a smaller value currently, but will be replaced to more accurate one according to which it's 3.7%. [2] https://issuetracker.google.com/savedsearches/559750
- Re: [hybi] The future of WebSockets, and the WiSH… Andy Green
- Re: [hybi] The future of WebSockets, and the WiSH… Andy Green
- Re: [hybi] The future of WebSockets, and the WiSH… Loïc Hoguin
- Re: [hybi] The future of WebSockets, and the WiSH… Anne van Kesteren
- Re: [hybi] The future of WebSockets, and the WiSH… Takeshi Yoshino
- Re: [hybi] The future of WebSockets, and the WiSH… Anne van Kesteren
- [hybi] The future of WebSockets, and the WiSH pro… Takeshi Yoshino
- Re: [hybi] The future of WebSockets, and the WiSH… Loïc Hoguin
- Re: [hybi] The future of WebSockets, and the WiSH… Andy Green
- Re: [hybi] The future of WebSockets, and the WiSH… Loïc Hoguin
- Re: [hybi] The future of WebSockets, and the WiSH… Greg Wilkins
- Re: [hybi] The future of WebSockets, and the WiSH… Andy Green
- Re: [hybi] The future of WebSockets, and the WiSH… Takeshi Yoshino
- Re: [hybi] The future of WebSockets, and the WiSH… Takeshi Yoshino
- Re: [hybi] The future of WebSockets, and the WiSH… Philipp Serafin
- Re: [hybi] The future of WebSockets, and the WiSH… Wenbo Zhu
- Re: [hybi] The future of WebSockets, and the WiSH… Tobias Oberstein