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

Hannes Tschofenig <hannes.tschofenig@gmx.net> Thu, 11 August 2016 16:14 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 73DC312D5CA; Thu, 11 Aug 2016 09:14:50 -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 2WNWqj4t2CJj; Thu, 11 Aug 2016 09:14:48 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (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 22A74126D74; Thu, 11 Aug 2016 09:14:47 -0700 (PDT)
Received: from [192.168.10.131] ([195.149.223.166]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0MfVYB-1bsbL7235f-00P6WV; Thu, 11 Aug 2016 18:14:34 +0200
To: Jim Schaad <ietf@augustcellars.com>, draft-koster-core-coap-pubsub@ietf.org, core@ietf.org
References: <04fe01d1ee01$35bf9120$a13eb360$@augustcellars.com> <0b8fc8d2-59b1-31a5-b201-cbdb81489497@gmx.net> <00c001d1f3e4$21b973b0$652c5b10$@augustcellars.com>
From: Hannes Tschofenig <hannes.tschofenig@gmx.net>
Openpgp: id=071A97A9ECBADCA8E31E678554D9CEEF4D776BC9
Message-ID: <289ba921-e331-de8f-45ca-fa8dc6d61fd8@gmx.net>
Date: Thu, 11 Aug 2016 18:14:32 +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: <00c001d1f3e4$21b973b0$652c5b10$@augustcellars.com>
Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="rnTJR6ko2obvsLOHsWe76wWPN0Ll7PTn7"
X-Provags-ID: V03:K0:FpN3uJaWnZVBCPilBR0pWfLTNAyuKp6ho1LizGIP+vk4cYIWSFS h0VdQcKeRKLLSijb21YBEuSWRHHj+Ak1s3meqPXYVEEQIx3QdMNtO/Wnxyv31VJDAtdwz71 y/Yj+mqROnmlQEnNasA6HWOdeznsThedBZ/eVK+ZPCUJ6zFUFsIK27LsK2tNSa5lLUUjDVM 2ebDThwom4H/j0DCJghpA==
X-UI-Out-Filterresults: notjunk:1;V01:K0:MTfFE/FlLW8=:WXQM0kc0rim/ap74ZxYX9e 0z/vpNM4zOa4V9EqhLQG3f55tmnpsdC4ON5nf8foPdCnAj7lJ4Skf7B05CcFrRsBKQsdtGkFf Hwc3h7Db3Mv+1KivWf7BsGTd+AQseweUrWw7p1H7p0LrmcbDFYFCamsech5NX/SIW6XyNEd06 s3ZL5eiMr4UanCDp6e3A8sPn2pzqUJyOlwfkcUJRFk5NCA+E/Q5r6RHTbLduUm9bcvY//RrUU 8rOTcE4eRm7a1AjvFV3iScc6juK1sDb2JVczkR27v4WbPnDec31+I52jRDVdmPpfM35myvd0i DqwcDMzr4NWKNsbXPZ7h+/qQujy1t9TLPwVA4oX5TLqAROqqLkE18qXgwGbDZvXxPXRkXV7gB 3tom9blAJfRnUnG5n0XajmG8IBkNoe444ADfRzkeSRm16uXpy55YzGjvVbz3AJQa2PHjCYqrL 1A6g1vseYO6wn/rMa1FUyprCvWjIb13ThbAqvTu4kPY5XJN3pOV9UjyIm2XIQ1mGb3ieJF2l3 a9GywXCYQf3e6JkCRjn2CNWotiazJscA91Y9kwEjwwSwZxTyl6Z/bwmv8Yb4OboASt3yhNTdR uZcGTzGaVtDZZSqss5Hhn8vJZaMdWgsT3uD9jZHk/Q0YQL89H/SFbAGYVx9WDtgFHmbSAc2qn gtz/CUCzZ3bDKebVtR4B5iQpKzbdPi835FFABrXJsvC44I4bwsQMVdy3CZwgC/INyUS+Ng8ti qe4opWwvwsgSanuFlYkYVQuh75SoQiSRZMnIJaJ5Z5Oloc0WxNyrcsVaLYw=
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/IOqH0ubwte_mLmEhfp2q0tAltIE>
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 16:14:50 -0000

Hi Jim,

I agree that there is more text needed on the support of so-called
sleepy nodes.

I may have over-interpreted your remarks about the topic.

Ciao
Hannes


On 08/11/2016 05:22 PM, Jim Schaad wrote:
> 
> 
>> -----Original Message-----
>> From: Hannes Tschofenig [mailto:hannes.tschofenig@gmx.net]
>> Sent: Thursday, August 11, 2016 1:16 AM
>> To: Jim Schaad <ietf@augustcellars.com>; draft-koster-core-coap-
>> pubsub@ietf.org; core@ietf.org
>> Subject: Re: [core] Review of draft-koster-core-coap-pubsub-05
>>
>> 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.
> 
> I agree that having a 'queue mode' would be a nice feature, but I do not
> believe that this is documented anyplace in this document.  Doing so would
> require some additional text.  The current text says that messages are
> always forwarded when they are received to a client.  If the client happens
> to be asleep then it needs to go back and ask for the current value when it
> wakes up.  
> 
>>
>> 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.
> 
> I do not follow how this came from my review.  Is this an independent item
> or is it following from something that I asked in my review?
> 
> Jim
> 
>>
>>
>> Ciao
>> Hannes
> 
>