Re: [core] Designs to resolve streaming issues in SenML

Christian Amsüss <c.amsuess@energyharvesting.at> Mon, 18 January 2016 16:26 UTC

Return-Path: <c.amsuess@energyharvesting.at>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6AF301B3966 for <core@ietfa.amsl.com>; Mon, 18 Jan 2016 08:26:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.299
X-Spam-Level:
X-Spam-Status: No, score=0.299 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, MIME_8BIT_HEADER=0.3] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id j5D-XBUVYJiH for <core@ietfa.amsl.com>; Mon, 18 Jan 2016 08:26:25 -0800 (PST)
Received: from prometheus.amsuess.com (prometheus.amsuess.com [5.9.147.112]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9C1151B3960 for <core@ietf.org>; Mon, 18 Jan 2016 08:26:25 -0800 (PST)
Received: from poseidon-mailhub.amsuess.com (095129206250.cust.akis.net [95.129.206.250]) by prometheus.amsuess.com (Postfix) with ESMTPS id 1C6BB418AB; Mon, 18 Jan 2016 17:26:23 +0100 (CET)
Received: from poseidon-mailbox.amsuess.com (poseidon-mailbox.amsuess.com [10.13.13.231]) by poseidon-mailhub.amsuess.com (Postfix) with ESMTP id 4A1841D0; Mon, 18 Jan 2016 17:26:22 +0100 (CET)
Received: from hephaistos.amsuess.com (hephaistos.amsuess.com [10.13.13.129]) by poseidon-mailbox.amsuess.com (Postfix) with ESMTPSA id CC6832E; Mon, 18 Jan 2016 17:26:21 +0100 (CET)
Received: (nullmailer pid 15462 invoked by uid 1000); Mon, 18 Jan 2016 16:26:21 -0000
Date: Mon, 18 Jan 2016 17:26:21 +0100
From: Christian Amsüss <c.amsuess@energyharvesting.at>
To: Michael Koster <michaeljohnkoster@gmail.com>
Message-ID: <20160118162621.GB7789@hephaistos.amsuess.com>
References: <20160118110500.GA7789@hephaistos.amsuess.com> <7BEAC3D7-C2B8-42A2-9496-DDED5837ACF2@gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="wq9mPyueHGvFACwf"
Content-Disposition: inline
In-Reply-To: <7BEAC3D7-C2B8-42A2-9496-DDED5837ACF2@gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <http://mailarchive.ietf.org/arch/msg/core/JKHyHDdyzhh3-xCDLQQKhbDdtG0>
Cc: "Cullen Jennings (fluffy)" <fluffy@cisco.com>, core <core@ietf.org>
Subject: Re: [core] Designs to resolve streaming issues in SenML
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 18 Jan 2016 16:26:27 -0000

Just a quick reply before going through the whole mail:

On Mon, Jan 18, 2016 at 07:42:10AM -0800, Michael Koster wrote:
> >  For very small applications (eg. using uIP and few kB of RAM), it is
> >  desirable to use data formats that never require back-seeking, that
> >  limit back-seeks to a fixed length or that can do with a fixed-length
> >  buffer to hold information for that. The specification does not need
> >  to actively describe those operations, requiring some basic structure
> >  is sufficient.
>
> Limiting the size of each element in the array will limit the back-seeking needed
> thus the size of the buffer will need to be related to the maximum size of an array
> element. Having the outermost structure be an array enables that in the drafts
> post -01.

With all the "e"-less proposals, for the applications I'm describing, no
element size limits (neither in serialized bytes length nor in elements)
are required at all as there is no back-seeking.

Best regards
Christian

-- 
Christian Amsüss                      | Energy Harvesting Solutions GmbH
founder, system architect             | headquarter:
mailto:c.amsuess@energyharvesting.at  | Arbeitergasse 15, A-4400 Steyr
tel:+43-664-97-90-6-39                | http://www.energyharvesting.at/
                                      | ATU68476614