Re: [hybi] Framing Take VI (a compromise proposal)

John Tamplin <jat@google.com> Wed, 18 August 2010 00:11 UTC

Return-Path: <jat@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 E61133A6827 for <hybi@core3.amsl.com>; Tue, 17 Aug 2010 17:11:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.794
X-Spam-Level:
X-Spam-Status: No, score=-105.794 tagged_above=-999 required=5 tests=[AWL=0.182, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4, 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 5S8Ji1-TFAsd for <hybi@core3.amsl.com>; Tue, 17 Aug 2010 17:11:28 -0700 (PDT)
Received: from smtp-out.google.com (smtp-out.google.com [216.239.44.51]) by core3.amsl.com (Postfix) with ESMTP id 04C7E3A6817 for <hybi@ietf.org>; Tue, 17 Aug 2010 17:11:27 -0700 (PDT)
Received: from hpaq6.eem.corp.google.com (hpaq6.eem.corp.google.com [172.25.149.6]) by smtp-out.google.com with ESMTP id o7I0C2Sb003520 for <hybi@ietf.org>; Tue, 17 Aug 2010 17:12:02 -0700
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1282090323; bh=OIIgDDsd/S8k6quNdXjtOZ6LKxc=; h=MIME-Version:In-Reply-To:References:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=Z4L7JOhqZVgKvzqkg+idu3fZEpI5a5qF9HVrzvgYRomDuOgW1M+Hcud4OoHh1/Fla +m+QcXh6X7Ul3FXtuxM5Q==
DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=mime-version:in-reply-to:references:from:date:message-id: subject:to:cc:content-type:x-system-of-record; b=cvd2itH1c0A/eETdWSiiGrUa/pgL65gGA9NVk+ygazr8q120kRBO60QvrK3sNe/qn ap7epB+BZ7JVtv8bp6JFw==
Received: from gwj18 (gwj18.prod.google.com [10.200.10.18]) by hpaq6.eem.corp.google.com with ESMTP id o7I0C0HP032237 for <hybi@ietf.org>; Tue, 17 Aug 2010 17:12:01 -0700
Received: by gwj18 with SMTP id 18so3309949gwj.16 for <hybi@ietf.org>; Tue, 17 Aug 2010 17:12:00 -0700 (PDT)
Received: by 10.151.82.14 with SMTP id j14mr2832872ybl.307.1282090320589; Tue, 17 Aug 2010 17:12:00 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.151.60.3 with HTTP; Tue, 17 Aug 2010 17:05:26 -0700 (PDT)
In-Reply-To: <8B0A9FCBB9832F43971E38010638454F03ED35AB54@SISPE7MB1.commscope.com>
References: <AANLkTi=TBXO_Cbb+P+e2BVfx69shkf8E1-9ywDh_Y+Kz@mail.gmail.com> <AANLkTimJOGWgV6rx5JJYSJMC26OzQzskzVtkYz0L_EAg@mail.gmail.com> <op.vhe7qtmu64w2qv@anne-van-kesterens-macbook-pro.local> <8B0A9FCBB9832F43971E38010638454F03ED35AB3F@SISPE7MB1.commscope.com> <AANLkTimQoy1Z_oTWc4Z3cYnQz0MOb6q_u1mtz0PxMXz0@mail.gmail.com> <AANLkTimAo9bD3dwVhmDn9FuypdS5j4zG4yrHs3x2NxpP@mail.gmail.com> <8B0A9FCBB9832F43971E38010638454F03ED35AB54@SISPE7MB1.commscope.com>
From: John Tamplin <jat@google.com>
Date: Tue, 17 Aug 2010 20:05:26 -0400
Message-ID: <AANLkTin3oti7f4F8kP0t4iWciCmTTkT2OrC31_MV_244@mail.gmail.com>
To: "Thomson, Martin" <Martin.Thomson@andrew.com>
Content-Type: multipart/alternative; boundary="000e0cd4d37620f414048e0dea84"
X-System-Of-Record: true
Cc: "hybi@ietf.org" <hybi@ietf.org>
Subject: Re: [hybi] Framing Take VI (a compromise proposal)
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: Wed, 18 Aug 2010 00:11:30 -0000

On Tue, Aug 17, 2010 at 7:50 PM, Thomson, Martin
<Martin.Thomson@andrew.com>wrote:

>  That wasn’t the suggestion at all.  Binary/text was included.  The
> proposal was length + opcode.  Two opcodes only…for now.
>
>
>
> The other stuff (fragmentation, channels, etc) are well enough understood
> now to say that they can be built in later. Hence, we reserve the bits and
> plan to build them later (or not at all).
>

I think we do know that we have a use-case for fragmentation, as it has been
accepted as a requirement for this protocol.  As previously mentioned, the
inclusion of a total message length was required to remove objections to
fragmentation.  So, other than having two options for the frame length to
preserve efficient encoding of small messages, I think the current proposal
is about as minimal as it can get.

I think if we leave out fragmentation and planned extensibility from the
base protocol, we haven't really accomplished anything and we will either
wind up having to make incompatible changes later or having suboptimal
framing once we do define some extensions.

Let's say we did strip out fragmentation, and even defined the INI/FIN bits
as proposed, but required that they be 1 in the initial version.  Then, any
intermediaries and receivers that are written now will break when
fragmentation is added later, and experience shows that those intermediaries
will be very slowly upgraded.  I think that would add years to when
fragmentation could usefully be used, so I think it is entirely appropriate
that fragmentation support be in the base protocol.

-- 
John A. Tamplin
Software Engineer (GWT), Google