Microservice Communication for IoT-based Systems. Architecture Review and Performance Test

Authors

DOI:

https://doi.org/10.18372/1990-5548.74.17311

Keywords:

internet of things, communication protocols, performance evaluating, microservice communication, MQTT, HTTP, AMQP, GRPC

Abstract

One of the most important things in IoT system development is the right communication technologies and protocols. Communication of modern IoT systems can be divided into two main parts: device-to-cloud communication and communication between cloud microservices (application level). In this study, the authors designed a test-system environment for evaluating the performance of the existing transmitting protocols for the cloud microservices communication. The proposed environment allows emulate of IoT systems with low network latency which allows evaluating and comparing protocols performance. The authors provide tests for the most popular application-level protocols: HTTP, MQTT, AMQP, and GRPC. The performance evaluation was performed based on such metrics: throughput, concurrency, scalability, transmitting size, and init connection time. The obtained experimental results and testing environment can be used for the efficient design of microservice communication.

Author Biographies

Ihor Zakutynskyi, National Aviation University, Kyiv, Ukraine

PhD student

Radio Electronic Devices and Systems Department

Faculty of Air-navigation, Electronics and Telecommunications

Ihor Rabodzei, National Aviation University, Kyiv, Ukraine

Master's

Department of Information Technology Security

Faculty of Cyber Security, Computer and Software Engineering

References

Mohammad Nasan. (2022, May). State of IoT – May 2022. [Online]. Available: https://iot-analytics.com/number-connected-iot-devices.

Wikipedia contributors. (2023, February 2). World Wide Web Consortium. Wikipedia. [Online]. Available: https://en.wikipedia.org/wiki/World_Wide_Web_Consortium.

U. Zdun, E. Navarro, and F. Leymann, "Ensuring and Assessing Architecture Conformance to Microservice Decomposition Patterns," In Maximilien, M., Vallecillo, A., Wang, J., Oriol, M. (eds) Service-Oriented Computing. ICSOC 2017. Lecture Notes in Computer Science(), vol. 10601, Springer, Cham. https://doi.org/10.1007/978-3-319-69035-3_29.

Guadalupe Ortiz, Juan Boubeta-Puig, Javier Criado, David Corral-Plaza, Alfonso Garcia-de-Prado, Inmaculada Medina-Bulo, and Luis Iribarne, "A microservice architecture for real-time IoT data processing: A reusable Web of things approach for smart ports," Computer Standards & Interfaces, vol. 81, 2022, 103604, ISSN 0920-5489, https://doi.org/10.1016/j.csi.2021.103604.

Joel Fernandes,& Ivo Lopes, & Joel Rodrigues, & Sana Ullah, "Performance evaluation of RESTful web services and AMQP protocol," International Conference on Ubiquitous and Future Networks, ICUFN, 2013. https://doi.org/10.1109/ICUFN.2013.6614932

Charlie Wang, HTTP vs MQTT: A tale of two IoT protocols, 2018, November. [Online]. Available: https://cloud.google.com/blog/products/iot-devices/http-vs-mqtt-a-tale-of-two-iot-protocols

Marek Bolanowski, & Kamil Żak, & Andrzej Paszkiewicz, & Maria Ganzha, & Marcin Paprzycki, & Piotr Sowiński, & Ignacio Lacalle Úbeda, & Carlos Palau, Eficiency of REST and gRPC realizing communication tasks in microservice-based ecosystems, 2022. 10.48550/arXiv.2208.00682. https://doi.org/10.3233/FAIA220242

Cavide Gemirter, & Sebnem Baydere, A Comparative Evaluation of AMQP, MQTT and HTTP Protocols Using Real-Time Public Smart City Data, 2021. https://doi.org/10.1109/UBMK52708.2021.9559032.

Downloads

Published

2022-12-29

Issue

Section

TELECOMMUNICATIONS AND RADIO ENGINEERING