Re: [hybi] Framing proposal with start/end demarcation

Roberto Peon <fenix@google.com> Thu, 05 August 2010 19:22 UTC

Return-Path: <fenix@google.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 CA5203A680B for <hybi@core3.amsl.com>; Thu, 5 Aug 2010 12:22:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.829
X-Spam-Level:
X-Spam-Status: No, score=-101.829 tagged_above=-999 required=5 tests=[AWL=0.147, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 wNNfG2yzPR3R for <hybi@core3.amsl.com>; Thu, 5 Aug 2010 12:22:05 -0700 (PDT)
Received: from smtp-out.google.com (smtp-out.google.com [74.125.121.35]) by core3.amsl.com (Postfix) with ESMTP id E54CB3A67ED for <hybi@ietf.org>; Thu, 5 Aug 2010 12:22:03 -0700 (PDT)
Received: from hpaq3.eem.corp.google.com (hpaq3.eem.corp.google.com [172.25.149.3]) by smtp-out.google.com with ESMTP id o75JMXrC027407 for <hybi@ietf.org>; Thu, 5 Aug 2010 12:22:33 -0700
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1281036153; bh=CF8XzCXGonsJ3H/wD57MJH3PwDY=; h=MIME-Version:In-Reply-To:References:Date:Message-ID:Subject:From: To:Cc:Content-Type; b=AAVhxsUloiGD6rxySgugAr3ul8jLvhPQVNYqZYv2bDZ5gVqUKcRc2XJDazVApWAFy fJbWbTGmxIpyPUJr9ld0A==
DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=mime-version:in-reply-to:references:date:message-id:subject:from:to: cc:content-type:x-system-of-record; b=wAQJQqhur/4QJhzeAc7HPErfA9ZTbOIfc7t/eFdQul6PZSPomGP9bF9IEkSoMGggm KoY/I0mmJ803XCHK5tJ3Q==
Received: from qwf7 (qwf7.prod.google.com [10.241.194.71]) by hpaq3.eem.corp.google.com with ESMTP id o75JMPnO000635 for <hybi@ietf.org>; Thu, 5 Aug 2010 12:22:32 -0700
Received: by qwf7 with SMTP id 7so5201990qwf.39 for <hybi@ietf.org>; Thu, 05 Aug 2010 12:22:32 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.224.46.15 with SMTP id h15mr3897257qaf.53.1281036152164; Thu, 05 Aug 2010 12:22:32 -0700 (PDT)
Received: by 10.229.13.134 with HTTP; Thu, 5 Aug 2010 12:22:31 -0700 (PDT)
In-Reply-To: <alpine.DEB.2.00.1008051939230.12845@sirius>
References: <4C5651AB.2020005@mail-abuse.org> <Pine.LNX.4.64.1008040622520.5947@ps20323.dreamhostps.com> <AANLkTikaruGt6pXacHWqF+FAkgXg1uh3kN4RPyay+bnR@mail.gmail.com> <Pine.LNX.4.64.1008040808390.5947@ps20323.dreamhostps.com> <AANLkTik+mEKsZz8-CojnMip1Vpp06f6uutNX3eT6gPpD@mail.gmail.com> <Pine.LNX.4.64.1008041803400.5947@ps20323.dreamhostps.com> <AANLkTinQtkGLf+YvJ5c724nas3xqbRchfHSRkfKoEb5u@mail.gmail.com> <op.vgyd890464w2qv@anne-van-kesterens-macbook-pro.local> <AANLkTin9wTTzrLNSu5AZz+MLx4NT-PHZV0kj8tv4RKm+@mail.gmail.com> <op.vgykq4ul64w2qv@anne-van-kesterens-macbook-pro.local> <AANLkTik4bcOFkdvq3DWuDs1RRLPzXCEyvHK1ef1dAr8E@mail.gmail.com> <4C5AD3F6.90108@opera.com> <AANLkTim+tsT8jh=s0mUKvkVSQceG7kPxhg7J-0_yCKmH@mail.gmail.com> <4C5AE0CA.9050007@opera.com> <AANLkTimZdxYuO8usffaSKVNpG97dDbm5uTT2yhyJa2pP@mail.gmail.com> <4C5AEF4A.3020103@opera.com> <AANLkTinM90MVG0fxN0q3xJc1a54FPWzU6bvvr3gPB8uQ@mail.gmail.com> <alpine.DEB.2.00.1008051939230.12845@sirius>
Date: Thu, 05 Aug 2010 12:22:31 -0700
Message-ID: <AANLkTinqaN5p8OHgrLA-cgHPP7ONBW7uGVnjJ_B1B8hD@mail.gmail.com>
From: Roberto Peon <fenix@google.com>
To: James Graham <jgraham@opera.com>
Content-Type: multipart/alternative; boundary="00151748db02cb5100048d1878b7"
X-System-Of-Record: true
Cc: hybi@ietf.org
Subject: Re: [hybi] Framing proposal with start/end demarcation
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: Thu, 05 Aug 2010 19:22:07 -0000

On Thu, Aug 5, 2010 at 10:55 AM, James Graham <jgraham@opera.com> wrote:

> On Thu, 5 Aug 2010, Roberto Peon wrote:
>
>  Google, Amazon, Rackspace, VMWare, 3Tera, whomever. I don't think this is
>> a solely a Google problem, I think we're just the first
>> to start thinking about it deeply.
>>
>
> Sure, I didn't mean to imply it was only a Google problem. But for many
> potential users it is not a significant problem.
>
>
>  Agreed. Is the argument then that we believe that supporting scalability
>> induces so much complexity as to cause failed
>> implementations?
>>
>>
> It is certianly true that trying to introduce significant complexity right
> now, i.e. in the probably-short time before we have shipping Opera, Firefox,
> Safari and Chrome all with WebSockets support, introduces a serious risk of
> bugs or partial implementations. In practice if the intersection of what the
> aforementioned browsers support is sufficient to be usable then it will
> establish an ecosystem that depends on that intersection continuing to be
> supported in the future, effectively creating a de-facto base protocol.
>

If I had a belief (or at minimum an assurance) that if there was a
continuing worry about scalability as we go forward that we would change the
protocol and get it implemented in Opera, Firefox, Safari and Chrome, I'd
not be making noise-- I'd be cheering! We'd be on our way to an
implementation-first, then standardize process.


>
> I also believe it is true that introducing significant mandatory complexity
> to servers at any time significantly increases the barrier to writing a
> server i.e. produces failed (potential) server implementations. It also
> increases the risk of bugs in servers which one could presume may manifest
> themselves as significant problems e.g. security issues.
>
> Although these are arguments against starting with something too complex,
> they are not the only arguments that have been made. For example it has been
> pointed out that by starting with something simple we can ensure that we are
> adding the only things that are really needed. In the "now" timeframe we
> don't have the ability to collect data about how to optimise for performance
> and scaling. If we give ourselves more time we can collect better data from
> real world use and end up with a better, more scalable, design in the long
> run.
>

This definitely works when the set of developers is small or well
controlled. We as a set of interests are not particularly well controlled,
and certainly the set of developers implementing this won't be small.
If Mozilla, Opera, Google, and Safari were all making their own variations
of their own versions of a standard, I'd believe that we could move forward,
because in the future it would be necessary to standardize.
We're upside-down right now. We're standardizing something that doesn't meet
the needs of entities that serve a large percentage of users with little to
no incentive to change that in the future.

What is the incentive for Mozilla, Opera, and Safari to change their
implementations again in the future? When will this happen?

We're not even talking about limiting the maximum number of concurrent WS
connections that may be created to a site (something which could be
extremely simple in the protocol and something which we've already done for
HTTP).
I'm worried that we're making it so simple right now because we're assuming
that the network and the servers will not be impacted negatively. I'm
worried that we will be negatively impacting the networks, the airwaves
(bandwidth consumption on phones for many multiples more keep-alives), etc.

To me, it feels a bit like global warming! :)

-=R