Re: [core] Review of draft-koster-core-coap-pubsub-05

Hannes Tschofenig <hannes.tschofenig@gmx.net> Thu, 11 August 2016 08:16 UTC

Return-Path: <hannes.tschofenig@gmx.net>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F0FA612D6AE; Thu, 11 Aug 2016 01:16:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.848
X-Spam-Level:
X-Spam-Status: No, score=-3.848 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, RP_MATCHES_RCVD=-1.247, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 mPXnlrmnJ8Hn; Thu, 11 Aug 2016 01:16:19 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E58B012D61B; Thu, 11 Aug 2016 01:16:18 -0700 (PDT)
Received: from [192.168.10.131] ([195.149.223.166]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0MMShK-1bZOn53ppG-008FxM; Thu, 11 Aug 2016 10:16:06 +0200
To: Jim Schaad <ietf@augustcellars.com>, draft-koster-core-coap-pubsub@ietf.org, core@ietf.org
References: <04fe01d1ee01$35bf9120$a13eb360$@augustcellars.com>
From: Hannes Tschofenig <hannes.tschofenig@gmx.net>
Openpgp: id=071A97A9ECBADCA8E31E678554D9CEEF4D776BC9
X-Enigmail-Draft-Status: N1110
Message-ID: <0b8fc8d2-59b1-31a5-b201-cbdb81489497@gmx.net>
Date: Thu, 11 Aug 2016 10:16:03 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <04fe01d1ee01$35bf9120$a13eb360$@augustcellars.com>
Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="rWXDIN94pjmD7bWRI9TQD6LkjXGvUUnhH"
X-Provags-ID: V03:K0:4J3Vhz40fRmlsoEn3EFP2lxWz1wIeV0M1/rOjSb/fnp2Z/zDodx IisjxlVfNIZIVwbTV3o2spmTLuAQt4D331hwPTbAJvdUg2WklCqW9rS3gE+T4J8pzkMuR0B WIg8yrxnNGGKfDeUg+X2cHVfeHjGPtoV/GHyHh/ht4W5aOpYWgwGVvKmKtpe3uyPM6awyZP B7SICd1ogvruCMj7+a5OA==
X-UI-Out-Filterresults: notjunk:1;V01:K0:lG3XXMzp78I=:eN73Pui4yS/g2qq0QbV75v CffSJft4f8y3pKfKjR/ONvpG+yejSob+HpIKMfaRgCpOth1cEZkDIeCifpaUpl55mvh+Eyb0e /qGfTphwbVAYZ6W7APl/u/LaQ3KbV4FaG3BUoPQeb0uShjwAdAFDQquzGi2XoS2vYzIiygtGV vGfLnq9Jp9HUuKBKousr2GaYKrKIB9WIdb+VZImSb4Bk007qt5x1QF8gPDnlVSabFm3vjxqQg NFwGnXYLu+eb3Tl6sk0FHB0D9hPs4P2hJ2shWH5E+GWkzOiBTN4tYs661vxNfUq1JHeikcutx DcVRepo0nt/hXRKAJPEgR1YiKn59ockjdL43vTBEcy+rC5EyBUXtEgK5kOM7bmXBoaA4f3q8K Y+Ivz5f7UV0HSIC1NyftwmKafg259xE9Jd7QkFR6g1EiPY7+Pk1FthYuUsHF9uSuQ/pCRnpaM 0/47Vz02WrSAqtYKcJs7QQKcLj/EtY8D/f2jLUZX1o+KmxkdGf6EEoPx9V7cm8nzW5LdWf3Gf bsSc7evOn4A1ouPpsMMKi7M44pm9e8y5wl8MbGsU6z+oNIbjglruJNd7O3bl278U6pjhRIZfF RsnPv4gzvNjwri74XTkwOndTect2XnmubA/XAOEDGT+SGvCi8dmgmot95F2cNJptxXLfUD3D/ NR6XNLdj3W/+erMuGuz/yD7+IhfjUNp7Tz94E7HggyxVhTyk+7otmu+IqAELrXVxI0ewlah5r /mnGQm6ZbeNrBW0+hm+ZUDy0OT7MPK3fqeOUVu01eutAyipcvNEOfiaPPR8=
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/GnYkL8Hey-_nbf_COMClIHLbkWo>
Subject: Re: [core] Review of draft-koster-core-coap-pubsub-05
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.17
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: Thu, 11 Aug 2016 08:16:21 -0000

Hi Jim,

let me share my views on this document.

On 08/04/2016 05:35 AM, Jim Schaad wrote:
> I have a hard time saying that this is ready to be published, but that is in
> part because I think that the security aspects that are not being addressed
> in the document are important.
> 
> 
> Section 3.2 - The phrase "and potentially buffer messages" is causing me
> problems.  By definition it must buffer the last data value that it
> includes.  It would be good at this point to explain exactly why it is
> buffering messages here.  I assume that you are talking about the flow
> control issues that are discussed later but I don't know this.

The reason why the pub/sub broker buffers messages is because the IoT
device is sleeping most of the time. For that reason, it cannot always
forward requests from applications immediately.

This is functionality called 'queue mode' in LWM2M and other terms have
been used in other IETF documents.

In my review I have been wondering why we aren't re-using the concepts
from LWM2M here.

Regarding the "topics": I have read this a bit differently. For me, a
node has resources and it publishes those. Then, there are applications
(Web applications, smart phone apps) who sent requests for those
resources. These resources have to be identified somehow and in LWM2M
there is a specific way of addressing the standardized resources (and
objects), as described in
https://www.iab.org/wp-content/IAB-uploads/2016/03/ipso-paper.pdf. Maybe
you want to be more generic here but I think it is important that there
is a standardized structure here and that we are not only talking in the
style of MQTT topics.


Ciao
Hannes