Re: [hybi] Is there a traffic jam?

Jamie Lokier <jamie@shareable.org> Mon, 27 April 2009 15:03 UTC

Return-Path: <jamie@shareable.org>
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 917633A6FA1 for <hybi@core3.amsl.com>; Mon, 27 Apr 2009 08:03:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.182
X-Spam-Level:
X-Spam-Status: No, score=-3.182 tagged_above=-999 required=5 tests=[AWL=-0.583, 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 7rq0JSeWmhSJ for <hybi@core3.amsl.com>; Mon, 27 Apr 2009 08:03:15 -0700 (PDT)
Received: from mail2.shareable.org (mail2.shareable.org [80.68.89.115]) by core3.amsl.com (Postfix) with ESMTP id BC8C13A6F90 for <hybi@ietf.org>; Mon, 27 Apr 2009 08:03:15 -0700 (PDT)
Received: from jamie by mail2.shareable.org with local (Exim 4.63) (envelope-from <jamie@shareable.org>) id 1LySNh-0001qE-S1; Mon, 27 Apr 2009 16:04:29 +0100
Date: Mon, 27 Apr 2009 16:04:29 +0100
From: Jamie Lokier <jamie@shareable.org>
To: Ian Hickson <ian@hixie.ch>
Message-ID: <20090427150429.GE4885@shareable.org>
References: <1cb725390904131712k292a4860pbd078bb251d3855b@mail.gmail.com> <Pine.LNX.4.62.0904140031040.10339@hixie.dreamhostps.com> <1cb725390904131752u5842c039wb3d75602c479fa45@mail.gmail.com> <Pine.LNX.4.62.0904140053050.10339@hixie.dreamhostps.com> <1cb725390904131814o6040a8d3t637069a344d561bd@mail.gmail.com> <Pine.LNX.4.62.0904240546100.10370@hixie.dreamhostps.com> <E51D5B15BFDEFD448F90BDD17D41CFF105AD1ADC@AHQEX1.andrew.com> <Pine.LNX.4.62.0904240805380.12381@hixie.dreamhostps.com> <E51D5B15BFDEFD448F90BDD17D41CFF105AD1E13@AHQEX1.andrew.com> <Pine.LNX.4.62.0904270033570.12381@hixie.dreamhostps.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <Pine.LNX.4.62.0904270033570.12381@hixie.dreamhostps.com>
User-Agent: Mutt/1.5.13 (2006-08-11)
Cc: hybi@ietf.org, "Thomson, Martin" <Martin.Thomson@andrew.com>
Subject: Re: [hybi] Is there a traffic jam?
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: Mon, 27 Apr 2009 15:03:16 -0000

Ian Hickson wrote:
>  - A complex-looking protocol that will be implemented a few times only

==> HTML

>  - A simple-looking protocol that is actually rather complex that will be 
>    implemented many times but often incorrectly

==> HTTP

>  - A simple-looking protocol that is actually simple that will be 
>    implemented many times but mostly correctly

==> :-)

> But that's mostly academic -- according to your hypothesis, if the 
> protocol looks simple, whether it is or not, people will implement it.

I think that's correct.

> Since making the protocol complex arbitrarily is bad language design, that 
> just leaves us in the position of doing our best to make it as simple as 
> we possibly can.

I think WebSockets is in the unusual position that client browser
implementations won't be implemented often, but servers will be and so
will any Javascript layer that people need to put on top.

I guess that's why I push for more complexity in the client browser
implementation, in exchange for less complexity at the Javascript
level when you can't avoid putting it somewhere, for a broad class of
applications.

You can bet whatever people have to write in Javascript, will be
written many times over and badly.

-- Jamie