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

Ian Hickson <ian@hixie.ch> Sun, 01 November 2009 20:36 UTC

Return-Path: <ian@hixie.ch>
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 7820228C128 for <hybi@core3.amsl.com>; Sun, 1 Nov 2009 12:36:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.537
X-Spam-Level:
X-Spam-Status: No, score=-2.537 tagged_above=-999 required=5 tests=[AWL=0.062, 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 q85YSSy0zFEn for <hybi@core3.amsl.com>; Sun, 1 Nov 2009 12:36:44 -0800 (PST)
Received: from looneymail-a2.g.dreamhost.com (caibbdcaaaaf.dreamhost.com [208.113.200.5]) by core3.amsl.com (Postfix) with ESMTP id C4EF428C127 for <hybi@ietf.org>; Sun, 1 Nov 2009 12:36:44 -0800 (PST)
Received: from hixie.dreamhostps.com (hixie.dreamhost.com [208.113.210.27]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by looneymail-a2.g.dreamhost.com (Postfix) with ESMTP id EC69C16D3D4; Sun, 1 Nov 2009 12:37:03 -0800 (PST)
Date: Sun, 01 Nov 2009 20:37:05 +0000
From: Ian Hickson <ian@hixie.ch>
To: Mike Dierken <mike@dierken.com>
In-Reply-To: <3f5bf96b0910312029l3a0f755ax39349988fefb53b@mail.gmail.com>
Message-ID: <Pine.LNX.4.62.0911012036100.27039@hixie.dreamhostps.com>
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> <4AE8CA69.2040105@webtide.com> <44abafb90910281604o2a73b490l6b1ae5ca1fba37ba@mail.gmail.com> <Pine.LNX.4.62.0910310127390.25616@hixie.dreamhostps.com> <3f5bf96b0910312029l3a0f755ax39349988fefb53b@mail.gmail.com>
Content-Language: en-GB-hixie
Content-Style-Type: text/css
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset="US-ASCII"
Cc: "hybi@ietf.org" <hybi@ietf.org>
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: Sun, 01 Nov 2009 20:36:45 -0000

On Sat, 31 Oct 2009, Mike Dierken wrote:
>
> I had one small question about "[..] the latency involved in having to 
> establish new TCP connections for each HTTP message is non-existent in 
> WebSocket". I know that you know that persistent HTTP 1.1 connections 
> reduce the number of times an open/close of a connection would occur, so 
> I was curious what's actually happening that connections are created for 
> each request. (Not that I think the answer will or should change 
> anything to do with WebSockets, just a curiousity sort of thing).

Non-idempotent messages have to be sent using POST, which cannot be 
pipelined in practice.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'