Re: [apps-discuss] Fwd: New Version Notification for draft-shelby-exi-registration-01.txt

Zach Shelby <zach@sensinode.com> Fri, 13 April 2012 06:27 UTC

Return-Path: <zach@sensinode.com>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DE92021F8587 for <apps-discuss@ietfa.amsl.com>; Thu, 12 Apr 2012 23:27:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level:
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iKjSgSLNjpEw for <apps-discuss@ietfa.amsl.com>; Thu, 12 Apr 2012 23:27:36 -0700 (PDT)
Received: from auth-smtp.nebula.fi (auth-smtp.nebula.fi [217.30.180.105]) by ietfa.amsl.com (Postfix) with ESMTP id 5A6EE21F857F for <apps-discuss@ietf.org>; Thu, 12 Apr 2012 23:27:36 -0700 (PDT)
Received: from [62.145.172.52] ([62.145.172.52]) (authenticated bits=0) by auth-smtp.nebula.fi (8.13.8/8.13.4) with ESMTP id q3D6RSMO004349; Fri, 13 Apr 2012 09:27:28 +0300
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset="us-ascii"
From: Zach Shelby <zach@sensinode.com>
In-Reply-To: <01OE8FADTZ7S00ZUIL@mauve.mrochek.com>
Date: Fri, 13 Apr 2012 09:27:28 +0300
Content-Transfer-Encoding: quoted-printable
Message-Id: <6203A26D-489B-44E5-9624-4CD0C1297C31@sensinode.com>
References: <20120329204732.13711.266.idtracker@ietfa.amsl.com> <5580A282-E191-4962-9410-6CF9FB14EDFC@sensinode.com> <20120402124522.GX16698@jay.w3.org> <8B84EAAD-CD22-4461-9BC6-AB78974A94A2@sensinode.com> <20120411075024.GN18899@jay.w3.org> <4F85410D.20802@toshiba.co.jp> <20120411085920.GP18899@jay.w3.org> <FBCADBF9-D6FB-4E0D-9668-F5B3EF744037@tzi.org> <f5bobqye1vj.fsf@calexico.inf.ed.ac.uk> <4F85A3A2.9000505@gmx.de> <01OE6QSJQ2EW00ZUIL@mauve.mrochek.com> <42487F00-DE42-49AA-9E4C-23412504C70A@tzi.org> <4F8723F1.8080201@att.com> <01OE8FADTZ7S00ZUIL@mauve.mrochek.com>
To: Ned Freed <ned.freed@mrochek.com>
X-Mailer: Apple Mail (2.1084)
Cc: "apps-discuss@ietf.org Discuss" <apps-discuss@ietf.org>
Subject: Re: [apps-discuss] Fwd: New Version Notification for draft-shelby-exi-registration-01.txt
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/apps-discuss>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Apr 2012 06:27:38 -0000

On Apr 12, 2012, at 11:57 PM, Ned Freed wrote:

>> So it seems like +exi *could* be used if the representation stuck to
>> only using the generic dictionary and eschewed any type-specific
>> out-of-band dictionaries.
> 
> Agreed. That would make the definition of +exi acceptable. Whether or not
> that's an acceptable restriction for users of EXI is, of course, another
> question entirely.

Using EXI in its normal mode is already fine as a content-encoding. The problem we need to solve here is exactly the Schema-informed mode where an indication of out-of-band dictionary information is needed, and where the use of content-encoding is not really appropriate (as we all seem to agree).

Now I am as much on the fence as Ned it here about this. Seems we are in a sticky situation where serializations that require OOB dictionary information fall between RESTful cracks. Examples of these that I know of include:

-  ASN.1 PER 
- EXI Schema-informed mode
- Google Protocol Buffers 
- Surely more... 

These tend to be applied in M2M and other applications where data efficiency is extremely important and using OOB dictionary information is what gives us that efficiency. 

Zach

-- 
Zach Shelby, Chief Nerd, Sensinode Ltd.
http://www.sensinode.com
http://zachshelby.org  - My blog "On the Internet of Things"
http://6lowpan.net - My book "6LoWPAN: The Wireless Embedded Internet"
Mobile: +358 40 7796297