Re: [core] Using draft-tcs-coap-no-response-option to *enable* responses

Abhijan Bhattacharyya <abhijan.bhattacharyya@tcs.com> Mon, 02 May 2016 03:19 UTC

Return-Path: <prvs=92363442a=abhijan.bhattacharyya@tcs.com>
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 7886E12D1AB for <core@ietfa.amsl.com>; Sun, 1 May 2016 20:19:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.196
X-Spam-Level:
X-Spam-Status: No, score=-5.196 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.996, 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 AapQCKi1FNoB for <core@ietfa.amsl.com>; Sun, 1 May 2016 20:19:04 -0700 (PDT)
Received: from inkolg01.tcs.com (inkolg01.tcs.com [121.241.215.10]) by ietfa.amsl.com (Postfix) with ESMTP id 9FA8D12D0C1 for <core@ietf.org>; Sun, 1 May 2016 20:19:00 -0700 (PDT)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A2DPAQB4wyZX/wQXEqxchAt9uXUBDYF2FwEMhWwCHIE8FAEBAQEBAQGBDIRBAQEBAwEjBkULBQsLBwYEAwEBASgDAgICRAkIBgsIG4gHFqYEAQEBZZAtAQEBAQEBAQEBAQEBAQEBAQEBAQEBFYR4Z4UOhCABAQUiCwkMghw4E4JDBY5KhFmEcYFVhCeFY4QgFzeDf4hdjzEeAQGENWQBh1GBNQEBAQ
X-IPAS-Result: A2DPAQB4wyZX/wQXEqxchAt9uXUBDYF2FwEMhWwCHIE8FAEBAQEBAQGBDIRBAQEBAwEjBkULBQsLBwYEAwEBASgDAgICRAkIBgsIG4gHFqYEAQEBZZAtAQEBAQEBAQEBAQEBAQEBAQEBAQEBFYR4Z4UOhCABAQUiCwkMghw4E4JDBY5KhFmEcYFVhCeFY4QgFzeDf4hdjzEeAQGENWQBh1GBNQEBAQ
X-IronPort-AV: E=Sophos;i="5.24,565,1454956200"; d="scan'208";a="79643022"
X-DISCLAIMER: FALSE
In-Reply-To: <fa7de3e8b19a41189f7bc668b7eff60c@HE1PR9001MB0170.MGDPHG.emi.philips.com>
References: <3c1e2750c7ac4d2b98509e3446d122dd@HE1PR9001MB0170.MGDPHG.emi.philips.com> <OFCFA8A8D6.870A6124-ON65257F9D.004F040B-65257F9D.0053ED78@tcs.com> <fa7de3e8b19a41189f7bc668b7eff60c@HE1PR9001MB0170.MGDPHG.emi.philips.com>
To: "Dijk, Esko" <esko.dijk@philips.com>
MIME-Version: 1.0
Importance: High
X-KeepSent: 0940C1E7:182AD649-65257FA7:000FD310; type=4; name=$KeepSent
X-Mailer: IBM Notes Release 9.0 March 08, 2013
Message-ID: <OF0940C1E7.182AD649-ON65257FA7.000FD310-65257FA7.001234DD@tcs.com>
From: Abhijan Bhattacharyya <abhijan.bhattacharyya@tcs.com>
Date: Mon, 02 May 2016 08:48:53 +0530
X-MIMETrack: Serialize by Router on INKOLM102/TCS(Release 9.0.1FP4HF956 | April 21, 2016) at 05/02/2016 08:48:54, Serialize complete at 05/02/2016 08:48:54
Content-Type: multipart/alternative; boundary="=_alternative 001234D765257FA7_="
Archived-At: <http://mailarchive.ietf.org/arch/msg/core/8mqCMmKGlSqJ6MbJrLlP6vX9t34>
Cc: Nevil Brownlee <rfc-ise@rfc-editor.org>, "core@ietf.org WG" <core@ietf.org>
Subject: Re: [core] Using draft-tcs-coap-no-response-option to *enable* responses
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: Mon, 02 May 2016 03:19:07 -0000

Hi Esko,
The existing version -16 has the following text in section 2.1 (page 5) : 
"The server MUST send back responses of the classes for which the client 
has not expressed any dis-interest." 
So, that way the client has actually expressed its interest (or request 
for enablement) in all the responses for which it has not expressed 
explicit disinterest. Does that help to control the special server-side 
behaviour as the server knows which all responses the client is interested 
in and it MUST send a response back ? I shall submit another version with 
some editorial changes before the draft goes to IESG. So we have some more 
room for modification. If you have some comments on this in the line of 
the discussion we are having, please let us know. I shall wait for your 
views before submitting the updated version. 

Anyway, a separate draft (or, possibly, an updated groupcomm RFC?) is a 
good idea. No-Response assumes the usual request/response symantics and it 
mainly addresses the client side behaviour and issues. Considering such 
special behaviour of groupcomm servers, it would be good to handle 
separately.

Waiting to hear from you.

Regards
Abhijan Bhattacharyya
Associate Consultant
Scientist, Innovation Lab, Kolkata, India
Tata Consultancy Services
Mailto: abhijan.bhattacharyya@tcs.com
Website: http://www.tcs.com
____________________________________________
Experience certainty.   IT Services
                        Business Solutions
                        Consulting
____________________________________________


"Dijk, Esko" <esko.dijk@philips.com> wrote on 05/02/2016 03:10:24 AM:

