Re: [core] CoAP for high throughput applications

"Fossati, Thomas (Nokia - GB)" <thomas.fossati@nokia.com> Mon, 04 April 2016 22:52 UTC

Return-Path: <thomas.fossati@nokia.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 ED2AA12D8EA for <core@ietfa.amsl.com>; Mon, 4 Apr 2016 15:52:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.92
X-Spam-Level:
X-Spam-Status: No, score=-6.92 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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 WYBJmgsayOV1 for <core@ietfa.amsl.com>; Mon, 4 Apr 2016 15:52:44 -0700 (PDT)
Received: from smtp-fr.alcatel-lucent.com (fr-hpida-esg-02.alcatel-lucent.com [135.245.210.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AE53E12D8D7 for <core@ietf.org>; Mon, 4 Apr 2016 15:52:43 -0700 (PDT)
Received: from fr712umx3.dmz.alcatel-lucent.com (unknown [135.245.210.42]) by Websense Email Security Gateway with ESMTPS id D47D3A6ACB130; Mon, 4 Apr 2016 22:52:36 +0000 (GMT)
Received: from fr711usmtp1.zeu.alcatel-lucent.com (fr711usmtp1.zeu.alcatel-lucent.com [135.239.2.122]) by fr712umx3.dmz.alcatel-lucent.com (GMO-o) with ESMTP id u34MqeKt011947 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 4 Apr 2016 22:52:40 GMT
Received: from FR712WXCHHUB03.zeu.alcatel-lucent.com (fr712wxchhub03.zeu.alcatel-lucent.com [135.239.2.74]) by fr711usmtp1.zeu.alcatel-lucent.com (GMO) with ESMTP id u34MqeOx021238 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Tue, 5 Apr 2016 00:52:40 +0200
Received: from FR711WXCHMBA08.zeu.alcatel-lucent.com ([169.254.4.8]) by FR712WXCHHUB03.zeu.alcatel-lucent.com ([135.239.2.74]) with mapi id 14.03.0195.001; Tue, 5 Apr 2016 00:52:40 +0200
From: "Fossati, Thomas (Nokia - GB)" <thomas.fossati@nokia.com>
To: Zach Shelby <Zach.Shelby@arm.com>
Thread-Topic: [core] CoAP for high throughput applications
Thread-Index: AQHRjr76eON/nMwwHUq4G5ODCqR3Gp96acWA//+uRIA=
Date: Mon, 04 Apr 2016 22:52:39 +0000
Message-ID: <D3287516.62C9F%thomas.fossati@alcatel-lucent.com>
References: <D32866D3.62C58%thomas.fossati@alcatel-lucent.com> <08E20027-6748-4B93-B721-52C2720D25B2@arm.com>
In-Reply-To: <08E20027-6748-4B93-B721-52C2720D25B2@arm.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.6.2.160219
x-originating-ip: [135.239.27.41]
Content-Type: multipart/alternative; boundary="_000_D328751662C9Fthomasfossatialcatellucentcom_"
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/core/EWXbwvOIM4H8qHBLw9Uy7S9qPaU>
Cc: "core@ietf.org" <core@ietf.org>
Subject: Re: [core] CoAP for high throughput applications
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, 04 Apr 2016 22:52:47 -0000

Hi Zach, thanks for the pointer.

The problem with TCP is that you don't want one lost packet to block the train of (totally independent) LURK transactions — and as a consequence the bunch of pending TLS handshakes that are waiting on them for completion.

A UDP based transport would be better suited for the LURK use case.  One that minimise the wire overhead (e.g. by using CBOR/CoAP) would be even better.

Cheers, t

From: core <core-bounces@ietf.org<mailto:core-bounces@ietf.org>> on behalf of Zach Shelby <Zach.Shelby@arm.com<mailto:Zach.Shelby@arm.com>>
Date: Monday, 4 April 2016 19:45
To: Thomas Fossati <thomas.fossati@alcatel-lucent.com<mailto:thomas.fossati@alcatel-lucent.com>>
Cc: "core@ietf.org<mailto:core@ietf.org>" <core@ietf.org<mailto:core@ietf.org>>
Subject: Re: [core] CoAP for high throughput applications

Indeed, Matthias and I have done considerable work on the scalability of a single server talking to very large numbers of constrained endpoints [1], however each of those endpoints was NSTART=1. I have not seen any work done on high throughput between two endpoints, although my knee-jerk reaction would be that CoAP/TCP or some other TCP based protocol is more suitable.

[1] https://www.vs.inf.ethz.ch/publ/papers/mkovatsc-2014-iot-californium.pdf

Zach

On 04 Apr 2016, at 15:11, Fossati, Thomas (Nokia - GB) <thomas.fossati@nokia.com<mailto:thomas.fossati@nokia.com>> wrote:

Hi folks,

A slightly off-topic question -- though not too much, hopefully.

One of the LURK [0] proposals is draft-cairns-tls-session-key-interface [1].

In Section 7.1.2 [2] the authors propose to transport the LURK payloads over CBOR/CoAP (over DTLS/UDP, I guess).

Now, a single LURK box could have to handle lots of these requests, potentially in thousands per second, whereas CoAP's default congestion control algorithm parameters [3] are, by design, way too conservative to be suitable for high-throughput use cases.

Is there anyone that has played with CoAP for high-throughput applications who'd be willing to share his/her experience with the group and the wider IETF community?

Cheers, thanks very much,
t

[0] https://www.ietf.org/mail-archive/web/lurk/current/msg00083.html
[1] https://datatracker.ietf.org/doc/draft-cairns-tls-session-key-interface
[2] https://tools.ietf.org/html/draft-cairns-tls-session-key-interface-01#section-7.1.2
[3] https://tools.ietf.org/html/rfc7252#section-4.8

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

Zach Shelby
Vice President, Marketing
ARM Internet of Things BU
www.arm.com<http://www.arm.com>
US: +1 (408) 203-9434
Finland: +358 407796297
Skype: zdshelby
LinkedIn: fi.linkedin.com/in/zachshelby/<http://fi.linkedin.com/in/zachshelby/>

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.