Re: [hybi] web socket protocol in "last call"?

Greg Wilkins <gregw@webtide.com> Wed, 28 October 2009 22:49 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 755883A6A58 for <hybi@core3.amsl.com>; Wed, 28 Oct 2009 15:49:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.336
X-Spam-Level:
X-Spam-Status: No, score=-2.336 tagged_above=-999 required=5 tests=[AWL=0.263, 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 tFPelI0xliWT for <hybi@core3.amsl.com>; Wed, 28 Oct 2009 15:49:11 -0700 (PDT)
Received: from mail-ew0-f208.google.com (mail-ew0-f208.google.com [209.85.219.208]) by core3.amsl.com (Postfix) with ESMTP id 75A423A6781 for <hybi@ietf.org>; Wed, 28 Oct 2009 15:49:11 -0700 (PDT)
Received: by ewy4 with SMTP id 4so1277102ewy.37 for <hybi@ietf.org>; Wed, 28 Oct 2009 15:49:22 -0700 (PDT)
Received: by 10.216.90.14 with SMTP id d14mr675492wef.30.1256770162642; Wed, 28 Oct 2009 15:49:22 -0700 (PDT)
Received: from ?10.10.1.9? (60-242-119-126.tpgi.com.au [60.242.119.126]) by mx.google.com with ESMTPS id n12sm610670gve.21.2009.10.28.15.49.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 28 Oct 2009 15:49:21 -0700 (PDT)
Message-ID: <4AE8CA69.2040105@webtide.com>
Date: Thu, 29 Oct 2009 09:49:13 +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: <4AE7F0AE.1000102@gmx.de> <Pine.LNX.4.62.0910280740540.25608@hixie.dreamhostps.com> <4AE7FFC4.8050405@gmx.de> <4AE806AA.60901@ericsson.com> <Pine.LNX.4.62.0910280938560.25608@hixie.dreamhostps.com> <4AE86513.4060600@ericsson.com> <3a880e2c0910281301j5d1e4cdclfe2391b28eadda0e@mail.gmail.com>
In-Reply-To: <3a880e2c0910281301j5d1e4cdclfe2391b28eadda0e@mail.gmail.com>
X-Enigmail-Version: 0.95.7
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
Subject: Re: [hybi] web socket protocol in "last call"?
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, 28 Oct 2009 22:49:12 -0000

Infinity Linden (Meadhbh Hamrick) wrote:
> WS is essentially unusable for me in it's current form. or rather, i
> could use it, but why? my use case of establishing reverse
> request-response semantic recognizable by intermediaries that supports
> channel multiplexing is possible over WS, but then again, it's also
> possible by extending HTTP, so why not just do that?

I completely agree with this sentiment.   WS is usable, but provides
no significant benefit over HTTP other than a warm philosophical
feeling that you are not abusing HTTP, is a little more byte
efficient and marginally better latency.

But it is not going to scale for my use-cases because of the
connection bloat.   It's going to break all the load balancers
I work with, and the SSL offloaders and most other network
infrastructure.

I'll be interested to see what happens when intermediaries
notice ws trying to run around them.  Will they support it or
block it?   My money is on the later.

If it becomes a standard as is, we will support it... but hide
it in the basement, under the stairs behind a sign that says
"beware of the leopard".    It will be a novelty like HTTP
pipelining - you can turn it on and play with it, but will
not seriously consider using it in deployment other than in
very specific circumstances.

Failing consensus on the protocol, I would have really liked the
opportunity of having a service provider API in the browser - so
I could intercept standard ws API and transport it over something
that would work my use-cases, or inserting layers between
app API and transport.

Pity.  Opportunity lost.

regards