Vol. 4 No. March 2026 . ISSN: 2987-6990 DOI: https://doi. org/10. 60005/coreid. Performance Analysis of MQTT and HTTP Protocols on LowPower ESP32 Devices for IoT Applications Syahrul Adriansyah1. Sumarno2. Ulya Mutiara Nurfuha3. Abidzar Giffari4. Tsulsi Khoirunisa5. Winky Gunsan Subarkah6 1,3,4,5,6 Informatics Department. UIN Sunan Gunung Djati Bandung. Indonesia UIN Sultan Aji Muhammad Idris Samarinda. Indonesia Article Info ABSTRACT Article history: The choice of communication protocol plays a crucial role in determining the efficiency and operational lifetime of low-power Internet of Things (IoT) devices such as ESP32-based systems, particularly in Smart Home applications. This study conducts a Systematic Literature Review (SLR) following the PRISMA 2020 guidelines to analyze and compare the performance of MQTT and HTTP protocols on ESP32 microcontrollers, focusing on latency, power consumption, protocol overhead, network resilience, and security efficiency. From 166 initial records, 9 empirical studies met the inclusion criteria and were synthesized in the final review. The findings consistently show that MQTT outperforms HTTP across multiple performance dimensions. MQTT demonstrates significantly lower latency, ranging from 4. 76y to 12. 1y faster response times under high traffic and remote server conditions. In terms of energy efficiency. MQTT achieves approximately 6Ae8% lower power consumption than HTTP, contributing to longer battery life in IoT MQTT also imposes lower protocol overhead, especially for small-payload sensor communication and secure transmission scenarios using TLS. Furthermore. MQTT maintains more stable performance under constrained network conditions compared to HTTP. Although HTTP remains suitable for applications prioritizing compatibility and simplicity, the review concludes that MQTT is the more efficient and reliable communication protocol for resource-constrained ESP32-based IoT systems requiring low latency, energy efficiency, and robust network performance. Received April 27, 2026 Revised May 07, 2026 Accepted May 13, 2026 Keywords: ESP32 HTTP Internet of Things MQTT Low-Power Device This is an open access article under the CC BY-SA license. Corresponding Author: Syahrul Adriansyah Informatics Department. UIN Sunan Gunung Djati Bandung. Indonesia Jl. Nasution No. 105 Cibiru Bandung. Indonesia, 40614 Email: 1247050038@student. INTRODUCTION The rapid development of the Internet of Things (IoT) has revolutionized home automation, with lowpower microcontrollers such as the ESP32 serving as the backbone of smart home systems. While HTTP/REST-based communication models are widely used, their requestAeresponse architecture leads to increased energy consumption and latency due to continuous polling. To overcome these limitations, the Message Queuing Telemetry Transport (MQTT) protocol has emerged as a promising alternative. CoreID Journal | Vol. No. March 2026: 38-37 Theoretically. MQTT provides higher efficiency, minimal data overhead, and improved responsiveness through its lightweight publishAesubscribe architecture, making it an ideal candidate for power-sensitive IoT Despite these theoretical advantages, a significant research gap remains in the current literature: while many studies have examined the implementation of either MQTT or HTTP independently, comprehensive empirical comparisons directly evaluating their practical performance on specific ESP32 hardware remain highly limited . There is a pressing need to synthesize existing data that explicitly compares critical metricsAiparticularly power consumption, latency, and throughputAibetween these two protocols in resource-constrained environments . To address this gap, this study conducts a Systematic Literature Review (SLR) to synthesize existing evidence on the performance of both protocols in IoT applications using ESP32 devices. The findings are expected to provide evidence-based guidance for developers in selecting the most efficient communication protocol for smart home IoT development. and syntheses of the literature that directly compare the practical performanceAiparticularly regarding power consumption, latency, and throughputAibetween MQTT and HTTP on specific ESP32 hardware. Therefore, this study aims to present a Systematic Literature Review (SLR) that analyzes existing empirical data to definitively compare and quantify the performance advantages of MQTT over HTTP in the context of low-power device usage for IoT applications. The results are expected to provide evidence-based guidance for developers in selecting the most efficient communication protocol for future ESP32-based smart home IoT systems . In recent years, the ESP32 microcontroller has become one of the most widely utilized platforms in the development of Internet of Things (IoT) systems, particularly in the domain of smart homes. The popularity of the ESP32 stems from its integration of Wi-Fi and Bluetooth modules and its relatively efficient power Several studies in Indonesia indicate that ESP32 is frequently used in home automation systems, such as lighting control and environmental monitoring, due to its ease of implementation and compatibility with various network-based IoT services . Nevertheless, the use of conventional communication protocols such as HTTP on low-power IoT devices still presents several technical challenges. The requestAeresponse communication pattern of HTTP requires devices to actively send periodic data requests, leading to increased processor workload and higher energy consumption . Such conditions make HTTP less suitable for smart home systems that demand fast response times and long-term power efficiency. Therefore, a lighter and more adaptive communication approach is needed to optimize the capabilities of ESP32-based devices. Therefore, a lighter and more adaptive communication approach is needed to optimize the capabilities of ESP32-based devices. To address these challenges and the identified research gap, this study makes the following key It provides a comprehensive Systematic Literature Review (SLR) that consolidates empirical data comparing MQTT and HTTP protocols specifically on ESP32 microcontrollers. It systematically analyzes critical performance metrics, including energy consumption, latency, throughput, and protocol overhead in IoT application contexts. It delivers evidence-based guidelines and practical recommendations for IoT developers to select the most efficient communication protocol for resource-constrained smart home systems. METHOD Search Strategy This systematic review followed PRISMA 2020 (Preferred Reporting Items for Systematic Reviews and Meta-Analyse. framework to ensure a transparent, rigorous, and resproducible methodology. The PRISMA framework implemented in this study consists of four main phases, yaitu Identifying potential records through a comprehensive search across selected academic databases. Reviewing the titles and abstracts of the identified records to remove irrelevant studies and duplicates. Assessing the full-text articles of the screened records against strict, predefined inclusion and exclusion criteria, and Finalizing the subset of studies that meet all criteria for qualitative data extraction and synthesis. For the initial identification phase, a comprehensive literature search was conducted on January 27, 2026, across three major academic databases and repositories: A SciSpace: A multidisciplinary academic search engine covering peer-reviewed journals, conference proceedings, and preprints A Google Scholar: A broad academic search engine indexing scholarly literature across disciplines and A ArXiv: A preprint repository for physics, computer science, mathematics, and related fields Performance Analysis of MQTT and HTTP Protocols on Low-Power ESP32 . (Syahrul A) - 39 CoreID Journal | Vol. No. March 2026: 38-37 The search query was designed to capture studies comparing MQTT and HTTP protocols on ESP32 devices for IoT applications: "Performance Analysis of MQTT and HTTP Protocols on Low-Power ESP32 Devices for IoT Applications". This query was applied consistently across all three databases to identify relevant empirical studies, comparative analyses, and performance evaluations. No date restrictions were applied to maximize coverage of the available literature. The search was limited to English-language publications due to resource constraints for translation and validation. Inclusion and Exclusion Criteria Articles included in this review were selected based on predetermined inclusion and exclusion criteria to align with the research objectives. Inclusion criteria were used to ensure that each analyzed study was relevant to the performance comparison of the MQTT and HTTP protocols on ESP32 devices in an Internet of Things (IoT) environment. Selected studies had to meet several requirements: . discuss the performance comparison of the MQTT and HTTP protocols or their variants, such as MQTT-TLS and HTTPS. use an ESP32 microcontroller or its derivatives as a testing platform. be applied to IoT application contexts, such as smart homes, environmental monitoring, or sensor systems. present quantitative performance measurement results, such as latency, power consumption, throughput, packet loss, or protocol overhead. Meanwhile, several types of studies were excluded from the review process. Studies that only used platforms other than the ESP32, such as the ESP8266. Arduino. Raspberry Pi, or STM32, were not included in the analysis. Studies that only discussed a single protocol without comparing MQTT and HTTP were also not Additionally, articles that focused solely on system implementation, architectural design, or conceptual discussion without including empirical performance testing were excluded. Studies outside the IoT context, literature review articles, and simulation-based research without real-world hardware validation were also excluded. Study Selection Process The article selection process was conducted in stages, following a systematic literature review The initial stage began with article identification through searches of the SciSpace. Google Scholar, and ArXiv databases using predetermined keywords. This search yielded 166 articles. Duplicate articles were then removed before proceeding to the screening stage. During the screening stage, the titles and abstracts of all articles were reviewed to assess their compliance with the inclusion and exclusion criteria. Articles deemed relevant then proceeded to the eligibility stage, a comprehensive assessment of the article's content . ull-text revie. This stage evaluated the research methods, hardware platforms used, the types of protocols compared, and the availability of performance data for analysis. The final selection process yielded nine articles that met all criteria and were used in the data synthesis To maintain consistency and reduce potential bias, the selection process was conducted using predetermined assessment guidelines based on the research objectives. Data Extraction and Synthesis Data from each selected article was systematically extracted to obtain information relevant to the research objectives. The collected information included study characteristics, the type and variant of ESP32 used, communication protocol configurations, network test scenarios, and performance measurement results such as latency, power consumption, throughput, and protocol overhead. Furthermore, the limitations of the studies presented by each author were also recorded for evaluation. The collected data were then analyzed using narrative synthesis. This approach was chosen because variations in experimental design, measurement methods, and test scenarios between studies precluded direct quantitative meta-analysis. The results from each study were compared based on the same performance category to identify patterns, differences in results, and factors influencing MQTT and HTTP performance on ESP32 devices. This approach provided a comprehensive overview of the advantages and limitations of each protocol in ESP32-based IoT implementations. RESULTS AND DISCUSSION Study Selection The article selection process was conducted in stages according to the Systematic Literature Review (SLR) method using the PRISMA flow. Search results in the SciSpace. Google Scholar, and ArXiv databases yielded 166 articles relevant to the research keywords. A filtering process was then conducted to eliminate articles that did not align with the research objectives. Most of the eliminated articles were studies that did not use the ESP32 platform as the primary testing A further 140 articles used other platforms such as the ESP8266. Arduino. Raspberry Pi. NodeMCU, or other common IoT devices, thus failing to meet the study's inclusion criteria. Furthermore, several articles Performance Analysis of MQTT and HTTP Protocols on Low-Power ESP32 . (Syahrul A) - 40 CoreID Journal | Vol. No. March 2026: 38-37 discussed only one protocol, either MQTT or HTTP, without conducting a direct performance comparison, making them unusable in the analysis. Several other articles were also excluded because they did not present empirical performance test These articles generally only discussed system implementation, architectural design, or IoT communication concepts without comparable measurement data. Additionally, a small number of articles were eliminated due to the use of simulations without real-world hardware validation, incomplete methodological details, or inaccessibility of the full text. After completing all selection steps, nine articles met all inclusion criteria and were used in the These articles provide empirical data comparing the performance of the MQTT and HTTP protocols on ESP32 devices in various Internet of Things (IoT) application scenarios. Figure 1. PRISMA 2020 flow diagram showing the study selection process. Study Characteristics Table 1 summarizes the characteristics of the 9 included studies. Publication years ranged from 2018 to 2026, with the majority . studies, 66. 7%) published in 2023 or later, reflecting growing research interest in ESP32-based IoT protocol performance. Studies employed diverse experimental designs including controlled laboratory experiments, field deployments, and hybrid approaches combining real hardware with network Table 1. Characteristics of included studies . Study Year ESP32 Variant Application Domain Study Design Key Metrics Rassekhnia . ESP32C6 IoT/IIoT with PQC Lab Raspberry Pi Latency. CPU, energy, key size. TLS overhead Kartha et al. ESP32 General IoT Hardware low-power Implementation. Performance Analysis of MQTT and HTTP Protocols on Low-Power ESP32 . (Syahrul A) - 41 CoreID Journal | Vol. No. March 2026: 38-37 Study Year ESP32 Variant Application Domain Study Design Key Metrics Balamanikandan et al. ESP32 Sensor data Real Latency. Study . ESP32S3 AIoT/IIoT Industry 4. Real Power consumption, data Cusin . ESP32C6 General IoT Comparative Latency, energy, network/application Silva et al. ESP32 Environmental Power meter Power, message delay, message Luthfi et al. IoT Air quality Real device Latency, current Hanif et al. IoT Flood Performance Throughput, delay, packet loss Rynty . ESP32 Crane data Embedded MQTT broker Low-power setup. IoT context Note: Some studies did not explicitly report publication year or specific ESP32 variant in available Hardware configurations varied across studies, with most employing standard ESP32 development boards, while more recent studies utilized newer variants (ESP32-C6 with RISC-V architecture and Wi-Fi 6 support. ESP32-S3 with enhanced AI capabilitie. Application domains spanned environmental monitoring, industrial IoT (IIoT), smart home automation, flood detection systems, and general-purpose sensor networks, demonstrating the breadth of ESP32 deployment scenarios. Performance Metrics Analysis Latency and Response Time Latency measurements consistently favored MQTT over HTTP across all included studies that reported this metric. The magnitude of the latency advantage varied substantially based on network topology, server placement, and traffic conditions. The most dramatic latency differences were observed in fog/cloud deployment scenarios. One study reported HTTP response times 12. 1 times higher than MQTT for fog server placement and 4. 76 times higher for cloud server placement under high-traffic conditions . These findings demonstrate that the latency gap between protocols widens significantly when servers are deployed remotely rather than on local networks, and when network load increases. The stateless nature of HTTP, requiring complete request-response cycles for each transaction, imposes greater overhead under these conditions compared to MQTT's persistent connection model . Cryptographic protocols substantially increased latency for both MQTT and HTTP, with HTTPS and TLS variants showing particularly pronounced overhead. Studies examining post-quantum cryptography (PQC) implementations found that HTTPS incurred higher latency increases compared to MQTT-TLS under equivalent security configurations . The choice of cryptographic algorithms also materially affected message Performance Analysis of MQTT and HTTP Protocols on Low-Power ESP32 . (Syahrul A) - 42 CoreID Journal | Vol. No. March 2026: 38-37 delay on ESP32 devices, with stronger or more complex algorithms imposing greater latency penalties . These findings highlight the trade-off between security and performance, with HTTP-based protocols bearing disproportionate overhead when cryptographic protection is required . Several studies reported latency measurements for specific IoT application scenarios. In air quality control systems. MQTT demonstrated lower latency compared to HTTP for sensor data transmission . Similarly, flood detection systems showed reduced delay with MQTT relative to HTTP . Benchmarking studies on ESP32 microcontrollers consistently reported lower latency for MQTT across various sensor data transmission scenarios . Power and Energy Consumption Power consumption represents a critical performance dimension for battery-powered IoT devices, and the included studies provide consistent evidence of MQTT's energy efficiency advantages over HTTP. A long-duration field test comparing MQTT and HTTP on a NodeMCU platform (ESP8266-based, closely related to ESP. found that MQTT saved approximately 6. 03% power at QoS level 0 and 8. 33% power at QoS level 1 compared to HTTP . While these percentage savings may appear modest, they translate to meaningful battery life extensions in long-term deployments. The study's field testing methodology and extended duration provide high ecological validity for these findings. Experiments specifically measuring ESP32 devices demonstrated that cryptographic algorithm choices materially affect energy consumption for both protocols . Stronger or more complex cryptographic algorithms increased power consumption, with the magnitude of increase varying by algorithm type and Under post-quantum cryptography and TLS conditions. MQTT was judged more energyefficient while HTTPS provided stronger security at higher energy cost . This finding reinforces the securityefficiency trade-off, with MQTT maintaining better energy performance even when cryptographic overhead is added. The power consumption advantage of MQTT stems from several architectural factors: persistent TCP connections eliminate repeated handshake overhead, smaller message framing reduces transmission time and energy, and the publish-subscribe model allows devices to remain in low-power states between messages rather than maintaining active polling connections as often required with HTTP. Studies examining power consumption in specific application contexts reported consistent findings. Environmental sensing applications using ESP32 with power meters showed MQTT consumed less power than HTTP . Industrial IoT scenarios using ESP32-S3 demonstrated that communication protocol choice significantly impacted power consumption, with MQTT showing advantages . Throughput and Bandwidth Efficiency Throughput measurements, while reported less frequently than latency and power metrics, generally favored MQTT over HTTP. Benchmarking studies on ESP32 microcontrollers reported higher throughput for MQTT compared to HTTP in sensor data transmission scenarios . Flood detection systems measured throughput differences between MQTT and HTTP, with MQTT demonstrating superior performance . The throughput advantage of MQTT derives primarily from reduced protocol overhead. MQTT's binary encoding and minimal fixed headers . result in smaller message sizes compared to HTTP's text-based headers and verbose request-response structure. This efficiency becomes particularly pronounced for small payloads typical of IoT sensor data, where HTTP header overhead can exceed the actual data payload. Protocol Overhead and Message Size Protocol overheadAithe ratio of protocol control information to actual application dataAirepresents a key efficiency metric for resource-constrained IoT devices. The included studies consistently demonstrated that MQTT imposes lower overhead than HTTP, with the gap widening when security protocols are added. HTTPS and TLS handshakes add substantial message length and computational overhead compared to MQTT-TLS . , . Post-quantum cryptography implementations further increased overhead, with HTTPS showing greater increases in key size and TLS handshake overhead compared to MQTT . The study by Rassekhnia measured specific overhead metrics including key size and TLS handshake overhead for MQTT. HTTP, and HTTPS under post-quantum cryptography conditions, providing quantitative evidence of HTTPS's disproportionate overhead burden . Environmental sensing applications using ESP32 devices measured additional message length imposed by cryptographic algorithms, finding that HTTP incurred greater overhead than MQTT . The overhead differences become particularly significant in bandwidth-constrained networks or high-frequency data transmission scenarios where cumulative overhead substantially impacts network utilization and energy consumption . Reliability and Packet Loss Performance Analysis of MQTT and HTTP Protocols on Low-Power ESP32 . (Syahrul A) - 43 CoreID Journal | Vol. No. March 2026: 38-37 Reliability metrics, including packet loss rates and successful delivery percentages, were reported in a subset of included studies. MQTT demonstrated advantages in reliability, particularly under challenging network conditions. Studies comparing protocols in fog/cloud scenarios found that MQTT carried data with lower packet loss compared to HTTP . Flood detection systems measured packet loss for both protocols, with MQTT showing superior reliability . MQTT's reliability advantages stem from its Quality of Service (QoS) mechanisms, which provide explicit delivery guarantees . t most once, at least once, exactly onc. and automatic retransmission at the application layer. HTTP, lacking built-in QoS mechanisms, relies on TCP's transport-layer reliability, which may be insufficient for applications requiring guaranteed message delivery or ordered processing. CONCLUSION This study conducted a Systematic Literature Review (SLR) to analyze and compare the performance of the MQTT and HTTP protocols on ESP32 devices in the context of Internet of Things (IoT) applications. Based on a literature selection process using the PRISMA 2020 guidelines, nine articles met the inclusion criteria and were used in the analysis. The study results indicate that MQTT generally performs better than HTTP in various testing areas. In terms of latency. MQTT provides lower response times than HTTP, especially in high-traffic network conditions or when using remote servers. Regarding power consumption, several studies have shown that MQTT is more energy efficient, making it more suitable for use on battery-powered IoT devices. Furthermore. MQTT has lower protocol overhead due to its lightweight publish-subscribe communication mechanism, making it more efficient for sending small, periodic sensor data. In limited network conditions, such as low bandwidth or unstable connections. MQTT also demonstrates better reliability than HTTP. The use of Quality of Service (QoS) mechanisms in MQTT helps maintain stable data communications without significantly increasing resource consumption. From a security perspective, implementing MQTT-TLS is considered more efficient than HTTPS because it results in lower additional overhead while maintaining a high level of data communication security. Nevertheless. HTTP can still be used in IoT applications that do not have specific requirements for energy efficiency, low latency, or bandwidth optimization. HTTP also offers advantages in terms of compatibility and ease of integration with conventional web services. Based on the results of this study, it can be concluded that MQTT is a more suitable communication protocol for ESP32-based IoT implementations, particularly in systems that require power efficiency, real-time communication, and optimal network utilization. However, the number of studies meeting these criteria is still limited, so further research with more diverse test scenarios is needed, particularly regarding protocol evaluation in large-scale IoT implementations and the use of the latest security technologies. REFERENCES