Performance Analysis of MQTT and HTTP Protocols on Low-Power ESP32 Devices for IoT Applications

##plugins.themes.bootstrap3.article.main##

Syahrul Adriansyah
Sumarno Sumarno
Ulya Mutiara Nurfuha
Abidzar Giffari
Tsulsi Khoirunisa
Winky Gunsan Subarkah

Abstract

The choice of communication protocol is crucial in determining the efficiency and service life of low-power Internet of Things (IoT) devices such as those based on the ESP32, particularly in Smart Home applications. This study aims to conduct a Systematic Literature Review to analyze and compare the performance of MQTT and HTTP on low-power ESP32 microcontrollers, with a primary focus on energy efficiency, latency, and data overhead. By analyzing and synthesizing findings from various empirical studies, the results of this review are expected to confirm that MQTT, through its lightweight publish–subscribe architecture and minimal data overhead, offers significantly lower power consumption and better latency compared to the verbose request–response model of HTTP. The conclusions drawn from this analysis will provide strong recommendations for developers in selecting the most efficient communication protocol for resource-constrained IoT applications.

##plugins.themes.bootstrap3.article.details##

How to Cite
[1]
S. Adriansyah, S. Sumarno, U. M. Nurfuha, A. Giffari, T. Khoirunisa, and W. G. Subarkah, “Performance Analysis of MQTT and HTTP Protocols on Low-Power ESP32 Devices for IoT Applications”, coreid, vol. 4, no. 1, pp. 38–45, May 2026.


Section
Articles

References

C. Austin, M. Mulyadi, and S. Octaviani, “Implementasi IoT dengan ESP 32 Untuk Pemantauan Kondisi Suhu Secara Jarak Jauh Menggunakan MQTT Pada AWS,” J. Elektro, vol. 15, no. 2, pp. 46–55, Jan. 2024, doi: 10.25170/jurnalelektro.v15i2.5141.

B. Khoeriah Utami, M. Rizqi Fajri, and A. Dwi Chaerani, “Jurnal Sains dan Teknologi Sistem Internet Of Things (IoT) Untuk Pemantauan Kualitas Udara Dalam Ruangan,” J. Sains Dan Teknol., vol. 02, no. 02, pp. 25–29, 2025.

A. A. Fikhri, M. Ula, M. Sayuti, Taufik, and Nurdin, “Perbandingan Kinerja Protokol MQTT dan HTTP Dalam Komunikasi Data Internet of Things Artikel Penelitian,” J. Infomedia Tek. Inform. Multimedia, dan Jar., vol. 10, no. 1, pp. 1–10, 2025.

H. J. Jara Ochoa, R. Peña, Y. Ledo Mezquita, E. Gonzalez, and S. Camacho-Leon, “Comparative Analysis of Power Consumption between MQTT and HTTP Protocols in an IoT Platform Designed and Implemented for Remote Real-Time Monitoring of Long-Term Cold Chain Transport Operations,” Sensors, vol. 23, no. 10, p. 4896, May 2023, doi: 10.3390/s23104896.

B. Dwivedy, M. Moharana, and M. Nayak, “Internet of Things over the last decade: a review of frameworks, architecture, services, and platforms,” Smart Sci., pp. 1–36, Mar. 2026, doi: 10.1080/23080477.2026.2640359.

C. D’Ortona, D. Tarchi, and C. Raffaelli, “Open-Source MQTT-Based End-to-End IoT System for Smart City Scenarios,” Futur. Internet, vol. 14, no. 2, p. 57, Feb. 2022, doi: 10.3390/fi14020057.

S. S. Fithria, M. A. P. Tresna, K. Saddami, and N. Nasaruddin, “Performance Analysis of IoT Message Queuing Telemetry Transport Implementation in Smart Home Systems,” in 2024 4th International Conference of Science and Information Technology in Smart Administration (ICSINTESA), IEEE, Jul. 2024, pp. 329–334. doi: 10.1109/ICSINTESA62455.2024.10748081.

B. A, T. Natuva, M. V. Shaik, M. Karthik Thippirisetti, V. K. Atte, and S. M, “Latency and Throughput Benchmarking of IoT Protocols on ESP32 Microcontrollers,” in 2025 IEEE 6th Global Conference for Advancement in Technology (GCAT), IEEE, Oct. 2025, pp. 1–6. doi: 10.1109/GCAT66372.2025.11368454.

F. Abou-Mehdi-Hassani, A. Zaguia, H. Ait Bouh, and A. Mkhida, “Systematic literature review of smart greenhouse monitoring,” SN Comput. Sci., vol. 6, no. 2, p. 95, Jan. 2025, doi: 10.1007/s42979-024-03640-4.

D. Bramasta, I. Ramadhan, and S. Ageng Prasetyo, “Perancangan dan Implementasi Smart Home untuk Pengendalian Lampu Otomatis Menggunakan ESP32 dan Aplikasi Blynk,” Pros. Semin. Nas. Teknol. Inf. dan Bisnis, pp. 653–658, Jul. 2025, doi: 10.47701/64s9j942.

