An Experimental Comparison of Messaging Protocols MQTT and COAP

Çoban, Hasan Faruk
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. 


A novel user activity prediction model for context aware computing systems
Peker, Serhat; Koçyiğit, Altan; Department of Information Systems (2011)
In the last decade, with the extensive use of mobile electronic and wireless communication devices, there is a growing need for context aware applications and many pervasive computing applications have become integral parts of our daily lives. Context aware recommender systems are one of the popular ones in this area. Such systems surround the users and integrate with the environment; hence, they are aware of the users' context and use that information to deliver personalized recommendations about everyday ...
A Novel SDN Dataset for Intrusion Detection in IoT Networks
Sarica, Alper Kaan; Angın, Pelin (2020-11-04)
The number of Internet of Things (IoT) devices and the use cases they aim to support have increased sharply in the past decade with the rapid developments in wireless networking infrastructures. Despite many advantages, the widespread use of IoT has also created a large attack surface frequently exploited by cyber criminals, requiring real-time, automated detection and mitigation of various attacks in the high-volume network traffic generated. Software-defined networking (SDN) and machine learning (ML) base...
Özkan Yıldırım, Sevgi (2019-03-21)
Due to the technological developments, Internet of things (IoT) has become a real phenomenon. Accordingly, many IoT-based smart concepts appeared in our daily lives such as smart home, smart healthcare and smart city. There are several factors accelerating or hindering the adoption of such new services and concepts. So, the acceptance of IoT-based smart services is critical and should be analyzed carefully. In this study, we aimed to prepare a proper starting point for future studies on end user acceptance ...
A bidirectional LMS algorithmfor estimation of fast time-varying channels
Yapıcı, Yavuz; Yılmaz, Ali Özgür; Department of Electrical and Electronics Engineering (2011)
Effort to estimate unknown time-varying channels as a part of high-speed mobile communication systems is of interest especially for next-generation wireless systems. The high computational complexity of the optimal Wiener estimator usually makes its use impractical in fast time-varying channels. As a powerful candidate, the adaptive least mean squares (LMS) algorithm offers a computationally efficient solution with its simple first-order weight-vector update equation. However, the performance of the LMS alg...
Joint Virtual Machine Embedding and Wireless Data Center Topology Management
Bütün, Beyza; Onur, Ertan; Department of Computer Engineering (2022-5-10)
With emerging technologies such as the Internet of Things and 5G, generated data grows enormously. Hence, Data Center Networks (DCNs) have an important duty to store and process a significant amount of data, which makes them a critical component of the network. To meet the massive amount of traffic demands, wired DCNs need to deploy large numbers of servers and power-hungry switches, and huge lengths of wires. An enormous increase in the usage of cables causes high cabling complexity and cost while deployin...
Citation Formats
H. F. Çoban, “An Experimental Comparison of Messaging Protocols MQTT and COAP,” M.S. - Master of Science, Middle East Technical University, 2017.