Re: [hybi] CML
"Shelby Moore" <shelby@coolpage.com> Mon, 23 August 2010 14:49 UTC
Return-Path: <shelby@coolpage.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 D3D7B3A6A35 for <hybi@core3.amsl.com>; Mon, 23 Aug 2010 07:49:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.251
X-Spam-Level:
X-Spam-Status: No, score=-2.251 tagged_above=-999 required=5 tests=[AWL=0.348, 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 NINT8IQoLzi7 for <hybi@core3.amsl.com>; Mon, 23 Aug 2010 07:49:36 -0700 (PDT)
Received: from www5.webmail.pair.com (www5.webmail.pair.com [66.39.3.83]) by core3.amsl.com (Postfix) with SMTP id 89E433A689C for <hybi@ietf.org>; Mon, 23 Aug 2010 07:49:36 -0700 (PDT)
Received: (qmail 61013 invoked by uid 65534); 23 Aug 2010 14:50:09 -0000
Received: from 121.97.54.174 ([121.97.54.174]) (SquirrelMail authenticated user shelby@coolpage.com) by sm.webmail.pair.com with HTTP; Mon, 23 Aug 2010 10:50:09 -0400
Message-ID: <33068f218a284988159422767614e211.squirrel@sm.webmail.pair.com>
In-Reply-To: <efa3d0a4449d1f830c095466238c5f81.squirrel@sm.webmail.pair.com>
References: <8B0A9FCBB9832F43971E38010638454F03EF2669F2@SISPE7MB1.commscope.com> <AANLkTi=G-gZ1+7uoYE=fhiKFUXoziWacx5_k-HfxC-0z@mail.gmail.com> <8B0A9FCBB9832F43971E38010638454F03EF266A07@SISPE7MB1.commscope.com> <AANLkTimTBLvHXTGciDM4ef1hNXPHn7cjR-kxbd8pBq3+@mail.gmail.com> <8B0A9FCBB9832F43971E38010638454F03EF266A23@SISPE7MB1.commscope.com> <efa3d0a4449d1f830c095466238c5f81.squirrel@sm.webmail.pair.com>
Date: Mon, 23 Aug 2010 10:50:09 -0400
From: Shelby Moore <shelby@coolpage.com>
To: shelby@coolpage.com
User-Agent: SquirrelMail/1.4.20
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Cc: "hybi@ietf.org" <hybi@ietf.org>
Subject: Re: [hybi] CML
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: shelby@coolpage.com
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, 23 Aug 2010 14:49:37 -0000
And when we return the CML bit to reserved bits, please make it the MSB next to LenLen, so that if ever we need to support 128-bit sizes, it will be easy to do so. >> John Tamplin writes: >>> Remember that the current JS API is message based, where it receives a >>> single string containing the entire message. It seems likely browsers >>> are going to allocate an entire buffer for the incoming message >>> (granted >>> some of them will want that to be in UTF16 characters, which won't be >>> tied to the number of UTF8 bytes - there was discussion of perhaps >>> adding that as an extension), filling it as it reads fragments, and >>> then >>> handing it off to client code once the last frame is received. >> >> 'twasn't my memory that was the problem, but the assumption that >> reallocation of memory was necessary. If the message arrives in pieces, >> you have two choices: >> A. re-assemble those pieces into the expected form >> B. provide an abstraction that makes it look like a single piece >> >> This holds true irrespective of the nature of the API, though there >> might >> be some implementation constraints that make one or other harder. >> >> A is a fairly unsophisticated approach, it's simple and might be >> perfectly >> good if you don't want to spend too much effort on implementation, want >> to >> expose a simple array to users. A is even better if you have a frame >> size >> limit. B follows the old maxim: every problem can be solved by adding >> another layer of indirection. B might be more efficient if the >> implementation needs to be more flexible. >> >>> Primarily I suggested it as a way to avoid the apparently endless >>> arguments we were having about fragmentation. >> >> Sadly, I don't think that it necessarily addresses those concerns; nor >> do >> I believe that those concerns are especially well grounded. > > The above taken together with Thomson's prior post: > > http://www.ietf.org/mail-archive/web/hybi/current/msg03525.html > > I agree with Thomson's points. The CML is useless, and perhaps harmful. > > CML is not a generalized abstraction of what it attempts to do. > > CML abstraction should be in the data not in frame header. For example, if > the sender wants to signal the size of array, then put it in the data of > the first frame sent. > _______________________________________________ > hybi mailing list > hybi@ietf.org > https://www.ietf.org/mailman/listinfo/hybi > >
- Re: [hybi] CML John Tamplin
- [hybi] CML Thomson, Martin
- Re: [hybi] CML John Tamplin
- Re: [hybi] CML Thomson, Martin
- Re: [hybi] CML Thomson, Martin
- [hybi] Intermediaries (was: CML) Thomson, Martin
- Re: [hybi] Intermediaries (was: CML) John Tamplin
- Re: [hybi] Intermediaries (was: CML) Thomson, Martin
- Re: [hybi] Intermediaries (was: CML) John Tamplin
- Re: [hybi] Intermediaries (was: CML) Brian
- Re: [hybi] CML (really the role of intermediaries) Patrick McManus
- Re: [hybi] CML Shelby Moore
- Re: [hybi] CML (really the role of intermediaries) Shelby Moore
- Re: [hybi] Intermediaries (was: CML) John Tamplin
- Re: [hybi] CML Shelby Moore
- Re: [hybi] CML (really the role of intermediaries) Patrick McManus
- Re: [hybi] CML (really the role of intermediaries) Shelby Moore
- Re: [hybi] CML (really the role of intermediaries) Shelby Moore
- Re: [hybi] CML John Tamplin
- Re: [hybi] CML (really the role of intermediaries) John Tamplin
- Re: [hybi] CML Shelby Moore
- Re: [hybi] CML (really the role of intermediaries) Shelby Moore
- Re: [hybi] CML (really the role of intermediaries) Eric Rescorla
- Re: [hybi] CML John Tamplin
- Re: [hybi] CML (really the role of intermediaries) John Tamplin
- Re: [hybi] CML (really the role of intermediaries) Patrick McManus
- Re: [hybi] CML (really the role of intermediaries) Shelby Moore
- Re: [hybi] CML (really the role of intermediaries) Roberto Peon
- Re: [hybi] CML (really the role of intermediaries) Eric Rescorla
- Re: [hybi] CML (really the role of intermediaries) Eric Rescorla
- Re: [hybi] CML (really the role of intermediaries) Roberto Peon
- Re: [hybi] CML Brian Smith
- Re: [hybi] CML Dave Cridland
- Re: [hybi] CML John Tamplin
- Re: [hybi] CML Shelby Moore
- Re: [hybi] CML Shelby Moore
- Re: [hybi] CML (really the role of intermediaries) Shelby Moore
- Re: [hybi] CML (really the role of intermediaries) Shelby Moore
- Re: [hybi] CML (really the role of intermediaries) Shelby Moore
- Re: [hybi] CML (really the role of intermediaries) Shelby Moore
- Re: [hybi] CML (really the role of intermediaries) Shelby Moore
- Re: [hybi] CML (really the role of intermediaries) Eric Rescorla
- Re: [hybi] CML (really the role of intermediaries) Roberto Peon
- Re: [hybi] CML (really the role of intermediaries) Eric Rescorla
- Re: [hybi] CML (really the role of intermediaries) Roberto Peon
- Re: [hybi] CML Shelby Moore
- Re: [hybi] CML gustav
- Re: [hybi] CML Dave Cridland
- Re: [hybi] CML Shelby Moore
- Re: [hybi] CML (really the role of intermediaries) Dave Cridland
- Re: [hybi] CML gustav
- Re: [hybi] CML Shelby Moore
- Re: [hybi] CML (really the role of intermediaries) Shelby Moore
- Re: [hybi] CML (really the role of intermediaries) Shelby Moore
- Re: [hybi] CML (really the role of intermediaries) Shelby Moore
- [hybi] convincing by hammering Daniel Stenberg
- Re: [hybi] CML (really the role of intermediaries) Eric Rescorla
- Re: [hybi] CML Shelby Moore
- Re: [hybi] CML Dave Cridland
- Re: [hybi] CML (really the role of intermediaries) Shelby Moore
- Re: [hybi] CML Dave Cridland
- Re: [hybi] CML Shelby Moore
- Re: [hybi] CML (really the role of intermediaries) Shelby Moore
- Re: [hybi] CML John Tamplin
- Re: [hybi] CML (really the role of intermediaries) Eric Rescorla
- Re: [hybi] CML Shelby Moore
- Re: [hybi] CML Dave Cridland
- Re: [hybi] convincing by hammering Shelby Moore
- Re: [hybi] CML Shelby Moore
- Re: [hybi] CML (really the role of intermediaries) Shelby Moore
- Re: [hybi] CML (really the role of intermediaries) Eric Rescorla
- Re: [hybi] CML John Tamplin
- Re: [hybi] CML Shelby Moore
- Re: [hybi] CML (really the role of intermediaries) Shelby Moore
- Re: [hybi] CML Shelby Moore
- Re: [hybi] CML (really the role of intermediaries) Shelby Moore
- Re: [hybi] CML (really the role of intermediaries) Shelby Moore
- [hybi] Layer models Dave Cridland
- Re: [hybi] CML Dave Cridland
- Re: [hybi] CML Shelby Moore
- Re: [hybi] Layer models Shelby Moore
- Re: [hybi] CML Shelby Moore
- Re: [hybi] CML Shelby Moore
- Re: [hybi] convincing by hammering Willy Tarreau
- Re: [hybi] convincing by hammering Anne van Kesteren
- Re: [hybi] convincing by hammering Shelby Moore
- Re: [hybi] convincing by hammering Shelby Moore
- Re: [hybi] convincing by hammering gustav
- Re: [hybi] convincing by hammering John Tamplin
- Re: [hybi] convincing by hammering Shelby Moore
- Re: [hybi] convincing by hammering Willy Tarreau
- Re: [hybi] convincing by hammering gustav
- Re: [hybi] convincing by hammering Julian Reschke
- Re: [hybi] convincing by hammering Willy Tarreau
- Re: [hybi] convincing by hammering Brian McKelvey
- Re: [hybi] convincing by hammering Shelby Moore
- Re: [hybi] convincing by hammering Shelby Moore
- Re: [hybi] convincing by hammering Shelby Moore
- Re: [hybi] convincing by hammering S Moonesamy
- Re: [hybi] convincing by hammering Shelby Moore
- Re: [hybi] convincing by hammering S Moonesamy
- Re: [hybi] convincing by hammering Shelby Moore
- Re: [hybi] CML Jamie Lokier
- Re: [hybi] CML Jamie Lokier
- Re: [hybi] CML Jamie Lokier
- Re: [hybi] CML Shelby Moore
- Re: [hybi] CML John Tamplin
- Re: [hybi] CML Shelby Moore
- Re: [hybi] CML Jamie Lokier
- Re: [hybi] CML Jamie Lokier
- Re: [hybi] CML Shelby Moore
- Re: [hybi] CML Shelby Moore
- Re: [hybi] CML Thomson, Martin
- Re: [hybi] CML John Tamplin