Re: [hybi] Frame size

Scott Ferguson <ferg@caucho.com> Sat, 17 April 2010 17:45 UTC

Return-Path: <ferg@caucho.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 E87FD3A6829 for <hybi@core3.amsl.com>; Sat, 17 Apr 2010 10:45:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.369
X-Spam-Level:
X-Spam-Status: No, score=-0.369 tagged_above=-999 required=5 tests=[AWL=0.370, BAYES_20=-0.74]
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 UWIBr2mfRQVg for <hybi@core3.amsl.com>; Sat, 17 Apr 2010 10:45:19 -0700 (PDT)
Received: from smtp111.biz.mail.re2.yahoo.com (smtp111.biz.mail.re2.yahoo.com [66.196.116.96]) by core3.amsl.com (Postfix) with SMTP id F3D453A67FA for <hybi@ietf.org>; Sat, 17 Apr 2010 10:45:18 -0700 (PDT)
Received: (qmail 80925 invoked from network); 17 Apr 2010 17:45:09 -0000
Received: from [192.168.1.10] (ferg@66.92.8.203 with plain) by smtp111.biz.mail.re2.yahoo.com with SMTP; 17 Apr 2010 10:45:08 -0700 PDT
X-Yahoo-SMTP: L1_TBRiswBB5.MuzAo8Yf89wczFo0A2C
X-YMail-OSG: KWkHzWoVM1lXdZ6uM.aEfCOa2SpJxJ0IVocDFnV4GJm0VJPZ8mmcRglEw98WM8uFpKKhlm0JaoTilFukO4birqlSPC254TN1eHBOBYa5pmbYmBqfXAmQdOhLSb684ZxSuFsyWsdrFABKj4KB7oxI7Pl08RL6pKk8Tltgcl2O2VKR0nlkLrKD6qf1u20RsQ23n5n4H_BE4GvH1xO.dew10R6D73C_jaug5Wn2CQvKiKJu7xQxoxE3BuVsexW2pHjqUvzvmQCeQBkrMBqUnuTF26EuAezDX6kVz2sqHIDIR67tvbRC8WyoalvwmMxqXDMhKJASkNYnoH5CiIP.Tp2BFbsBodN4m2MHA7UQD2j3oH7VyAjJ8RLICMG5HEwfnAW6Nca0GJtUSLVBHlG8EwdYg5IJz.lPx7eJ2I.WTCrtxoj4u1sWS18pOPohkLNPVVJjpbbHpYlqIQ--
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4BC9F39F.5070601@caucho.com>
Date: Sat, 17 Apr 2010 10:45:03 -0700
From: Scott Ferguson <ferg@caucho.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Greg Wilkins <gregw@webtide.com>
References: <8B0A9FCBB9832F43971E38010638454F03E3F313ED@SISPE7MB1.commscope.com> <v2m5c902b9e1004160043i7b5ccc79y2346e1b2b2c55cf5@mail.gmail.com> <s2qad99d8ce1004160053w436a29b1idae0c66737b3760a@mail.gmail.com> <4BC85A31.6060605@webtide.com>
In-Reply-To: <4BC85A31.6060605@webtide.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: Hybi <hybi@ietf.org>
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: Sat, 17 Apr 2010 17:45:20 -0000

Greg Wilkins wrote:
> In fact, I would argue for a 16k max frame size with 2
> bits given over to help with partitioning and aggregation,
> but with no requirement that an endpoint can handle
> aggregation and partitioning (unless they indicate they
> can in the handshake).
>   
16k is fine, but why are two bits needed instead of one? One bit is 
needed for final vs non-final frame in a message, but I don't see how 
the second bit would be used. (Although, hmm, are you thinking in a 
multiplexing context where the second bit could mean "use the same 
channel"? Or messaging "use the same sender/recipient"? That would be a 
useful capability.)

I'd think basic chunking would be a requirement like HTTP/1.1, not a 
negotiated capability, to support messages over 16k and also to the 
reduce the round trip latency as discussed in the other thread.

For example, a high performance client might pipeline the first request 
frame(s) with the HTTP header since, in reality, it expects the server 
to understand the requested protocol, but it would need some 
fundamental, non-negotiated capabilities like fragmenting for the 
pipelining to work.

-- Scott
> cheers
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> hybi mailing list
> hybi@ietf.org
> https://www.ietf.org/mailman/listinfo/hybi
>
>
>
>