Re: [hybi] Frame size
Roberto Peon <fenix@google.com> Fri, 16 April 2010 07:53 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 E88E73A6B14 for <hybi@core3.amsl.com>; Fri, 16 Apr 2010 00:53:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -99.562
X-Spam-Level:
X-Spam-Status: No, score=-99.562 tagged_above=-999 required=5 tests=[BAYES_40=-0.185, 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 M575Dw-i5Qle for <hybi@core3.amsl.com>; Fri, 16 Apr 2010 00:53:59 -0700 (PDT)
Received: from smtp-out.google.com (smtp-out.google.com [74.125.121.35]) by core3.amsl.com (Postfix) with ESMTP id 43FB13A68F6 for <hybi@ietf.org>; Fri, 16 Apr 2010 00:53:58 -0700 (PDT)
Received: from hpaq7.eem.corp.google.com (hpaq7.eem.corp.google.com [10.3.21.7]) by smtp-out.google.com with ESMTP id o3G7rhoY014936 for <hybi@ietf.org>; Fri, 16 Apr 2010 09:53:44 +0200
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1271404424; bh=Uhzf117cujGvvQtJgXfCA6M/O5c=; h=MIME-Version:In-Reply-To:References:Date:Message-ID:Subject:From: To:Cc:Content-Type; b=E2gjsVJZtebX752j9cKrmimiy3QN0LrY/mGoey4Owk2CVADQ66cEF+n7S2DHEIxzM kFIGr9AK6sULe8r/T95hw==
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=QZzj3y+lggYJD3z80tKiQX7i4tWFmnpRmMi+l9XCUniWF+9KSRcy2+A07XWOYVtQN JO+dC+hcEO8FamyqjJSAw==
Received: from yxe9 (yxe9.prod.google.com [10.190.2.9]) by hpaq7.eem.corp.google.com with ESMTP id o3G7rffT010106 for <hybi@ietf.org>; Fri, 16 Apr 2010 09:53:42 +0200
Received: by yxe9 with SMTP id 9so1201575yxe.29 for <hybi@ietf.org>; Fri, 16 Apr 2010 00:53:41 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.150.184.18 with HTTP; Fri, 16 Apr 2010 00:53:41 -0700 (PDT)
In-Reply-To: <v2m5c902b9e1004160043i7b5ccc79y2346e1b2b2c55cf5@mail.gmail.com>
References: <8B0A9FCBB9832F43971E38010638454F03E3F313ED@SISPE7MB1.commscope.com> <v2m5c902b9e1004160043i7b5ccc79y2346e1b2b2c55cf5@mail.gmail.com>
Date: Fri, 16 Apr 2010 00:53:41 -0700
Received: by 10.150.183.15 with SMTP id g15mr1585043ybf.210.1271404421666; Fri, 16 Apr 2010 00:53:41 -0700 (PDT)
Message-ID: <s2qad99d8ce1004160053w436a29b1idae0c66737b3760a@mail.gmail.com>
From: Roberto Peon <fenix@google.com>
To: Justin Erenkrantz <justin@erenkrantz.com>
Content-Type: multipart/alternative; boundary="000e0cd6a820eb565e048455e894"
X-System-Of-Record: true
Cc: Hybi <hybi@ietf.org>, "Thomson, Martin" <Martin.Thomson@andrew.com>
Subject: Re: [hybi] Frame size
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: Fri, 16 Apr 2010 07:54:00 -0000
On Fri, Apr 16, 2010 at 12:43 AM, Justin Erenkrantz <justin@erenkrantz.com>wrote: > On Fri, Apr 16, 2010 at 12:22 AM, Thomson, Martin > <Martin.Thomson@andrew.com> wrote: > > Responding to specific concerns on framing seems not especially > productive. > > > > Proposal: > > > > - Frame size is indicated up front. > > - Frames are binary. > > - Frame size be strictly limited (2 octets should suffice). > yes, yes, maybe. If this happened, I'd think that this was a much better protocol :) I don't think you waste much by using 32 bits for framesize, but *shrug* One other thing which exists in SPDY that would make me happy if existed in this protocol: version ID (so that any proxy, etc, can ignore drop, etc frames) -=R > > To be clear, this would be 16-bits for the size or a max of 65,535 > bytes in a single frame, correct? > > (I'm assuming that you don't mean "2 octets" as being that's all you > can send in one frame. *grin*) > > > - Sub-protocol needed if messages are larger than the max frame. > > One other note from Ireland is that when httpd and tomcat devs talked > about small frame sizes, most people thought that frame sizes in this > range would be artificially limiting - a few folks talked about Comet > apps they've seen transferring large XML files. Silly perhaps, but > that's what the app writers did...trying to get them to change is > pointless. > > IMO, going to 32 bits or even 64 bits simply isn't that much of a > difference - and may actually be easier if it means removing a > sub-protocol or extension - the phrase "premature optimization" was > bandied about in keeping the frame size arbitrarily low. =) > > Anyway, if we flesh out a way up-front to do "jumbo" frames (via an > extension), I think that'd be fine, but I'd be leery of throwing too > much into extensions. > > Other than that caveat, I'm okay with what you propose. > > ...snip... > > IF used for UTF-8 AND implementer counts characters instead of octets > THEN framing doesn't work. (One solution to this problem is to start a > frame with a known sequence of octets, so that this can be detected. > Another "solution" is to not worry about it.) > > +1 to "not worry about it". -- justin > _______________________________________________ > hybi mailing list > hybi@ietf.org > https://www.ietf.org/mailman/listinfo/hybi >
- Re: [hybi] Frame size Justin Erenkrantz
- [hybi] Frame size Thomson, Martin
- Re: [hybi] Frame size Roberto Peon
- Re: [hybi] Frame size Scott Ferguson
- Re: [hybi] Frame size Greg Wilkins
- Re: [hybi] Frame size Scott Ferguson
- Re: [hybi] Frame size Roberto Peon
- Re: [hybi] Frame size Ian Hickson
- Re: [hybi] Frame size Scott Ferguson
- Re: [hybi] Frame size Thomson, Martin
- Re: [hybi] Frame size Greg Wilkins
- Re: [hybi] Frame size Justin Erenkrantz
- Re: [hybi] Frame size Greg Wilkins
- Re: [hybi] Frame size Scott Ferguson
- Re: [hybi] Frame size Greg Wilkins
- Re: [hybi] Frame size Thomson, Martin
- Re: [hybi] Frame size Jamie Lokier
- Re: [hybi] Frame size Mike Belshe
- Re: [hybi] Frame size Mike Belshe
- Re: [hybi] Frame size Ian Hickson
- Re: [hybi] Frame size Ian Hickson
- Re: [hybi] Frame size Thomson, Martin
- Re: [hybi] Frame size Mike Belshe
- Re: [hybi] Frame size Ian Hickson
- Re: [hybi] Frame size Jamie Lokier
- Re: [hybi] Frame size Thomson, Martin
- Re: [hybi] Frame size Jamie Lokier
- Re: [hybi] Frame size Mike Belshe
- Re: [hybi] Frame size Jamie Lokier
- Re: [hybi] Frame size Jamie Lokier
- Re: [hybi] Frame size Thomson, Martin
- Re: [hybi] Frame size Jamie Lokier
- Re: [hybi] Frame size Ian Hickson
- Re: [hybi] Frame size Mike Belshe
- Re: [hybi] Frame size Anne van Kesteren
- Re: [hybi] Frame size Thomson, Martin
- Re: [hybi] handshake security (was: Frame size) Thomson, Martin
- Re: [hybi] Frame size Ian Hickson
- Re: [hybi] Frame size Scott Ferguson
- Re: [hybi] handshake security (was: Frame size) Ian Hickson
- Re: [hybi] Frame size Mike Belshe
- Re: [hybi] handshake security (was: Frame size) Thomson, Martin
- Re: [hybi] Frame size Scott Ferguson
- Re: [hybi] Frame size Mike Belshe
- Re: [hybi] handshake security (was: Frame size) Ian Hickson
- Re: [hybi] Frame size Greg Wilkins
- Re: [hybi] Frame size Jamie Lokier
- Re: [hybi] Frame size Jamie Lokier
- Re: [hybi] Frame size Jamie Lokier
- Re: [hybi] Frame size Jamie Lokier
- Re: [hybi] Frame size Mike Belshe
- Re: [hybi] Frame size Mike Belshe
- Re: [hybi] Frame size Scott Ferguson
- Re: [hybi] Frame size Mike Belshe
- Re: [hybi] Frame size Jamie Lokier
- Re: [hybi] handshake security (was: Frame size) Jamie Lokier
- Re: [hybi] Frame size Lars Eggert
- Re: [hybi] Frame size Jamie Lokier