Re: [hybi] WS port with BOSH-like fallback?

"Martin J. Dürst" <duerst@it.aoyama.ac.jp> Wed, 01 December 2010 10:56 UTC

Return-Path: <duerst@it.aoyama.ac.jp>
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 5C6DC3A6B41 for <hybi@core3.amsl.com>; Wed, 1 Dec 2010 02:56:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -100.169
X-Spam-Level:
X-Spam-Status: No, score=-100.169 tagged_above=-999 required=5 tests=[AWL=-0.379, BAYES_00=-2.599, HELO_EQ_JP=1.244, HOST_EQ_JP=1.265, MIME_8BIT_HEADER=0.3, USER_IN_WHITELIST=-100]
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 2RGTMjx49+m3 for <hybi@core3.amsl.com>; Wed, 1 Dec 2010 02:56:25 -0800 (PST)
Received: from scintmta02.scbb.aoyama.ac.jp (scintmta02.scbb.aoyama.ac.jp [133.2.253.34]) by core3.amsl.com (Postfix) with ESMTP id B60223A6806 for <hybi@ietf.org>; Wed, 1 Dec 2010 02:56:24 -0800 (PST)
Received: from scmse02.scbb.aoyama.ac.jp ([133.2.253.231]) by scintmta02.scbb.aoyama.ac.jp (secret/secret) with SMTP id oB1AvZ4H017768 for <hybi@ietf.org>; Wed, 1 Dec 2010 19:57:35 +0900
Received: from (unknown [133.2.206.133]) by scmse02.scbb.aoyama.ac.jp with smtp id 5b85_45b8_ce1ec81e_fd39_11df_9e0b_001d096c5782; Wed, 01 Dec 2010 19:57:35 +0900
Received: from [IPv6:::1] ([133.2.210.1]:58390) by itmail.it.aoyama.ac.jp with [XMail 1.22 ESMTP Server] id <S1495B41> for <hybi@ietf.org> from <duerst@it.aoyama.ac.jp>; Wed, 1 Dec 2010 19:57:34 +0900
Message-ID: <4CF62A16.6050402@it.aoyama.ac.jp>
Date: Wed, 01 Dec 2010 19:57:26 +0900
From: "\"Martin J. Dürst\"" <duerst@it.aoyama.ac.jp>
Organization: Aoyama Gakuin University
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.9) Gecko/20100722 Eudora/3.0.4
MIME-Version: 1.0
To: Brodie Thiesfield <brodie@jellycan.com>
References: <AANLkTi=UpWdjqU0Lkh11wSGtHVDO71_CvjWJyH4mPyQi@mail.gmail.com> <AANLkTikzCOjkMGb8NMBReNCergdGUhQus5hOpbgJQs70@mail.gmail.com>
In-Reply-To: <AANLkTikzCOjkMGb8NMBReNCergdGUhQus5hOpbgJQs70@mail.gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 8bit
Cc: Hybi <hybi@ietf.org>, Greg Wilkins <gregw@intalio.com>
Subject: Re: [hybi] WS port with BOSH-like fallback?
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, 01 Dec 2010 10:56:26 -0000

On 2010/11/30 23:53, Brodie Thiesfield wrote:
> On Mon, Nov 29, 2010 at 8:49 AM, Greg Wilkins<gregw@intalio.com>  wrote:
>>
>> So tell me again why we don't just ask IANA for a websocket port?
>>
>> Browsers can try to port and if it fails to connect they can fall back to
>> something like BOSH over port 80.
>> This get's us through firewalls and keep port 80 for HTTP.
>>
>> I think that is the right technical solution (use ports for what ports were
>> designed for) and avoids the growing conflict over usage of port 80.
>
> +1
>
> If WS does become popular and necessary (like HTTPS) then over time
> the WS port will be opened up in more locations. Clients should prefer
> the dedicated port, and when not available, support fallback to an
> attempted upgrade/connect via port 80.

This also seems to be supported by http://websocketstest.com/ws/stats. 
There is a figure entitled "WebSockets Success Rate by Port Number". The 
numbers are 80 => 69.71, 8080 =>69.1, 443 => 72.45. The difference 
between the eighties and 443 may be statistically significant, but I 
doubt that the difference between 80 and 8080 is statistically significant.

Regards,   Martin.

-- 
#-# Martin J. Dürst, Professor, Aoyama Gakuin University
#-# http://www.sw.it.aoyama.ac.jp   mailto:duerst@it.aoyama.ac.jp