Re: [core] I-D Action: draft-ietf-core-observe-09.txt

Klaus Hartke <hartke@tzi.org> Tue, 16 July 2013 12:50 UTC

Return-Path: <hartke@tzi.org>
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 21A3E11E80E0 for <core@ietfa.amsl.com>; Tue, 16 Jul 2013 05:50:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.627
X-Spam-Level:
X-Spam-Status: No, score=-5.627 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0+1tcl6d7cFB for <core@ietfa.amsl.com>; Tue, 16 Jul 2013 05:50:51 -0700 (PDT)
Received: from informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) by ietfa.amsl.com (Postfix) with ESMTP id 065AE11E80E3 for <core@ietf.org>; Tue, 16 Jul 2013 05:50:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from smtp-fb3.informatik.uni-bremen.de (smtp-fb3.informatik.uni-bremen.de [134.102.224.120]) by informatik.uni-bremen.de (8.14.4/8.14.4) with ESMTP id r6GCoi1t000468 for <core@ietf.org>; Tue, 16 Jul 2013 14:50:44 +0200 (CEST)
Received: from mail-ve0-f174.google.com (mail-ve0-f174.google.com [209.85.128.174]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp-fb3.informatik.uni-bremen.de (Postfix) with ESMTPSA id D4109E80 for <core@ietf.org>; Tue, 16 Jul 2013 14:50:43 +0200 (CEST)
Received: by mail-ve0-f174.google.com with SMTP id oz10so451148veb.33 for <core@ietf.org>; Tue, 16 Jul 2013 05:50:42 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=4tAmMdq7kG68AqVM9jSuZjKROHvMD5/29MRIqUF6Lto=; b=WIPBq4FMUCn4b6c/8ZLiyAPT1qb8zi2WZ7fP1TwNywigmKL7ue2Qkr3VQ4rvAeAhNa miFQdcUdVc+H3A4tAexfBSGAyLtWaGL1zKGsqCu5/c5Pqp7jp80Mul0sE9psBw9A9vlO 8u945vqZHPmVFsEWiFxFQABO6+M093t015BtqnL69bSEh57rIGT43wp+80JlZNTE5iSv I5d0d3p445WiUsMobuhaXT7Q9OW14Jc3567wxLBqgQaFgftq9CULrJbSLxaaprOX9SIQ TdZezfZcbfnQn+Sse8BU6O9sM6HOp/bfiWNU5EsZMYW2F4IovZWW9Q9PSgqh0Bt0UTYk vF+w==
X-Received: by 10.58.181.225 with SMTP id dz1mr371030vec.95.1373979042536; Tue, 16 Jul 2013 05:50:42 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.76.163 with HTTP; Tue, 16 Jul 2013 05:50:02 -0700 (PDT)
In-Reply-To: <20130715191913.10424.80790.idtracker@ietfa.amsl.com>
References: <20130715191913.10424.80790.idtracker@ietfa.amsl.com>
From: Klaus Hartke <hartke@tzi.org>
Date: Tue, 16 Jul 2013 15:50:02 +0300
Message-ID: <CAAzbHvbM44ne+QKZaGaoSFGY1rU2XBVSqO3ANu8sXDU0UhChBA@mail.gmail.com>
To: core@ietf.org
Content-Type: text/plain; charset="ISO-8859-1"
Subject: Re: [core] I-D Action: draft-ietf-core-observe-09.txt
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Tue, 16 Jul 2013 12:50:56 -0000

> A New Internet-Draft is available from the on-line Internet-Drafts directories.
>  This draft is a work item of the Constrained RESTful Environments Working Group of the IETF.
>
>         Title           : Observing Resources in CoAP
>         Author(s)       : Klaus Hartke
>         Filename        : draft-ietf-core-observe-09.txt
>         Pages           : 29
>         Date            : 2013-07-15
>
>
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-ietf-core-observe
>
> There's also a htmlized version available at:
> http://tools.ietf.org/html/draft-ietf-core-observe-09
>
> A diff from the previous version is available at:
> http://www.ietf.org/rfcdiff?url2=draft-ietf-core-observe-09


Following the discussion we had in February, the major change of this
revision is that a GET request no longer can have side-effects on
other requests, and that every GET requests adds a new entry to the
list of observers. Please take a look at the draft and let me know
what you think.

observe-09 concludes the big round of changes that started with the
WGLC for observe-05 in March, 2012, except for the following two
remaining issues:

* How can a client detect that it is no longer in the list of
observers when it has successfully registered?

* How can a client cancel an observation more eagerly than by
rejecting the next confirmable notification?

There have been a few proposals over the time that are related to
these issues. These include

- the original Lifetime Option [1],
- the Pledge Option [2][3],
- the Patience Option [4],
- the Next-Notification-At-Latest Option [5],
- the new Liveliness check with Pings [6],

and

- the Condition Option with type Cancellation [7],
- the new Cancellation Message [8].

All of them have some advantages and disadvantages, and I currently do
not favor any proposal over another. Note that not all proposals have
been updated to observe-09 yet.

We should soon find consensus on which one we want to use. I propose
we do that based on running code.

If you like a proposal (or come up another one),

1. please implement both the client-side and the server-side,
2. publish the code somewhere or send me a copy by mail,
3. post a short summary of your implementation experience to the mailing list.

It would be great to have at least some feedback before the IETF
meeting in Berlin, so we can have a good discussion at the CoRE
meeting on Monday.

I plan to bring an implementation of observe-09 to Berlin. If anyone
is interested in some informal interop testing, drop me a line.

Best regards,
Klaus


[1] http://tools.ietf.org/html/draft-ietf-core-observe-01#section-3
[2] http://tools.ietf.org/html/draft-bormann-coap-misc-25#appendix-B.4.3
[3] http://tools.ietf.org/html/draft-li-core-conditional-observe-04#section-6.2
[4] http://tools.ietf.org/html/draft-li-core-coap-patience-option-02#section-2.2.3
[5] http://tools.ietf.org/html/draft-bormann-coap-misc-25#section-2
[6] http://tools.ietf.org/html/draft-hartke-core-coap-liveliness-00#section-2
[7] http://tools.ietf.org/html/draft-li-core-conditional-observe-04#section-6.1
[8] http://tools.ietf.org/html/draft-hartke-core-coap-liveliness-00#section-3