Re: [hybi] Is there a traffic jam?

Greg Wilkins <gregw@webtide.com> Tue, 14 April 2009 22:48 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 CD48E3A6A15 for <hybi@core3.amsl.com>; Tue, 14 Apr 2009 15:48:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.551
X-Spam-Level:
X-Spam-Status: No, score=-2.551 tagged_above=-999 required=5 tests=[AWL=0.048, 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 0w5ALAnhMQTM for <hybi@core3.amsl.com>; Tue, 14 Apr 2009 15:48:04 -0700 (PDT)
Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.185]) by core3.amsl.com (Postfix) with ESMTP id D84423A6820 for <hybi@ietf.org>; Tue, 14 Apr 2009 15:48:03 -0700 (PDT)
Received: by ti-out-0910.google.com with SMTP id 11so324827tim.25 for <hybi@ietf.org>; Tue, 14 Apr 2009 15:49:15 -0700 (PDT)
Received: by 10.110.90.9 with SMTP id n9mr10981515tib.6.1239749354990; Tue, 14 Apr 2009 15:49:14 -0700 (PDT)
Received: from ?10.10.1.12? (60-242-119-126.tpgi.com.au [60.242.119.126]) by mx.google.com with ESMTPS id a14sm366338tia.37.2009.04.14.15.49.11 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 14 Apr 2009 15:49:13 -0700 (PDT)
Message-ID: <49E512E2.6000404@webtide.com>
Date: Wed, 15 Apr 2009 08:49:06 +1000
From: Greg Wilkins <gregw@webtide.com>
User-Agent: Thunderbird 2.0.0.21 (X11/20090409)
MIME-Version: 1.0
To: hybi@ietf.org
References: <03BCE29D-7AA5-4128-9F61-446E0229479A@lindenlab.com> <E51D5B15BFDEFD448F90BDD17D41CFF105A0C476@AHQEX1.andrew.com> <Pine.LNX.4.62.0904140002360.10339@hixie.dreamhostps.com> <49E3D66C.5060002@webtide.com> <49E3D731.30305@mozilla.com> <79ea848f0904131727w5d4bc0d8kc9914d26080a01fc@mail.gmail.com> <49E3DB47.5060801@webtide.com> <49E428DD.3070803@defuze.org> <086D9C6DD2C9407D8D8CE0601FF0FD4A@mercury> <50044.193.253.216.132.1239692803.squirrel@mail1.webfaction.com> <3f5bf96b0904141136j6bc6e179w34af8ebb449b8d70@mail.gmail.com>
In-Reply-To: <3f5bf96b0904141136j6bc6e179w34af8ebb449b8d70@mail.gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
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: Tue, 14 Apr 2009 22:48:04 -0000

Mike Dierken wrote:
> I was thinking the applet would expose the 'web socket' API (or
> equivalent) and the app would be built with JavaScript. This would be
> a way to prototype an approach that created a sibling of
> XMLHttpRequest, but meant for receiving unsolicited requests in a page
> - something like XMLHttpServer (but without the XML part).


Having access to TCP does not really help much.

You still will not be able to tunnel through many firewalls
and proxies without pretending to be HTTP.

Also as a client/application API, raw TCP is pretty
difficult to code against.   What does an application do
with 2 bytes of a 6-byte UTF-8 character.

I very much like websockets abstraction of utf-8 datagrams
in the js/dom API.   This is very usable by applications
and/or frameworks (I just don't think the transport should
be skewed to support uncompressed UTF-8 datagrams without meta
data.)

cheers