Re: [core] draft-rahman-core-sleepy-05

"Rahman, Akbar" <Akbar.Rahman@InterDigital.com> Mon, 31 March 2014 12:27 UTC

Return-Path: <Akbar.Rahman@interdigital.com>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 81A541A07C2 for <core@ietfa.amsl.com>; Mon, 31 Mar 2014 05:27:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.909
X-Spam-Level:
X-Spam-Status: No, score=-1.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 pVxL-DdZLQtq for <core@ietfa.amsl.com>; Mon, 31 Mar 2014 05:27:19 -0700 (PDT)
Received: from smtp-in1.interdigital.com (smtp-in1.interdigital.com [64.208.228.133]) by ietfa.amsl.com (Postfix) with ESMTP id 45F911A07B0 for <core@ietf.org>; Mon, 31 Mar 2014 05:27:19 -0700 (PDT)
X-ASG-Debug-ID: 1396268834-06daaa1bd995e50001-aa7cYp
Received: from smtp-out1.interdigital.com (sahara.interdigital.com [10.0.128.27]) by smtp-in1.interdigital.com with ESMTP id 6M4Lfz6CatbKXEZh for <core@ietf.org>; Mon, 31 Mar 2014 08:27:14 -0400 (EDT)
X-Barracuda-Envelope-From: Akbar.Rahman@InterDigital.com
Received: from SAM.InterDigital.com ([10.30.2.11]) by smtp-out1.interdigital.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 31 Mar 2014 08:27:40 -0400
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CF4CDC.9B07A0DB"
Date: Mon, 31 Mar 2014 08:27:38 -0400
X-ASG-Orig-Subj: RE: [core] draft-rahman-core-sleepy-05
Message-ID: <D60519DB022FFA48974A25955FFEC08C05A23659@SAM.InterDigital.com>
In-Reply-To: <24D85E520FCE4FD0AF1A451A102FA5FB@WeiGengyuPC>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [core] draft-rahman-core-sleepy-05
Thread-Index: Ac9Mx73x7NVmChxiRVmoQ1X+CwRr/wAEyRvQ
References: <146BA183A28B4C6DBF8EA90D49B5724C@WeiGengyuPC> <24D85E520FCE4FD0AF1A451A102FA5FB@WeiGengyuPC>
From: "Rahman, Akbar" <Akbar.Rahman@InterDigital.com>
To: weigengyu <weigengyu@bupt.edu.cn>
X-OriginalArrivalTime: 31 Mar 2014 12:27:40.0167 (UTC) FILETIME=[9B74C170:01CF4CDC]
X-Barracuda-Connect: sahara.interdigital.com[10.0.128.27]
X-Barracuda-Start-Time: 1396268834
X-Barracuda-URL: http://10.1.245.3:8000/cgi-mod/mark.cgi
X-Barracuda-BRTS-Status: 1
X-Virus-Scanned: by bsmtpd at interdigital.com
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=9.0 tests=BSF_SC0_MISMATCH_TO, HTML_MESSAGE
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.4454 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header 0.00 HTML_MESSAGE BODY: HTML included in message
Archived-At: http://mailarchive.ietf.org/arch/msg/core/zORx2zMYK3Y1ez-i-ZoVJ1i_JKs
Cc: core@ietf.org
Subject: Re: [core] draft-rahman-core-sleepy-05
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.15
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: Mon, 31 Mar 2014 12:27:23 -0000

Hi Weigengyu,

 

 

 

Thank you for the good questions.  Following is my feedback:

 

 

>So, in the situation when the CoAP server is in receive-only mode, the
proxy should forward the request to the server. 

>The CoAP server could receive the request and give a  response after a
while. 

>The proxy need to return "Waiting for a while" instead of "The Retry
-After". 

 

Is "Waiting for a while" a new CoAP Response code that needs to be
defined?

 

 

 

>In our researching work, the CoAP server has three working modes:
active, receive-only, and sleep.

>active mode: the server can send and receiv;

>receive-only mode: the server can receive, not send;

>sleep mode: the server can neither send nor receive.

 

This is interesting.  But, what is the main benefit of the receive-only
mode?  That is, since the CoAP model is request/response, what is the
value of being able to send the request (e.g. GET) without knowing the
response?

 

 

 

Best Regards,

 

 

Akbar

 

 

 

From: weigengyu [mailto:weigengyu@bupt.edu.cn] 
Sent: Monday, March 31, 2014 5:57 AM
To: Rahman, Akbar
Cc: core@ietf.org
Subject: Re: [core] draft-rahman-core-sleepy-05

 

Hi Akbai, 

 

I would like to make my question clear.

 

In your work, "Enhanced Sleepy Node Support for CoAP IETF 87, July 2013,
Sleepy Node Performance Analysis"

in the PPT page of "Reverse Proxy Features for Sleepy Node Support" 

there are following descriptions: 

"Sleep-aware CoAP 5.03 Response Capability 

If CoAP request to a sleeping server is received (and there is no valid
cache for that request), proxy returns a '5.03 Retry-After' response to
client  

5.03 contains a timestamp indicating when the sever will wake back up
(timestamp delivered in CoAP maxAge option) " 

 

In our researching work, the CoAP server has three working modes:
active, receive-only, and sleep.

active mode: the server can send and receiv;

receive-only mode: the server can receive, not send;

sleep mode: the server can neither send nor receive.

 

So, in the situation when the CoAP server is in receive-only mode, the
proxy should forward the request to the server. 

The CoAP server could receive the request and give a  response after a
while. 

The proxy need to return "Waiting for a while" instead of "The Retry
-After". 

 

This may be due to how we define the sleepy node. 

And, the requirement is to consider three working modes of CoAP server
when handling sleepy nodes. 

 

if the CoAP Client get this knowledge it may be good to get better the
communication efficiency in CoRE networks.

 

Regards, 

 

Gengyu 

 

Network Techonolgy Center

School of Computer

Beijing University of Posts and Telecommunications

 

From: weigengyu <mailto:weigengyu@bupt.edu.cn>  

Sent: Friday, March 28, 2014 11:03 AM

To: Akbar.Rahman@InterDigital.com 

Cc: core@ietf.org 

Subject: Re: [core] draft-rahman-core-sleepy-05

 

Hi Akbar,

 

About draft-rahman-core-sleepy-05 Enhanced Sleepy Node Support for CoAP,
I have a question. 

 

Defining Sleep Para to tackle sleep nodes in CoRE networks is an
essential work and important. 

 

By the Figure 3: Prototype Configuration,

you propose to add RD Sleep Para into proxy (CoAP Reverse Proxy). 

 

Is it possible to transfer Sleep Para into CoAP Client? 

It is the CoAP Client to intial each CoAP request,  

and the CoAP Client may get the infomations about the resources from the
ACK of the first access, if possible. 

 

With this knowledge, the CoAP client could choose the adquate chance to
send request, 

and estimate the duration to wait for response.  

 

 

Regards,

 

Gengyu

 

Network Technology Center

School of Computer

Beijing University of Posts and Telecommunications.

 

________________________________

_______________________________________________
core mailing list
core@ietf.org
https://www.ietf.org/mailman/listinfo/core