M. F. Tsaqief and J. Sutopo, “Comparative Performance Analysis Between the MQTT and WebSocket Protocols,” bit-Tech, vol. 8, no. 2, pp. 2227–2237, Dec. 2025, doi: 10.32877/bt.v8i2.3223.

R. B. Ginting, M. A. Sulaiman, and A. Kristanto, “RANCANGAN CHANGEOVER OTOMATIS BERBASIS WAKTU PADA TRANSMITTER VHF AIR TO GROUND R&S SU4200,” J. Rev. Pendidik. dan Pengajaran, vol. 8, no. 2, pp. 5563–5577, Jun. 2025, doi: 10.31004/jrpp.v8i2.46797.

P. Yan, “Architectural Evolution and Performance Optimization in Embedded Systems: A Comparative Analysis of ESP8266, ESP32-S3, and ESP32-C6 Platforms,” Int. J. Adv. Appl. Sci. Res., vol. 4, no. 9, pp. 51–56, 2025, [Online]. Available: www.h-tsp.com

R. Nethanani, Y. Ndou, W. Nchabeleng, and S. Ndlovu, “IoT and Cloud Computing in Biological Water Monitoring: A Systematic Review of Challenges, Architectures, and Emerging Trends,” Jun. 12, 2025. doi: 10.21203/rs.3.rs-6848919/v1.

R. Mirza and K. Khairuni, “Analisis Komparatif Konsumsi Daya Baterai pada Perangkat IoT Menggunakan Protokol Komunikasi MQTT dan HTTP,” J. Sains dan Teknol. 4.0, vol. 2, no. 2, pp. 1–4, 2025.

P. G. Agbulu and G. Joselin Retna Kumar, “An Ultra-low Power IoT System for Indoor Air Quality Monitoring,” J. Phys. Conf. Ser., vol. 2007, no. 1, p. 012053, Aug. 2021, doi: 10.1088/1742-6596/2007/1/012053.

A. Hanif, R. Amri, and R. Amri, “Implementasi Internet Of Things Pada Protokol MQTT Dan HTTP Dalam Sistem Pendeteksi Banjir,” INOVTEK Polbeng - Seri Inform., vol. 8, no. 2, p. 498, Nov. 2023, doi: 10.35314/isi.v8i2.3767.

L. O. Aghenta and M. Tariq Iqbal, “Design and implementation of a low-cost, open source IoT-based SCADA system using ESP32 with OLED, ThingsBoard and MQTT protocol,” AIMS Electron. Electr. Eng., vol. 4, no. 1, pp. 57–86, 2020, doi: 10.3934/ElectrEng.2020.1.57.

J. Toldinas, B. Lozinskis, E. Baranauskas, and A. Dobrovolskis, “MQTT Quality of Service versus Energy Consumption,” in 2019 23rd International Conference Electronics, IEEE, Jun. 2019, pp. 1–4. doi: 10.1109/ELECTRONICS.2019.8765692.

C. Silva, V. A. Cunha, J. P. Barraca, and R. L. Aguiar, “Analysis of the Cryptographic Algorithms in IoT Communications,” Inf. Syst. Front., vol. 26, no. 4, pp. 1243–1260, Aug. 2024, doi: 10.1007/s10796-023-10383-9.

F. Luthfi, E. A. Juanda, and I. Kustiawan, “Optimization of Data Communication on Air Control Device Based on Internet of Things with Application of HTTP and MQTT Protocols,” IOP Conf. Ser. Mater. Sci. Eng., vol. 384, p. 012009, Jul. 2018, doi: 10.1088/1757-899X/384/1/012009.

L. Milić, L. Jelenković, and I. Magdalenić, “Minimizing IoT Energy Consumption Using BLE and Metaprotocol Architecture,” Int. J. Distrib. Sens. Networks, vol. 2025, no. 1, Jan. 2025, doi: 10.1155/dsn/7859748.

P. N. Bideh, J. Sönnerup, and M. Hell, “Energy consumption for securing lightweight IoT protocols,” in Proceedings of the 10th International Conference on the Internet of Things, New York, NY, USA: ACM, Oct. 2020, pp. 1–8. doi: 10.1145/3410992.3411008.

A. Ramschie, J. Makal, R. Katuuk, and ..., “Pemanfaatan ESP32 Pada Sistem Keamanan Rumah Tinggal Berbasis IoT,” … Work. Natl. …, pp. 4–5, 2021, [Online]. Available: https://jurnal.polban.ac.id/ojs-3.1.2/proceeding/article/view/2688/2076

U. Krcadinac, P. Pasquier, J. Jovanovic, and V. Devedzic, “Synesketch: An Open Source Library for Sentence-Based Emotion Recognition,” IEEE Trans. Affect. Comput., vol. 4, no. 3, pp. 312–325, 2013, doi: 10.1109/T-AFFC.2013.18.