Re: [hybi] Reliable message delivery (was Re: Technical feedback.)

Greg Wilkins <gregw@webtide.com> Wed, 03 February 2010 14:09 UTC

Return-Path: <gregw@webtide.com>
X-Original-To: hybi@core3.amsl.com
Delivered-To: hybi@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8D34C28C137 for <hybi@core3.amsl.com>; Wed, 3 Feb 2010 06:09:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.506
X-Spam-Level:
X-Spam-Status: No, score=-2.506 tagged_above=-999 required=5 tests=[AWL=0.093, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id z1djfx7yKhG0 for <hybi@core3.amsl.com>; Wed, 3 Feb 2010 06:09:52 -0800 (PST)
Received: from mail-bw0-f219.google.com (mail-bw0-f219.google.com [209.85.218.219]) by core3.amsl.com (Postfix) with ESMTP id 77A5428C0EB for <hybi@ietf.org>; Wed, 3 Feb 2010 06:09:52 -0800 (PST)
Received: by bwz19 with SMTP id 19so1450bwz.28 for <hybi@ietf.org>; Wed, 03 Feb 2010 06:10:31 -0800 (PST)
Received: by 10.204.7.203 with SMTP id e11mr622857bke.39.1265206231153; Wed, 03 Feb 2010 06:10:31 -0800 (PST)
Received: from ?10.10.1.11? (60-242-119-126.tpgi.com.au [60.242.119.126]) by mx.google.com with ESMTPS id 16sm3305011bwz.7.2010.02.03.06.10.27 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 03 Feb 2010 06:10:29 -0800 (PST)
Message-ID: <4B6983CC.9050203@webtide.com>
Date: Thu, 04 Feb 2010 01:10:20 +1100
From: Greg Wilkins <gregw@webtide.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: "hybi@ietf.org" <hybi@ietf.org>
References: <4B62C5FE.8090904@it.aoyama.ac.jp> <4B62E516.2010003@webtide.com> <5c902b9e1001290756r3f585204h32cacd6e64fbebaa@mail.gmail.com> <4B636757.3040307@webtide.com> <8449BE19-3061-4512-B563-02973FBB707B@apple.com> <5c902b9e1001292310l5442d476n8375139f3480671b@mail.gmail.com> <26D406E7-2319-476E-9ADF-80D84200C270@apple.com> <5c902b9e1001292333k79569316lf371938c9aa766@mail.gmail.com> <128BFD31-9835-47B1-B7A9-F20F5CDA8D8C@apple.com> <20100130144936.GD19124@shareable.org> <5c902b9e1001301552n6efb7969o34110373e3ab4945@mail.gmail.com> <4B672C9D.9010205@ericsson.com> <op.u7gy9bag64w2qv@annevk-t60> <96935605-E8B8-4718-B60F-570FD2C199E4@apple.com> <Pine.LNX.4.64.1002012354380.3846@ps20323.dreamhostps.com> <F21A8D9A-1E27-48C8-8818-0BB6872A2CE4@apple.com> <Pine.LNX.4.64.1002020056460.21600@ps20323.dreamhostps.com> <4B694A1E.3050300@ninebynine.org> <Pine.LNX.4.64.1002031020560.26790@ps20323.dreamhostps.com>
In-Reply-To: <Pine.LNX.4.64.1002031020560.26790@ps20323.dreamhostps.com>
X-Enigmail-Version: 0.95.7
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
Subject: Re: [hybi] Reliable message delivery (was Re: Technical feedback.)
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Wed, 03 Feb 2010 14:09:53 -0000

I don't think you can assume that most websocket using software
and/or subprotocols will have the same developer working on
the client side and the server side.

I can see separate impls for opera, firefox, jetty, tomcat, httpd etc.
for some a standard subprotocol for multiplexing ws connections.

I can also see standards emerge for ws connection management that
supports reconnects and retransmission.  These might be implemented
in server frameworks and in js libraries like dojo and jquery.

Even if the dev team is the same client and server, it's just
as likely that different developers will work on the javascript
vs server language portions.    Even if the same person wrote
both parts, it sounds like fragile design to assume implementation
details of the other part.

Websockets is meant to be a significant change in web application
development and new app models are likely to emerge.   I think it
is very dangerous to say anything is "typical" of a protocol
not yet deployed.  Even if there are typical usage patterns, I
don't think it is good to design a protocol that only works for
them.



regards




Ian Hickson wrote:
> On Wed, 3 Feb 2010, Graham Klyne wrote:
>> Ian Hickson wrote:
>>> The server and the client are typically written by the same person.
>> If this is the basis on which the protocol is being specified, I don't
>> understand why it's being done in a standards body.
> 
> So that the platform on top of which the client is written can be 
> interoperably implemented such that it is possible for the clients to run 
> on any implementation of the platform interoperably.
> 
> To clarify the terminology, from the perspective of the subprotocol 
> running on Web Sockets, the platform is the browser with the Web Socket 
> API, and the client is the JS code invoking the API, and implementing the 
> client part of the subprotocol. The server implements both the Web Socket 
> protocol and the subprotocol running over it.
> 
> The subprotocol is like HTTP, IRC, FTP, etc; Web Sockets is like TCP, and 
> the platform is like the OS's network stack. Except everything is moved up 
> one level.
> 
> HTH,