Re: [hybi] Informal survey: "Non Request-Response Communication over the Web, and What's Missing"
Joakim Erdfelt <joakim@intalio.com> Fri, 16 January 2015 12:49 UTC
Return-Path: <joakim@intalio.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 884931ACDBA for <hybi@ietfa.amsl.com>; Fri, 16 Jan 2015 04:49:54 -0800 (PST)
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=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 o_1RiOW473wO for <hybi@ietfa.amsl.com>; Fri, 16 Jan 2015 04:49:52 -0800 (PST)
Received: from mail-ie0-f177.google.com (mail-ie0-f177.google.com [209.85.223.177]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D46311ACD84 for <hybi@ietf.org>; Fri, 16 Jan 2015 04:49:51 -0800 (PST)
Received: by mail-ie0-f177.google.com with SMTP id rd18so20392038iec.8 for <hybi@ietf.org>; Fri, 16 Jan 2015 04:49:51 -0800 (PST)
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:date :message-id:subject:from:to:cc:content-type; bh=CES0TGvQOgWze9MhoumzmKQHHHm8Mt4Yn8Ag8nXghbU=; b=gsG9n0/BAJ42Ffyaa3U+GJWy14WeWEe9rSXHQ894JFwEEsxPVJLUCWXZVFABNF9T62 5KIT66NPiNyggPk2ZYATGW7kDi5IJuS9W6i7uwFrWPbj4ystHu2K50ZEfFn8HHX8G9e5 kwcXUIpQffAjJ5XglY8xP4+QOSFYsEL7/gOwG7yuRDSFj2Wtf2FRbQc86+ABwPhSjA7W 3tq1jecc/K/3/niFobjD19xSntmDP90TJ8Plk3UHC1hqF970HsbXvFfwTrHxFQ4ucBo6 0esZ2MPS6gRbkIsMZO8lUudiVY9G/Lq+nh0Oy89sT9SF+bQ9/QL9hUeCdUlu/Hne1aWw Aktw==
X-Gm-Message-State: ALoCoQnV8INrgGBEYDmxllAx/cZ9vRlFTU9gKXxZB+aJnQ4oAB1dv5cLVzlW3ONpUxX2BXVEoLou
MIME-Version: 1.0
X-Received: by 10.107.149.13 with SMTP id x13mr15705902iod.35.1421412590964; Fri, 16 Jan 2015 04:49:50 -0800 (PST)
Received: by 10.107.53.89 with HTTP; Fri, 16 Jan 2015 04:49:50 -0800 (PST)
In-Reply-To: <CAH9hSJZjM1K7BKDcZCqriFZ-5uUBNJERtLEb5mH9PzG+DHnpQg@mail.gmail.com>
References: <CAH9hSJZjM1K7BKDcZCqriFZ-5uUBNJERtLEb5mH9PzG+DHnpQg@mail.gmail.com>
Date: Fri, 16 Jan 2015 05:49:50 -0700
Message-ID: <CAG4zZZB195+rdEjG3nei0cge9w9wLQeO-4yHxG329JbW8Qs12w@mail.gmail.com>
From: Joakim Erdfelt <joakim@intalio.com>
To: Takeshi Yoshino <tyoshino@google.com>
Content-Type: multipart/alternative; boundary="001a1140fd5090700c050cc46820"
Archived-At: <http://mailarchive.ietf.org/arch/msg/hybi/wwPIZykjv_IXpHYVuAeYtWGZFVI>
Cc: "hybi@ietf.org" <hybi@ietf.org>
Subject: Re: [hybi] Informal survey: "Non Request-Response Communication over the Web, and What's Missing"
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: Fri, 16 Jan 2015 12:49:54 -0000
Some commentary ... Be careful with "reliable data delivery". This has many different meanings to different people. Bayeux and Cometd (for example) have acknowledgement extensions specifically for unreliable data networks (mobile) that allow the server or client to know if the opposite side has received the complete message or not. This level of reliable message delivery could probably exist as a WebSocket extension. a message-ack extension with exposure at the various WebSocket APIs. WebSocket Gaps: 1. Half-Closed half-closed connections are currently supported by the WebSocket protocol spec. and many existing implementations do it correctly today (thanks autobahn!) several libraries already rely on this behavior (bayeux, cometd) however, other layers, apis, and non-websocket bugs can cause problems here. eg: its impossible with Android 5.x to do half-closed via SSL, on any protocol, mostly due to many horrid bugs in their SSLEngine. 2. Flow-Control For standard http/1.1 (not http/2) this is handled at the tcp/ip level. For http/2 this is handled by its flow-control parts of that spec. What else do you mean here? Is this section about how to expose this on the Javascript WebSocket API? 3. Message-level metadata Let this be part of an application specific protocol layer, or an extension handling it (with Javascript WebSocket API changes to expose extension manipulation. see below) Note: This is quite a passionate topic on the ietf-http-wg mailing list also, with more people against it than for it. 4. Keep-Alive Most existing applications are happy with a combination of tcp/ip keep-alive and websocket ping/pong so far. With http/2 there's other keep-alive strategies. Is is really a WebSocket protocol gap? Or just another Javascript WebSocket API gap? 5. Multiplexing and session priority One concern with the common response: WebSocket over HTTP/2 will address this. It seems that the folks running the http2 spec track (ietf-http-wg) have punted and want hybi to define it, and the folks here at hybi seem to think that the ietf-http-wg folks will define it. Have there been some discussion between these 2 groups yet? (even offline / face to face?) The Layering Concern: Don't forget, the websocket extensions are a layer too. Other thoughts: If this is an effort to get baseline of effort for the Javascript WebSocket in the browser, then you also have the following often asked questions ... * Handling authentication / authorization credentials. submitting them, and getting reasonable error messages out of the API for when problems occur. * Controlling extensions, both at the initial handshake, and ongoing in the write/send apis (think compress / dont compress flags as a real world usecase for today) * Better error messages when use of the API results in failure to open/connect due to violation of WebSocket spec rules -- Joakim Erdfelt <joakim@intalio.com> webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - cometd.org On Fri, Jan 16, 2015 at 1:42 AM, Takeshi Yoshino <tyoshino@google.com> wrote: > Hi all, > > I and Wenbo did an informal survey of protocol gaps. We hope this would > help moving forward the discussions about protocol/API design to some > extent. > > > https://github.com/bidiweb/bidiweb-semantics/blob/master/SurveyOfProtocolGaps.md > > > _______________________________________________ > hybi mailing list > hybi@ietf.org > https://www.ietf.org/mailman/listinfo/hybi > >
- [hybi] Informal survey: "Non Request-Response Com… Takeshi Yoshino
- Re: [hybi] Informal survey: "Non Request-Response… Joakim Erdfelt
- Re: [hybi] Informal survey: "Non Request-Response… Roberto Peon
- Re: [hybi] Informal survey: "Non Request-Response… Takeshi Yoshino