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

Zhong Yu <zhong.j.yu@gmail.com> Mon, 22 November 2010 18:32 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 839243A6AE9 for <hybi@core3.amsl.com>; Mon, 22 Nov 2010 10:32:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.79
X-Spam-Level:
X-Spam-Status: No, score=-1.79 tagged_above=-999 required=5 tests=[AWL=-0.483, BAYES_00=-2.599, MISSING_HEADERS=1.292]
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 ZcsEX+hksdpB for <hybi@core3.amsl.com>; Mon, 22 Nov 2010 10:31:59 -0800 (PST)
Received: from mail-pv0-f172.google.com (mail-pv0-f172.google.com [74.125.83.172]) by core3.amsl.com (Postfix) with ESMTP id 1C6F03A6A3E for <hybi@ietf.org>; Mon, 22 Nov 2010 10:31:59 -0800 (PST)
Received: by pvc21 with SMTP id 21so1959274pvc.31 for <hybi@ietf.org>; Mon, 22 Nov 2010 10:32:51 -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:cc:content-type; bh=Z8ELGromnVeLhQv1BFBegOCH3+EvgVegd25LMl6w+pw=; b=fiyT2YwHyPS6pry10VpeID7vZUKH/MK3i/s895ZUVtoTdjfk3wSpgyKI6sxSN/1GpY i7JvLaHAmYs8FIxr3d07F1bFBq9GOMgcQj0anbovSn9IwBAPwSpOhQggxTowSAE+hORv DTdgv5VFn7esBUIGyNuXD+yIdOSzUJnwpJNh8=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; b=GyG+xDEZktWxlVbDFNdldcbPbGr2q5enonKDaY3w3oqfAngr0lI8wxgAkbSWfe4cvy MUEdDu7Awu4jebnd7n7ubAJ8ZGUPKlrfa9cfXiNqWK2PwPxnjNsNyTMx42I97O2SrHfZ zuI65hJiQKHLzAxjnv0+pCNMyMMwOFnIcnJ4g=
MIME-Version: 1.0
Received: by 10.229.28.149 with SMTP id m21mt6992342qcc.102.1290450770513; Mon, 22 Nov 2010 10:32:50 -0800 (PST)
Received: by 10.220.189.136 with HTTP; Mon, 22 Nov 2010 10:32:50 -0800 (PST)
In-Reply-To: <059.5b3c3b280c1320a26d9c11c25e067e06@tools.ietf.org>
References: <059.5b3c3b280c1320a26d9c11c25e067e06@tools.ietf.org>
Date: Mon, 22 Nov 2010 12:32:50 -0600
Message-ID: <AANLkTinE95cwFQjFWc3SYsWFYSiY4mu27oQpedYJGgDJ@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"
Cc: hybi@ietf.org, sm+ietf@elandsys.com
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: Mon, 22 Nov 2010 18:32:00 -0000

I think the answers to this question depend on specific programming
models, therefore they are best addressed by applications/frameworks.
WS protocol doesn't have to support streaming - that's the job of
frameworks. A single layer shouldn't mix streams and messages. (So we
have streaming framework, on top of WebSocket frames, on top of TCP
stream, on top of IP frames, on top of electronic stream, on top of
quantum of photons... It's turtle all the way, but there is only one
turtle at each level)

-- Zhong Yu