> From: "Dijk, Esko" <esko.dijk@philips.com>
> To: Abhijan Bhattacharyya <abhijan.bhattacharyya@tcs.com>
> Cc: "core@ietf.org WG" <core@ietf.org>, Nevil Brownlee <rfc-ise@rfc-
> editor.org>
> Date: 05/02/2016 03:10 AM
> Subject: RE: Using draft-tcs-coap-no-response-option to *enable* 
responses
> 
> Hello Abhijan,
> 
> > Mandating such server behaviour from the client side will be a bit
> out-of-sync with the spirit of the specification.
> This is not fully clear to me yet … the client does not mandate 
> anything from the server; it just expresses its interest (0-bits) 
> and disinterest (1-bits). The server can always not parse the option
> (elective) or choose not to bother about it.
> This does keep the client waiting for a possible response that never
> comes; but that is the same in the general multicast case : the 
> client can never know if or when a response will come, the server 
> MAY always choose to not respond.
> 
> So what I propose is to use the "indication of interest" to specific
> response classes in a new way; namely to enable certain response 
> classes that are suppressed by default.  It just happens that the 
> same Option syntax is very well suited for that purpose. A separate 
> draft could be written for that perhaps if you think it does not fit
> in draft-tcs-coap-no-response-option or if it is too late for that. 
> The we can point to the syntax of the No-Response Option and re-use 
> it completely.
> 
> regards
> Esko
> 
> From: Abhijan Bhattacharyya [mailto:abhijan.bhattacharyya@tcs.com] 
> Sent: Friday, April 22, 2016 17:17
> To: Dijk, Esko <esko.dijk@philips.com>
> Cc: core@ietf.org WG <core@ietf.org>; Nevil Brownlee 
<rfc-ise@rfc-editor.org>
> Subject: Re: Using draft-tcs-coap-no-response-option to *enable* 
responses
> 
> Hi Esko, 
> Thanks for your mail. 
> First of all let me just bring this to your (as well as the mailing 
> list's) notice that the latest version of the draft is: 
> 
https://www.ietf.org/internet-drafts/draft-tcs-coap-no-response-option-16.txt

> 
> This version "officially" closes the technical reviews and is with 
> the RFC editor through the IS track. 
> 
> Now coming to your use case (and indeed it is an interesting one) 
> one thing that we should consider is that the No-Response option was
> deliberately designed not to mandate anything for the server side 
> mainly to ensure that it does not disrupt the many usefulness of the
> usual request/response symantics. The draft all along deals with the
> requesting client's behaviour and its expression of interest to the 
> server. Since this option is elective we leave it upto the server 
> implementation to honour the client's interest. 
> 
> Now, as per usual request/response symantics the responses are 
> always enabled. The behaviour in groupcomm server in terms of 
> suppressing the responses on its own is something special and, 
> generally speaking, the clients are not aware of such special behaviour. 
 
> 
> So, it would be justified to handle the situation at the server's 
> end. Here is the idea: 
> While No-Response is to expresses client's dis-interest in some or 
> all of the responses depending on the option value, it is also true 
> that the option automatically expresses interest in all other 
> responses (marked by 0's in the respective positions). The client is
> going to wait for these responses upto a given timeout. Now, if the 
> server behaviour is modified like this : "I have closed my door for 
> all out going response. **BUT**, if I see a fellow requesting with 
> No-Response and keeping windows open to some responses then I assume
> that this guy really needs those kind of responses. In that case let
> me be linient and let me open the door for such responses. This 
> fellow must be available to listen to them as per the prescribed 
> behaviour in the No-Response specification." 
> 
> Mandating such server behaviour from the client side will be a bit 
> out-of-sync with the spirit of the specification. 
> 
> Regards
> Abhijan Bhattacharyya
> Associate Consultant
> Scientist, Innovation Lab, Kolkata, India
> Tata Consultancy Services
> Mailto: abhijan.bhattacharyya@tcs.com
> Website: http://www.tcs.com
> ____________________________________________
> Experience certainty.        IT Services
>                        Business Solutions
>                        Consulting
> ____________________________________________
> 
> 
> 
> 
> From:        "Dijk, Esko" <esko.dijk@philips.com> 
> To:        Abhijan Bhattacharyya <abhijan.bhattacharyya@tcs.com> 
> Cc:        Nevil Brownlee <rfc-ise@rfc-editor.org>, "core@ietf.org WG" <
> core@ietf.org> 
> Date:        04/22/2016 05:43 PM 
> Subject:        Using draft-tcs-coap-no-response-option to *enable* 
responses
> 
> 
> 
> 
> Hello Abhijan,
> 
> in our project we see a clear use case of using the No-Response 
> Option to *enable* certain responses that are by default suppressed.
> CoAP allows suppression of multicast responses by default, which is 
> what we use for a lighting multicast use case. However for 
> diagnostic usage we'd like to enable these responses again using the
> No-Response option which is perfectly suited for that. However, the 
> draft text currently only talks about suppressing responses (not 
enabling).
> 
> Hence my request: could we modify/add some text to show that also 
> the option can be used to enable responses in case where they are 
> normally (by default -- server decision) suppressed?
> Just to clarify such usage; which is quite useful in my view.
> 
> regards
> Esko
> 
> ________________________________
> The information contained in this message may be confidential and 
> legally protected under applicable law. The message is intended 
> solely for the addressee(s). If you are not the intended recipient, 
> you are hereby notified that any use, forwarding, dissemination, or 
> reproduction of this message is strictly prohibited and may be 
> unlawful. If you are not the intended recipient, please contact the 
> sender by return e-mail and destroy all copies of the original message.
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain 
> confidential or privileged information. If you are 
> not the intended recipient, any dissemination, use, 
> review, distribution, printing or copying of the 
> information contained in this e-mail message 
> and/or attachments to it are strictly prohibited. If 
> you have received this communication in error, 
> please notify us by reply e-mail or telephone and 
> immediately and permanently delete the message 
> and any attachments. Thank you