Re: [core] Last Call: <draft-ietf-core-coap-14.txt> (Constrained Application Protocol (CoAP)) to Proposed Standard

Shoichi Sakane <sakane@tanu.org> Wed, 27 March 2013 04:07 UTC

Return-Path: <sakane@tanu.org>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5B49421F8E5A for <ietf@ietfa.amsl.com>; Tue, 26 Mar 2013 21:07:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.723
X-Spam-Level:
X-Spam-Status: No, score=-0.723 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_MISMATCH_ORG=0.611, HOST_EQ_JP=1.265]
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 etYXHZ4xeUc9 for <ietf@ietfa.amsl.com>; Tue, 26 Mar 2013 21:07:06 -0700 (PDT)
Received: from mama.tanu.org (z189134.ppp.asahi-net.or.jp [110.4.189.134]) by ietfa.amsl.com (Postfix) with ESMTP id BD5C221F8E59 for <ietf@ietf.org>; Tue, 26 Mar 2013 21:07:05 -0700 (PDT)
Received: from mactanu.local (64-104-46-217.cisco.com [64.104.46.217]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mama.tanu.org (Postfix) with ESMTPSA id A11FE16B49; Wed, 27 Mar 2013 13:07:03 +0900 (JST)
Message-ID: <51527064.3030807@tanu.org>
Date: Wed, 27 Mar 2013 13:07:00 +0900
From: Shoichi Sakane <sakane@tanu.org>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130307 Thunderbird/17.0.4
MIME-Version: 1.0
To: Carsten Bormann <cabo@tzi.org>
Subject: Re: [core] Last Call: <draft-ietf-core-coap-14.txt> (Constrained Application Protocol (CoAP)) to Proposed Standard
References: <20130313184125.20160.19265.idtracker@ietfa.amsl.com> <5147B789.2070301@tanu.org> <2B10CE01-A1BE-4BF2-AA72-A8D2D5FBEBAD@tzi.org>
In-Reply-To: <2B10CE01-A1BE-4BF2-AA72-A8D2D5FBEBAD@tzi.org>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: ietf <ietf@ietf.org>
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietf>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 27 Mar 2013 04:07:06 -0000

Hi Carsten,

On 3/27/13 8:34 AM, Carsten Bormann wrote:
> Hi Shoichi,
>
> On Mar 19, 2013, at 01:55, Shoichi Sakane <sakane@tanu.org> wrote:
>
>> And, the length of URI is likely to be bigger than the MTU.
>>
>> Do you assume a use case in which the total length of options is going
>> to be greater than the MTU ?
>
> CoAP has been designed for constrained devices, and networks built out of these devices (constrained node networks, draft-ietf-lwig-terminology).
>
> In REST, servers can structure their URIs in a way that is appropriate for the intended use.
> We would expect constrained node servers to come up with short URIs.
> Existing designs based on CoAP (such as OMA lightweight M2M) go to great pains to keep their sizes in check.
>
> So, no, I don't expect a realistic use case where the total length of options (which might be dominated by the URI) is greater than the IP MTU, not even the IFMUALTU (draft-bormann-intarea-alfi).

Agreed.

> I should mention that the CoAP approach to slicing a large request/response pair into multiple exchanges is draft-ietf-core-block, which is widely implemented, but the specification text is not yet completed by the WG; if we ever need to address such a use case, we probably should address it there.  (As of today, -block only addresses slicing up the payload.)

That's the point.  I hope that CoAP transport layer itself would have to have an ability of fragment/reassemble of the CoAP REST layer.  Maybe in the future, "option 0" would be responsible to do that.

Shoichi