Re: [hybi] max frame size, was: frame length encoding

gustav <gustav.trede@gmail.com> Sun, 22 August 2010 17:45 UTC

Return-Path: <gustav.trede@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 A43FE3A6867 for <hybi@core3.amsl.com>; Sun, 22 Aug 2010 10:45:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level:
X-Spam-Status: No, score=-2.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001]
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 T7xNxw3IeGVH for <hybi@core3.amsl.com>; Sun, 22 Aug 2010 10:45:39 -0700 (PDT)
Received: from mail-ww0-f44.google.com (mail-ww0-f44.google.com [74.125.82.44]) by core3.amsl.com (Postfix) with ESMTP id 15EB13A67E6 for <hybi@ietf.org>; Sun, 22 Aug 2010 10:45:38 -0700 (PDT)
Received: by wwd20 with SMTP id 20so71607wwd.13 for <hybi@ietf.org>; Sun, 22 Aug 2010 10:46:12 -0700 (PDT)
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:cc:content-type; bh=tpgcSX5Fd6zjqXggijkXTaPy0FKYrL0d+7pN/z0tnWs=; b=kbWdSvWl5hyJuN8MFMnJ78IJXq+O49Y2MY/ah5PX8jLNdywLhV0wpA9p1ulT9fW0x4 ms48dUfzInPPqbWZAU4QbT0PBdH/5tLURk5VHdnzKtBa7d4SrdHw+4X6HTOxSCzYefZN tfiP0jxZhxKmVB4N24okGdCbmKkintb6uK3mI=
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 :cc:content-type; b=prv61g+JLx12bey8gxsLnF7FwSut6U1+yPraVUYfMVTBuxp3+7VXAcbhrcWDI7bVfx yd+y2FwLSPY/DKELcwN8h1X6FyLAG+xoZ/upa/hnpqC0nqz6C/OoKGlmrIFTi1uRF8VP FpZ9JIy16+ZSdAn+jI7FXUG4ShVvHSc7lXDvw=
MIME-Version: 1.0
Received: by 10.216.182.202 with SMTP id o52mr3549014wem.29.1282499172014; Sun, 22 Aug 2010 10:46:12 -0700 (PDT)
Received: by 10.216.172.139 with HTTP; Sun, 22 Aug 2010 10:46:11 -0700 (PDT)
In-Reply-To: <4C71555D.9010600@gmx.de>
References: <AANLkTimKbmcpgx8k0uXUWvCO=8w9pPrtV=3y4qh6363k@mail.gmail.com> <alpine.DEB.2.00.1008212037190.27211@tvnag.unkk.fr> <AANLkTinrsT+wV48nHvVW_1ChGYffkq7jisU2-PZnMyKg@mail.gmail.com> <alpine.DEB.2.00.1008212123460.27211@tvnag.unkk.fr> <20ef7ed5e135c57c1ee5a741658b9d98.squirrel@sm.webmail.pair.com> <1282423311.2014.6.camel@tng> <224b9ed365bd78fd5e316b8cb5f3f837.squirrel@sm.webmail.pair.com> <1282435214.2014.14.camel@tng> <AANLkTimo0MwZEMn1t1vrASfwC1bx82Q9Z_Ls3wVb-zUS@mail.gmail.com> <AANLkTimQxo0d9TW+ApKLfWrSwutMYL4MJBVRWtxP1sC5@mail.gmail.com> <4C71555D.9010600@gmx.de>
Date: Sun, 22 Aug 2010 19:46:11 +0200
Message-ID: <AANLkTikmCA6UA19v9psFRQ8B3_URVca-m_irwqjzDk0E@mail.gmail.com>
From: gustav <gustav.trede@gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Content-Type: multipart/alternative; boundary="0016e65b6344929c8b048e6d1b4e"
Cc: Hybi <hybi@ietf.org>
Subject: Re: [hybi] max frame size, was: frame length encoding
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: Sun, 22 Aug 2010 17:45:40 -0000

On 22 August 2010 18:50, Julian Reschke <julian.reschke@gmx.de> wrote:

> On 22.08.2010 18:39, John Tamplin wrote:
>
>> ...
>> Just because the JS API today passes the messages totally in RAM, there
>> is no reason that it can be extended to support a stream-like API if
>> processing larger messages becomes justified.  However, at the framing
>> level, we have to have something in place such that v1.0 implementations
>> written against this spec can interoperate with later extensions, so it
>> seems prudent to make sure the protocol is sufficient for any reasonably
>> forseeable needs.  There were several strong arguments that 32-bits
>> isn't enough, and the next logical step up is 63/64-bits.
>>
>> Personally, I would be perfectly happy with a 32-bit maximum frame
>> length, and let senders fragment larger messages.  However, there were
>> significant objections (see the discussions link from
>> http://www.ietf.org/mail-archive/web/hybi/current/msg03399.html for
>> details) about being required to fragment a message when its size was
>> known, and the fact that it made "fire and forget" of sending the
>> message contents with a single sendfile() call impossible (when larger
>> than 4G).  Thus, it seemed likely the only way to gain consensus was to
>> support a maximum frame length much larger than 32 bits.
>> ...
>>
>
> Well, we need only rough consensus.
>
> 32 bits has the advantage that it's big enough for almost all use case we
> can currently think of.
>
> 32 bits has the drawback that people who cross the 2/4GB barrier might
> encounter interop problems because of insufficient testing.
>
> One way to address this problem are BIG WARNINGs in the spec, and a test
> suite.
>
>
"Rough consensus" as you and one more person runs the rest over or exactly
how do you mean ?.

"Interop problems". so your trying to quantifify programmers assumed
incompetence in this very specific detail and use it as an  argument ? =)
Even if your right - so what ? , that's how it always is with new stuff, and
how people tend to be,  should that be a valid argument to stop innovation
?. it can be used against everything !

I was against 63/64 bit frames too, but now when i heard peoples arguments,
i agree that its good to have,
especially since we can still get optimal bandwidth encoded  short frames,
option2 and some later proposal offers that.


regards
  gustav trede