Re: [core] CoAP for high throughput applications

"Fossati, Thomas (Nokia - GB)" <thomas.fossati@nokia.com> Wed, 06 April 2016 18:09 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 5F69C12D724 for <core@ietfa.amsl.com>; Wed, 6 Apr 2016 11:09:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.921
X-Spam-Level:
X-Spam-Status: No, score=-6.921 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 XssQMW1OZRbP for <core@ietfa.amsl.com>; Wed, 6 Apr 2016 11:09:26 -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 6D0AE12D746 for <core@ietf.org>; Wed, 6 Apr 2016 11:09:09 -0700 (PDT)
Received: from fr712umx3.dmz.alcatel-lucent.com (unknown [135.245.210.42]) by Websense Email Security Gateway with ESMTPS id 2774F26A7B5FE; Wed, 6 Apr 2016 18:09:04 +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 u36I962H005247 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 6 Apr 2016 18:09:07 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 u36I95gM014640 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 6 Apr 2016 20:09:06 +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; Wed, 6 Apr 2016 20:09:05 +0200
From: "Fossati, Thomas (Nokia - GB)" <thomas.fossati@nokia.com>
To: EXT Carles Gomez Montenegro <carlesgo@entel.upc.edu>, EXT OSCAR GONZALEZ DE DIOS <oscar.gonzalezdedios@telefonica.com>
Thread-Topic: [core] CoAP for high throughput applications
Thread-Index: AQHRjr76eON/nMwwHUq4G5ODCqR3Gp96QgsA///UMQCAAoCGAIAAVrgA
Date: Wed, 06 Apr 2016 18:09:05 +0000
Message-ID: <D32AD5B5.62ED8%thomas.fossati@alcatel-lucent.com>
References: <D32866D3.62C58%thomas.fossati@alcatel-lucent.com> <5702E93E.3030005@tzi.org> <D328743C.62C97%thomas.fossati@alcatel-lucent.com> <54c26e6d388f0ea0564417ffc87a4091.squirrel@webmail.entel.upc.edu>
In-Reply-To: <54c26e6d388f0ea0564417ffc87a4091.squirrel@webmail.entel.upc.edu>
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.39]
Content-Type: text/plain; charset="us-ascii"
Content-ID: <BCD21A435265554C99334F9CBEEFAC20@exchange.lucent.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/core/gSEofv-sXAvtlUBRaMdPSbbntbQ>
Cc: "ilker.demirkol@entel.upc.edu" <ilker.demirkol@entel.upc.edu>, "august.betzler@googlemail.com" <august.betzler@googlemail.com>, "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: Wed, 06 Apr 2016 18:09:28 -0000

Hi Carles,

Very interesting stuff, and thanks for the pointers.

I'll try to put together Californium+CoCoA and Oscar's keyserver
(https://github.com/mami-project/KeyServer) to see what happens :-)

Cheers, t


On 06/04/2016 06:58, "EXT Carles Gomez Montenegro"
<carlesgo@entel.upc.edu> wrote:
>Hi Thomas,
>
>>>> 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 CoCoA available if I'd want to test it?
>
>Here you may find the Californium implementation including CoCoA:
>https://github.com/eclipse/californium
>
>As Matthias said, the implementation including CoCoA is not actually
>optimized for dealing with thousands of requests. However, CoCoA is
>adaptive and, if network conditions allow it, the algorithm may behave
>more aggressively than default CoAP's congestion control (while still
>being safe).
>
>In the experiments we have done so far, we have dealt with up to hundreds
>of requests per second (outperforming default CoAP and also
>state-of-the-art alternative approaches designed for TCP), since the
>limitation in our scenarios was the network/channel capacity (e.g. [1,
>2]).
>
>It would be very interesting to see what happens in a scenario such as the
>one you describe, where the limitation might not be the network
>throughput. By the way, feedback on CoCoA would be very much welcome!
>
>Thanks,
>
>Carles
>
>[1] A. Betzler, C. Gomez, I. Demirkol, J. Paradells, "CoAP congestion
>control for the Internet of Things", IEEE Communications Magazine
>(In press).
>https://www.researchgate.net/publication/297989374_CoAP_Congestion_Control
>_for_the_Internet_of_Things
>
>[2] A. Betzler, C. Gomez, I. Demirkol, J. Paradells, "CoCoA+: an advanced
>congestion control mechanism for CoAP", Ad-hoc Networks journal, 2015.
>http://www.sciencedirect.com/science/article/pii/S1570870515000888