Microservice Communication for IoT-based Systems. Architecture Review and Performance Test
DOI:
https://doi.org/10.18372/1990-5548.74.17311Keywords:
internet of things, communication protocols, performance evaluating, microservice communication, MQTT, HTTP, AMQP, GRPCAbstract
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.
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
Issue
Section
License
Authors who publish with this journal agree to the following terms:
Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).