Re: [hybi] Last Call: <draft-ietf-hybi-thewebsocketprotocol-10.txt> (The WebSocket protocol) to Proposed Standard

"Roy T. Fielding" <fielding@gbiv.com> Fri, 22 July 2011 22:44 UTC

Return-Path: <fielding@gbiv.com>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E657C21F8BA6; Fri, 22 Jul 2011 15:44:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.116
X-Spam-Level:
X-Spam-Status: No, score=-106.116 tagged_above=-999 required=5 tests=[AWL=-3.817, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9BwOxq1mlsU5; Fri, 22 Jul 2011 15:44:15 -0700 (PDT)
Received: from homiemail-a66.g.dreamhost.com (caiajhbdccac.dreamhost.com [208.97.132.202]) by ietfa.amsl.com (Postfix) with ESMTP id 3E80821F8BB3; Fri, 22 Jul 2011 15:44:15 -0700 (PDT)
Received: from homiemail-a66.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a66.g.dreamhost.com (Postfix) with ESMTP id EF21C350078; Fri, 22 Jul 2011 15:44:14 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gbiv.com; h=subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to; q=dns; s=gbiv.com; b=fGWMx/MHZ1YlU5z5 gS5hiZhT+a+RRXacudhlZhoB38H2OYuGGZ4C1v7lXPUWJB6u+De0ZlACajLpUSBX Efh/qazf1o0fHGF9ii+FPRbG77MvVV/7vf5qLkQy5tNo8LPaweYZtnw1jIDDBGXs yZrtDj+fNNyuustcMP60Dzpk3kU=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gbiv.com; h=subject :mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=gbiv.com; bh=TffqHLS29zu3oNU2se+sFK5jPys=; b=hRavpF39+4n2Zm+Ita5EJSnHHdWa BQB8H1KQtTUMhNHZPUpMQvfr8a6Dm93ib2dpmDwEkXK/FSKugquCUhKOhJXwNn/f zgHtQNZWep252J0rnUgTYT4uyJxmeGZK6FvPwdodD3XC4arpjb7cBnKv37rEILuY 20pFIFII9CDOhP4=
Received: from [192.168.1.84] (99-21-208-82.lightspeed.irvnca.sbcglobal.net [99.21.208.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: fielding@gbiv.com) by homiemail-a66.g.dreamhost.com (Postfix) with ESMTPSA id AC83B35005B; Fri, 22 Jul 2011 15:44:14 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset="iso-8859-1"
From: "Roy T. Fielding" <fielding@gbiv.com>
In-Reply-To: <CALiegf=pYzybvc7WB2QfPg6FKrhLxgzHuP-DpuuMfZYJV6Z7FQ@mail.gmail.com>
Date: Fri, 22 Jul 2011 15:44:19 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <B2C17B21-EA8A-4698-8C41-F55A9AA140D4@gbiv.com>
References: <20110711140229.17432.23519.idtracker@ietfa.amsl.com> <CALiegfk0zVVRBbOP4ugsVXKmcLnryujP6DZqF6Bu_dC2C3PpeQ@mail.gmail.com> <9031.1311082001.631622@puncture> <CALiegfk_GLAhAf=yEe6hYw2bwtxEwg9aJN+f0Bm9he5QgsRavA@mail.gmail.com> <CAP992=Ft6NwG+rbcuWUP0npwVNHY_znHmXmznBQO_krMo3RT6g@mail.gmail.com> <CALiegfmTWMP3GhS1-k2aoHHXkUkB+eWqV=2+BufuWVR1s2Z-EA@mail.gmail.com> <20110721163910.GA16854@1wt.eu> <CAP992=FrX5VxP2o0JLNoJs8nXXba7wbZ6RN9wBUYC0ZSN_wbAg@mail.gmail.com> <9031.1311270000.588511@puncture> <CALiegf=pYzybvc7WB2QfPg6FKrhLxgzHuP-DpuuMfZYJV6Z7FQ@mail.gmail.com>
To: Iñaki Baz Castillo <ibc@aliax.net>
X-Mailer: Apple Mail (2.1084)
Cc: Server-Initiated HTTP <hybi@ietf.org>, IETF-Discussion <ietf@ietf.org>
Subject: Re: [hybi] Last Call: <draft-ietf-hybi-thewebsocketprotocol-10.txt> (The WebSocket protocol) to Proposed Standard
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/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: Fri, 22 Jul 2011 22:44:16 -0000

On Jul 21, 2011, at 10:52 AM, Iñaki Baz Castillo wrote:

> 2011/7/21 Dave Cridland <dave@cridland.net>:
>> It's proven impossible, despite effort, to retrofit SRV onto HTTP; there is
>> no way it'll be possible to retrofit onto WS.
> 
> Right. If WS borns with no SRV (as a MUST for WS clients) then just
> forget it and let inherit all the ugly limitations from HTTP protocol.

I am tired of this.  SRV is not used for HTTP because SRV adds latency
to the initial request for no useful purpose whatsoever.  SRV records for
XMPP and MX records for mail are useful because there is only one such
server expected per domain and it is *very* desirable to maintain central
control over that routing.  In contrast, HTTP is deployed in an anarchic
manner in which there are often several HTTP servers per machine
(e.g., tests, staging, production, CUPS, etc,).  AFAICT, WebSockets is
even more anarchic than HTTP -- it will have to be, given that the sane
network admins will block it by default.

In short, SRV is not used by the Web because it is inappropriate for HTTP.
I have seen no reason to believe that it would be appropriate for WebSockets.
If you want SRV to be part of the proposed standard, then you have to convince
the people implementing WS to use SRV.  None have done so, yet, so we can't
expect the editor to add it to the spec just because you have an opinion.

....Roy