Title: Context-aware enhancement of buffer utilisation in MQTT-based IoT communication

Authors: P.S. Akshatha; S.M. Dilip Kumar

Addresses: Department of Computer Science and Engineering, University of Visvesvaraya College of Engineering, Bangalore University, Bengaluru, 560 001, India; Department of AIML, New Horizon College of Engineering, Bengaluru, 560 103, India ' Department of Computer Science and Engineering, University of Visvesvaraya College of Engineering, Bangalore University, Bengaluru, 560 001, India

Abstract: This paper explores Internet of Things (IoT) communication and the crucial role of buffer utilisation in enhancing the message queuing telemetry transport (MQTT) protocol. Unlike traditional approaches that highlight the benefits of buffering, this study takes a distinctive perspective by addressing the limitations of buffer usage in IoT communication. The research introduces a context-aware strategy to employ buffers judiciously, considering specific data requirements and network connectivity scenarios. Experimental setups involving Node-RED, Wireshark, and prominent MQTT brokers (HiveMQ, EMQx, and Mosquitto) facilitate comprehensive performance analysis. Parameters such as connection setup time, subscription time, mean delay, mean jitter, and bandwidth consumption are evaluated. The findings consistently demonstrate performance degradation after broker reconnection, with more prolonged network failures leading to more significant degradation. The study emphasises the importance of using buffers wisely, especially for prioritising critical messages, to ensure reliability and enhance overall MQTT network performance.

Keywords: IoT; Internet of Things;MQTT; message queuing telemetry transport; Node-RED; MQTT broker; buffer; QoS levels.

DOI: 10.1504/IJCNDS.2025.144708

International Journal of Communication Networks and Distributed Systems, 2025 Vol.31 No.2, pp.148 - 168

Received: 24 Aug 2023
Accepted: 05 Feb 2024

Published online: 28 Feb 2025 *

Full-text access for editors Full-text access for subscribers Purchase this article Comment on this article