Re: [hybi] thewebsocketprotocol #28 (new): Fragmentation

Zhong Yu <zhong.j.yu@gmail.com> Wed, 24 November 2010 10:02 UTC

Return-Path: <zhong.j.yu@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 4D97428C115 for <hybi@core3.amsl.com>; Wed, 24 Nov 2010 02:02:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.419
X-Spam-Level:
X-Spam-Status: No, score=-2.419 tagged_above=-999 required=5 tests=[AWL=0.180, 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 N0-ko6MZTK9H for <hybi@core3.amsl.com>; Wed, 24 Nov 2010 02:02:12 -0800 (PST)
Received: from mail-qy0-f179.google.com (mail-qy0-f179.google.com [209.85.216.179]) by core3.amsl.com (Postfix) with ESMTP id 7ED8328C10A for <hybi@ietf.org>; Wed, 24 Nov 2010 02:02:12 -0800 (PST)
Received: by qyk11 with SMTP id 11so2563846qyk.10 for <hybi@ietf.org>; Wed, 24 Nov 2010 02:03:11 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=9s0cMorPoB74+ou3sUAVz/9ShDhnES4d0Od4UhSX3aA=; b=ILL44SB11lExtG22neIAMbHMb3q/Ml8rLpGMZVyBRBLsiGlpIT2zU8iJtrCYu4Q+7Y szkYv7n23nfrFhyQB5EK8S7/U97aB2v5O8QC6BBriVEmV+92qUlvRPJy3sj7ph1JR9ru UMmLv8HXFPr5uNCyJKezK40H4UmO5VJHdJGy4=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=VNZslpXSsCEb5YEexLdYyKuRspt1sFQuI2ZZYk8ce55qkBe7XmJBmoK+u+dG1bTlb7 Fq8uF+waYmhqHpi/OVIG+ul4Q/wOGuzGZ8YVFLP9fS8ErWd/Ov/CZhSWlbw/FZfBIfl+ /xidqNqs1CS10KNRkBfrMxxjjE8bPDx3l/SwM=
MIME-Version: 1.0
Received: by 10.224.45.139 with SMTP id e11mr6727949qaf.87.1290592991603; Wed, 24 Nov 2010 02:03:11 -0800 (PST)
Received: by 10.220.189.136 with HTTP; Wed, 24 Nov 2010 02:03:11 -0800 (PST)
In-Reply-To: <AANLkTimaRzGObYrTCB8p7qbvqUpPPhR-uErNRaV_wPzr@mail.gmail.com>
References: <059.5b3c3b280c1320a26d9c11c25e067e06@tools.ietf.org> <AANLkTinE95cwFQjFWc3SYsWFYSiY4mu27oQpedYJGgDJ@mail.gmail.com> <AANLkTikS+N4ZjhoRLgZv5yetD2LceWXO=KC2ksgbfySQ@mail.gmail.com> <AANLkTimaRzGObYrTCB8p7qbvqUpPPhR-uErNRaV_wPzr@mail.gmail.com>
Date: Wed, 24 Nov 2010 04:03:11 -0600
Message-ID: <AANLkTikzKLVT=kYKoc67rsZOaeP=0hKe8rkk7y8kuimH@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: hybi <hybi@ietf.org>
Content-Type: text/plain; charset="ISO-8859-1"
Subject: Re: [hybi] thewebsocketprotocol #28 (new): Fragmentation
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, 24 Nov 2010 10:02:13 -0000

The most important thing I think is the abstraction WS provides to app
developers. Right now the abstraction is simple -- one message after
another. The simplicity is a good thing, if it is compromised I don't
know what websocket is supposed to be any more. Let's just kill
fragments and don't even think about any advanced features that depend
on it. Every message stays in one frame, even ones with unknown
lengths.

- Zhong Yu