[core] pubsub review

Peter van der Stok <stokcons@bbhmail.nl> Thu, 24 January 2019 18:14 UTC

Return-Path: <stokcons@bbhmail.nl>
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 CDA59131304 for <core@ietfa.amsl.com>; Thu, 24 Jan 2019 10:14:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=bbhmail.nl
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 Xi5wOO1LuXQI for <core@ietfa.amsl.com>; Thu, 24 Jan 2019 10:14:48 -0800 (PST)
Received: from smtprelay.hostedemail.com (smtprelay0180.hostedemail.com [216.40.44.180]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 04E601312EA for <core@ietf.org>; Thu, 24 Jan 2019 10:14:47 -0800 (PST)
Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay07.hostedemail.com (Postfix) with ESMTP id 7306A181D3971 for <core@ietf.org>; Thu, 24 Jan 2019 18:14:46 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bbhmail.nl; h= mime-version:content-type:date:from:to:subject:reply-to :message-id; s=key; bh=BL6ZA9YEi1m5QjpKKlqKa/tq5r4DPbWF0E8pcEafS mI=; b=tWDr8EE6dbwW/ie/AV6t9n80Jh5wigObIS8V/gA9CQeZ9FLF0AAhcdIA+ P3XCWmH0uT6qBQjI7sIQvBnaQyQZSjPI0RmKSRbsFOTI9FfI305MmgmsFWgrip0Y CVKA51cJcGRSQuWxsmXHLmdEC7KbLNH0i9Zs95XIfEIc+jnXYw=
X-Session-Marker: 73746F6B636F6E73406262686D61696C2E6E6C
X-Spam-Summary: 50, 0, 0, , d41d8cd98f00b204, stokcons@bbhmail.nl, :, RULES_HIT:41:72:152:355:379:582:800:962:967:968:973:982:983:988:989:1152:1189:1208:1221:1260:1263:1313:1314:1345:1381:1431:1436:1437:1516:1517:1518:1535:1542:1575:1588:1589:1592:1594:1711:1730:1776:1792:2525:2527:2553:2561:2564:2682:2685:2692:2829:2859:2894:2895:2933:2937:2939:2942:2945:2947:2951:2954:3022:3138:3139:3140:3141:3142:3354:3586:3622:3865:3866:3867:3868:3870:3871:3872:3873:3874:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4117:4250:4321:4659:5007:6119:6261:6298:6659:7903:7974:8583:8603:9015:9025:9177:9388:10004:10400:10848:11232:11658:11914:12043:12050:12295:12555:12679:12895:12986:13071:13139:13161:13190:13199:13206:13229:13439:13846:13972:14096:14180:14181:14721:14819:21060:21063:21080:21433:21451:21625:21691:21740:30003:30034:30048:30054:30070:30076:30090, 0, RBL:216.40.42.5:@bbhmail.nl:.lbl8.mailshell.net-62.8.55.100 66.201.201.201, CacheIP:none, Bayesian:0.5, 0.5, 0.5, Netcheck:none, DomainCache:0, MSF:not bu
X-HE-Tag: peace00_63d6444ecc72b
X-Filterd-Recvd-Size: 6195
Received: from mail.bbhmail.nl (imap-ext [216.40.42.5]) (Authenticated sender: webmail@stokcons@bbhmail.nl) by omf18.hostedemail.com (Postfix) with ESMTPA for <core@ietf.org>; Thu, 24 Jan 2019 18:14:46 +0000 (UTC)
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="=_c5ccb014e3757d36227ea75fce2e0edb"
Date: Thu, 24 Jan 2019 19:14:45 +0100
From: Peter van der Stok <stokcons@bbhmail.nl>
To: Core <core@ietf.org>
Organization: vanderstok consultancy
Reply-To: consultancy@vanderstok.org
Mail-Reply-To: consultancy@vanderstok.org
Message-ID: <0cc85dc403a5329a6af0f81bf63861c3@bbhmail.nl>
X-Sender: stokcons@bbhmail.nl
User-Agent: Roundcube Webmail/1.2.7
X-Originating-IP: [83.201.43.86]
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/X92xtF6uxMmH_2sAWVFxpTje22Q>
Subject: [core] pubsub review
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.29
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, 24 Jan 2019 18:14:51 -0000

Hi Michael,

The document is progressing nicely but still needs some work.

Below my main comments:

Brokerless pub/sub is very confusing, because there is a broker,
Simply saying in the introduction that the broker is a server that can
be installed on any device, and that the broker can be present on the
same device as a client is more than enough.

I don't understand why the first publication can create a subtopic
without creating the parent and the Create cannot.
Why is there a CREATE anyway? Would be nice if this is motivated.

What about the lifetime of the subscribers. It is non-existent but makes
the lifetime of the subscriber very different over all implementations.
A defaut lifetime would be appreciated.

A table covering the use of POST and PUT for PUBLISH and CREATE with a
short motivation would be welcome.

An update of the resource-discovery text is really needed. You can use
the terms like simple registration and refer to the section numbers.
context is non-existent these days.

Sleep-wake operation.
Nice that you address the sleepy nodes, bur it really deserves more
text. First the context of sleepy node , proxy and client needs
description. Some text is available in Zotti draft.
Followed by a mapping of pubsub functionlity to wanted sleepy-node
functionality.
Also the update of a sleepy node by a client warrants some text. If you
think that this is too much honor for the subject, I suggest to remove
section 6.

Security considerations:
You do not mention the resource exhaustion by creating too many topics.
May I suggest to look at draft-ietf-ace-key-groupcomm-00 and provide 
some concrete links to that draft, possibly with examples?

Some text:
s/receival/reception
3.2 Broker needs to be reachable to its clients (not all)
section 4.3 first paragraph seems to contradict second paragraph (MUST,
MAY)

hope this is relevant,
cheerio,

Peter
-- 
Peter van der Stok
vanderstok consultancy
mailto: consultancy@vanderstok.org, stokcons@bbhmail.nl
www: www.vanderstok.org [1]
tel NL: +31(0)492474673     F: +33(0)966015248 

Links:
------
[1] http://www.vanderstok.org