Re: [core] CoAP for high throughput applications

Carsten Bormann <cabo@tzi.org> Mon, 04 April 2016 22:23 UTC

Return-Path: <cabo@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 EC45512D58B for <core@ietfa.amsl.com>; Mon, 4 Apr 2016 15:23:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.62
X-Spam-Level:
X-Spam-Status: No, score=-2.62 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] 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 m__bbEpoCVX1 for <core@ietfa.amsl.com>; Mon, 4 Apr 2016 15:23:01 -0700 (PDT)
Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6B95512D190 for <core@ietf.org>; Mon, 4 Apr 2016 15:23:01 -0700 (PDT)
Received: from dhcp-9a4a.meeting.ietf.org (unknown [IPv6:2001:67c:370:152:c408:2008:80df:fba5]) (Authenticated sender: cabo@cabo.im) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 2D7A7172098; Tue, 5 Apr 2016 00:22:57 +0200 (CEST)
Message-ID: <5702E93E.3030005@tzi.org>
Date: Mon, 04 Apr 2016 19:22:54 -0300
From: Carsten Bormann <cabo@tzi.org>
User-Agent: Postbox 4.0.8 (Macintosh/20151105)
MIME-Version: 1.0
To: "Fossati, Thomas (Nokia - GB)" <thomas.fossati@nokia.com>
References: <D32866D3.62C58%thomas.fossati@alcatel-lucent.com>
In-Reply-To: <D32866D3.62C58%thomas.fossati@alcatel-lucent.com>
X-Enigmail-Version: 1.2.3
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/core/4EVgom4hNsVrWvpTllA2ydHvzcM>
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:23:03 -0000

> 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).

Interesting.

> 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.

That would be an interesting application for CoCoA...

> 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?

I think Matthias Kovatsch' Californium still is the record holder for
responses per second from a Web Server (a term that I take to include
both servers for CoAP and for one of the HTTPs)...

The 16-bit message ID is only good for ~ 10^3 requests per second, so a
client that needs a higher rate from a single server would need to use
multiple port numbers.

Grüße, Carsten