DOI QR코드

DOI QR Code

Performance Comparison of HTTP, HTTPS, and MQTT for IoT Applications

  • Sukjun, Hong (Department of Smart System, Kwangwoon University) ;
  • Jinkyu, Kang (TSP-XR) ;
  • Soonchul, Kwon (Graduate School of Smart Convergence, Kwangwoon University)
  • Received : 2022.12.06
  • Accepted : 2022.12.12
  • Published : 2023.03.31

Abstract

Recently, IoT technology has been widely used in many industries. Also research on integrating IoT technology with IoT sensors is actively underway. One of the important challenges in IoT is to support low-latency communication. With the development of communication networks and protocols, a variety of protocols are being used, and their performance is improving. In this paper, we compare the performance and analyze the characteristics of some of the major communication protocols in IoT application, namely MQTT, HTTP, and HTTPS. IoT sensors acquired data by connecting an Arduino equipped with ESP8266 and a temperature and humidity sensor (DHT11). The server measured the performance by building servers for each protocol using AWS EC2. We analyzed the packets transmitted between the Arduino and the server during the data transmission. We measured the amount of data and transfer time. The measurement results showed that MQTT had the lowest data transmission time and data amount among the three protocols.

Keywords

Acknowledgement

This work was partly supported by Institute of Information & communications Technology Planning & Evaluation(IITP) grant funded by the Korea government(MSIT) (No.RS-2022-00156041, Development of object/drawing technology and web application for augmented reality interior service). And the present research has been conducted by the excellent researcher support project of Kwangwoon University in 2022

References

  1. B. Mishra and A. Kertesz, "The Use of MQTT in M2M and IoT Systems: A Survey," IEEE Access, .Vol. 8, pp. 201071-201086, 2020. DOI: https://doi.org/10.1109/ACCESS.2020.3035849
  2. I. Hedi, I. Speh and A. Sarabok "IoT network protocols comparison for the purpose of IoT constrained networks", 2017 40th International Convention on Information and Communication Technology, Electronics and Microelectronics (MIPRO). IEEE, May-2017. DOI: https://doi.org/10.23919/MIPRO.2017.7973477
  3. A. Javed, H. Larijani, and A. Wixted, "Improving Energy Consumption of a Commercial Building with IoT and Machine Learning," IT Professional, Vol. 20, No. 5. pp. 30-38, Sep-2018. DOI: https://doi.org/10.1109/MITP.2018.053891335
  4. N. Naik, "Choice of effective messaging protocols for IoT systems: MQTT, CoAP, AMQP and HTTP," 2017 IEEE International Systems Engineering Symposium (ISSE). IEEE, Oct-2017. DOI: https://doi.org/10.1109/SysEng.2017.8088251
  5. D. Glaroudis, A. Iossifides, and P. Chatzimisios, "Survey, comparison and research challenges of IoT application protocols for smart farming," Computer Networks, Vol. 168. Elsevier BV, p. 107037, Feb-2020. DOI: https://doi.org/10.1016/j.comnet.2019.107037
  6. N. Q. Uy and V. H. Nam, "A comparison of AMQP and MQTT protocols for Internet of Things," 2019 6th NAFOSTED Conference on Information and Computer Science (NICS). IEEE, Dec-2019. DOI: https://doi.org/10.1109/NICS48868.2019.9023812
  7. R. A. Atmoko, R. Riantini, and M. K. Hasin, "IoT real time data acquisition using MQTT protocol," Journal of Physics: Conference Series, Vol. 853. IOP Publishing, p. 012003, May-2017. DOI: https://doi.org/10.1088/1742-6596/853/1/012003
  8. J. Sidna, B. Amine, N. Abdallah, and H. El Alami, "Analysis and evaluation of communication Protocols for IoT Applications," Proceedings of the 13th International Conference on Intelligent Systems: Theories and Applications. ACM, 23-Sep-2020. DOI: https://doi.org/10.1145/3419604.3419754
  9. C. B. Gemirter, C. Senturca, and S. Baydere, "A Comparative Evaluation of AMQP, MQTT and HTTP Protocols Using Real-Time Public Smart City Data," 2021 6th International Conference on Computer Science and Engineering (UBMK). IEEE, 15-Sep-2021. DOI: https://doi.org/10.1109/UBMK52708.2021.9559032
  10. T. Yokotani and Y. Sasaki, "Comparison with HTTP and MQTT on required network resources for IoT," 2016 International Conference on Control, Electronics, Renewable Energy and Communications (ICCEREC). IEEE, Sep-2016. DOI: https://doi.org/10.1109/ICCEREC.2016.7814989
  11. S. Calzavara, R. Focardi, M. Nemec, A. Rabitti, and M. Squarcina, "Postcards from the Post-HTTP World: Amplification of HTTPS Vulnerabilities in the Web Ecosystem," 2019 IEEE Symposium on Security and Privacy (SP). IEEE, May-2019. DOI: https://doi.org/10.1109/SP.2019.00053
  12. R. K. Kodali and S. Soratkal, "MQTT based home automation system using ESP8266," 2016 IEEE Region 10 Humanitarian Technology Conference (R10-HTC). IEEE, Dec-2016. DOI: https://doi.org/10.1109/R10-HTC.2016.7906845
  13. D. Dinculeana and X. Cheng, "Vulnerabilities and Limitations of MQTT Protocol Used between IoT Devices," Applied Sciences, Vol. 9, No. 5. MDPI AG, p. 848, 27-Feb-2019. DOI: https://doi.org/10.3390/app9050848
  14. U. Hunkeler, H. L. Truong, and A. Stanford-Clark, "MQTT-S - A publish/subscribe protocol for Wireless Sensor Networks," 2008 3rd International Conference on Communication Systems Software and Middleware and Workshops (COMSWARE '08). IEEE, Jan-2008. DOI: https://doi.org/10.1109/COMSWA.2008.4554519