Re: [T2TRG] CoRAL Dictionaries and the side meeting yesterday

Klaus Hartke <hartke@projectcool.de> Sat, 23 November 2019 05:21 UTC

Return-Path: <hartke@projectcool.de>
X-Original-To: t2trg@ietfa.amsl.com
Delivered-To: t2trg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8B36F12006E for <t2trg@ietfa.amsl.com>; Fri, 22 Nov 2019 21:21:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, 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 teXNTouM9kt4 for <t2trg@ietfa.amsl.com>; Fri, 22 Nov 2019 21:21:56 -0800 (PST)
Received: from wp382.webpack.hosteurope.de (wp382.webpack.hosteurope.de [IPv6:2a01:488:42:1000:50ed:8597::]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 39FA012003F for <T2TRG@irtf.org>; Fri, 22 Nov 2019 21:21:55 -0800 (PST)
Received: from mail-qt1-f172.google.com ([209.85.160.172]); authenticated by wp382.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1iYNrk-0004CL-Mr; Sat, 23 Nov 2019 06:21:52 +0100
Received: by mail-qt1-f172.google.com with SMTP id q8so7823769qtr.10 for <T2TRG@irtf.org>; Fri, 22 Nov 2019 21:21:52 -0800 (PST)
X-Gm-Message-State: APjAAAUlIXuX9Ps/R3exwsiFN/Qm+jOpIl1RBFZREGAcUKBHQhFSBFYp +k6WCKw3c4d3bpk8cTPgCi+n9fEMFJrHCzC+ykA=
X-Google-Smtp-Source: APXvYqw9dM3qnVd5z2A96M3tmoJToWwwyzJHKQ0+s+RSQ1ULLUAVvJFB0e2rR4aUzowwJ9XIu6qs3qonjSuNqZ+9f5I=
X-Received: by 2002:ac8:5053:: with SMTP id h19mr18697896qtm.38.1574486511645; Fri, 22 Nov 2019 21:21:51 -0800 (PST)
MIME-Version: 1.0
References: <01c301d59f42$deb32d00$9c198700$@augustcellars.com>
In-Reply-To: <01c301d59f42$deb32d00$9c198700$@augustcellars.com>
From: Klaus Hartke <hartke@projectcool.de>
Date: Sat, 23 Nov 2019 13:21:41 +0800
X-Gmail-Original-Message-ID: <CAAzbHvYXJwhRo9Bhq_r5nq0=-sa8D_Gnj6MpDfcPiGs-HS_ctg@mail.gmail.com>
Message-ID: <CAAzbHvYXJwhRo9Bhq_r5nq0=-sa8D_Gnj6MpDfcPiGs-HS_ctg@mail.gmail.com>
To: Jim Schaad <ietf@augustcellars.com>
Cc: Klaus Hartke <klaus.hartke@ericsson.com>, T2TRG@irtf.org
Content-Type: multipart/alternative; boundary="0000000000003af8e70597fcb5ea"
X-bounce-key: webpack.hosteurope.de; hartke@projectcool.de; 1574486516; ab24cf1c;
X-HE-SMSGID: 1iYNrk-0004CL-Mr
Archived-At: <https://mailarchive.ietf.org/arch/msg/t2trg/jI75VYBrfeusXw-WEI_hNY7ajiY>
Subject: Re: [T2TRG] CoRAL Dictionaries and the side meeting yesterday
X-BeenThere: t2trg@irtf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IRTF Thing-to-Thing Research Group <t2trg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/t2trg>, <mailto:t2trg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/t2trg/>
List-Post: <mailto:t2trg@irtf.org>
List-Help: <mailto:t2trg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/t2trg>, <mailto:t2trg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sat, 23 Nov 2019 05:21:58 -0000

Hi Jim!

Jim Schaad wrote:

> I am still having some problems with the way that you described how
> dictionaries would work for CoRE apps with a single dictionary being used.
>

That may be because the current idea is not described well enough yet and
because there is a problem with it. Let me try to explain. I’m very open to
suggestions.

My understanding of what you said is that:
> 1.  We would define a CoRE apps dictionary and pre-populate it with some of
> the common items
> 2.  For each new CoRE app created (by the IETF?) the dictionary will be
> extended by adding the new items to the dictionary (maybe the end, maybe
> later)
>

Yes. The current idea is to have one dictionary that is shared by all CoRE
apps defined by the IETF and that is maintained as an IANA registry.

The assumption here seems to be that a CoRE app would never be extended with
> new things.  As an example of what I mean consider the following:
>
> *  Given the intense pressure from the ACE working group, the CoRE WG gets
> it act together and releases a version 1 Pub-Sub server.
> * So a client and a server are released which use the dictionary for
> compression and are both happy.
> *  A version 2 of the Pub-Sub server gets released.  This adds some
> vocabulary around wills.  The vocabulary is then added to the CoRE App
> dictionary
> *  The Pub-Sub server gets updated because it is a big box, but the client
> does not because it is small
> *  The client queries the Pub-Sub server and gets back some compression
> points which it does not recognize.
>

This is exactly the current idea how you would evolve a CoRE app.

What am I missing?
>

Assume for a moment that the V1 client could decompress the compression
point. Then it still wouldn't recognize the wills-related vocabulary,
because that’s a V2 feature. However, it can still make sense out of all
the other vocabulary, so the V1 client is still interoperable with the V2
server. No problem here.
We’ve got a problem, though, when a V2 client understands the wills-related
vocabulary, but doesn’t know the compression points for it (because they
may have been added to the dictionary much later than the V2 specification
was released). I don’t know how to solve that at the moment.

Klaus