Rian Hidayat
Department of Electrical Engineering and Information Technology, Faculty of Engineering, Universitas Gadjah Mada, Yogyakarta, Indonesia

Published : 1 Documents Claim Missing Document
Claim Missing Document
Check
Articles

Found 1 Documents
Search

Evaluation of Latency and Throughput in MQTT vs. HTTP Protocols for Environmental Sensor Data Transmission Systems Fajar Wicaksono; Rian Hidayat
Journal of Information Technology, computer science and Electrical Engineering Vol. 3 No. 2 (2026): June-September 2026
Publisher : Yayasan Sinergi Multidimensi Kreatif

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.61306/q0x83p55

Abstract

In Internet of Things (IoT)-based environmental monitoring systems, sensor nodes deployed in remote and resource-constrained environments must transmit real-time telemetry over bandwidth-limited wireless communication channels. Selecting an optimal application layer messaging protocol is vital for minimizing transmission latency and maximizing network throughput. This research conducted a rigorous empirical evaluation comparing the performance of the lightweight Message Queuing Telemetry Transport (MQTT) protocol and the ubiquitous Hypertext Transfer Protocol (HTTP/1.1 RESTful API) in an environmental telemetry testbed. The system monitored multiple environmental parameters (temperature, relative humidity, PM2.5 particulate matter, and ambient atmospheric pressure) across four network connectivity conditions: local Wi-Fi, 4G-LTE cellular, bandwidth-throttled 3G, and packet-loss-induced links (1% to 5% packet loss). Transmission performance was evaluated across varying payload sizes (64 bytes to 2048 bytes), publication rates (1 Hz to 50 Hz), and Quality of Service levels (QoS 0, QoS 1, and QoS 2 for MQTT). Empirical results demonstrated that MQTT with QoS 0 achieved a mean end-to-end latency of 18.4 ms over Wi-Fi and 42.6 ms over 4G-LTE, outperforming HTTP by 68.2% and 54.7%, respectively. In high-frequency multi-node stress tests, MQTT delivered a maximum throughput of 1,420 messages/s with an 84.6% reduction in packet protocol overhead compared to HTTP's request-response headers. These findings provide concrete architectural guidance for environmental monitoring deployments: MQTT is substantially superior for power- and bandwidth-constrained remote telemetry, whereas HTTP remains advantageous only for sporadic ad-hoc configuration requests.