Re: [hybi] Framing take IV [why fragment]

Jack Moffitt <jack@collecta.com> Thu, 05 August 2010 16:29 UTC

Return-Path: <metajack@gmail.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 F2E033A6978 for <hybi@core3.amsl.com>; Thu, 5 Aug 2010 09:29:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.95
X-Spam-Level:
X-Spam-Status: No, score=-1.95 tagged_above=-999 required=5 tests=[AWL=0.027, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
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 ILfPYFMhGcIT for <hybi@core3.amsl.com>; Thu, 5 Aug 2010 09:29:54 -0700 (PDT)
Received: from mail-qy0-f172.google.com (mail-qy0-f172.google.com [209.85.216.172]) by core3.amsl.com (Postfix) with ESMTP id 4256C3A6B2F for <hybi@ietf.org>; Thu, 5 Aug 2010 09:29:48 -0700 (PDT)
Received: by qyk1 with SMTP id 1so3204511qyk.10 for <hybi@ietf.org>; Thu, 05 Aug 2010 09:30:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=yRAWY3wmrzAMgMvGD34mkxFLaZWZcYWcGAZRhIMC6ac=; b=kWKGIPBW3qlswno3o8yJbCEI1zgg+t1bcmBHE6kJ9N1JYZwV8L6+PPDquGKN7h4egB bybUv0AoY3mTFRgVDEj+4WHDuATx78d3I5jX8q3k0cDsqwDEVcoLPwk//VBUMFk+5Kb5 11A8c9Ze7Q/msCqyNY+9kM7ZpF3+fwBiatank=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=QpnbvbZw/gz2M6Ggp2jr1PcXGVUAl3Uz7AW/yPhemSUmQX+riom2jvOHZmF5a7q2ch Qxic0ufDe3Qg2cwv/r88c06/WFSpWbxHHbiu6tzLNDcC3oIBuLjsf8fL1tzi4uwZhxg6 e13LrAoJroXyB482Mx2HjoSN606dux+a7Kyik=
MIME-Version: 1.0
Received: by 10.229.231.149 with SMTP id jq21mr3649850qcb.121.1281025809246; Thu, 05 Aug 2010 09:30:09 -0700 (PDT)
Sender: metajack@gmail.com
Received: by 10.229.18.147 with HTTP; Thu, 5 Aug 2010 09:30:08 -0700 (PDT)
In-Reply-To: <4C5AE1C2.7080607@caucho.com>
References: <AANLkTinyrDoG5d_Ur6HVRy=SgMPjLzJtpJ++Ye=1DQdj@mail.gmail.com> <Pine.LNX.4.64.1008040050040.5947@ps20323.dreamhostps.com> <1280932393.7561.271.camel@tng> <2286.1281017237.786534@puncture> <4C5AD81F.8080800@caucho.com> <2286.1281023378.491785@puncture> <4C5AE1C2.7080607@caucho.com>
Date: Thu, 05 Aug 2010 10:30:08 -0600
X-Google-Sender-Auth: F-WrKGgsDR_BGNTvisgdIMCG9sE
Message-ID: <AANLkTindkK8=Yz+r5Xa7ViZo5095+qcvgDfy6jfxEhE_@mail.gmail.com>
From: Jack Moffitt <jack@collecta.com>
To: Scott Ferguson <ferg@caucho.com>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
Cc: Server-Initiated HTTP <hybi@ietf.org>
Subject: Re: [hybi] Framing take IV [why fragment]
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 16:29:55 -0000

> The bulk of any websocket application will be on the server, just like the
> bulk of any HTTP application is on the server now. The bulk of application
> developers will be on the server, just like HTTP now. The bulk of the
> application complexity will be on the server.  Anything that makes the
> server application easier to develop is a benefit to the application.

I have to disagree with this. There are now many applications
springing up that have very minimal server requirements. Even more of
these applications have no 1st party server requirements (things like
Twitter clients, etc). We also have several frameworks (existing and
up and coming) that use web technology as the basis for application
development.

In my own projects, much of the work is on the client side. The server
exists only to store and forward data and to serve as an efficient
distribution system for the application itself.

Assuming WebSockets is successful, there will be frameworks akin to
Django and Rails that make doing the server side of WebSockets
extremely simple, and application developers can focus on the
frontend. I think that WebSockets has the potential to further this
trend of moving web browsers from dumb terminals into robust and
capable application platforms.

I'd like there to be some streaming API or at least an exposing of the
fragments all the way to JavaScript that could enable a more efficient
or different class of applications. Without these things, there *will*
be a lot of extra server side code to enable this in some cases. In
the world we live in now, we have XHR, which has all of these problems
and then some.

If anything, a chunk/streaming API would probably move even more
application logic to the client side, since more sophisticated things
would be possible.

jack.