An experimental comparison of messaging protocols MQTT and COAP


Tezin Türü: Yüksek Lisans

Tezin Yürütüldüğü Kurum: Orta Doğu Teknik Üniversitesi, Enformatik Enstitüsü, Bilişim Sistemleri Anabilim Dalı, Türkiye

Tezin Onay Tarihi: 2017

Öğrenci: HASAN FARUK ÇOBAN

Danışman: AYSU BETİN CAN

Özet:

As the attention towards to Internet of Things (IoT) increases recently, the need for the infrastructure that carries the communication between nodes, which have limited resources, also increases. The network beneath applications has direct effect on resilience of IoT environments. Due to the advances on mobile devices in terms of more powerful hardware, developers focused on mobile applications. However, solid network structures are needed for these applications. To match these needs several protocols are introduced. MQTT (Message Queue Telemetry Transport) and COAP (Constrained Application Protocol) are the most popular among messaging protocols. Although there are studies comparing these two protocols, they mainly focus on the network perspective. They cover mostly network traffic and load that protocols put on networks. Resource usages, especially on the nodes, are not examined thoroughly. Those studies only cover minimal traits and their test beds are minimalistic environments when it comes to investigate node’s resource usages. Many applications need network communications. MQTT and COAP are possible candidates for networking. The amount of resource the protocols use might be the decisive factor. In this thesis a comparison between two prominent messaging protocols on common hardware and software setup is aimed. MQTT and COAP are compared under the metrics of energy consumption, memory and CPU resource usages, transfer delays and adaptation capabilities. In this study HL7 messages have been used as a data type in order to place a healthcare context in experiments.