Optimizing microservices design pattern: maximizing communication speed and prolonging application longevity
DOI:
https://doi.org/10.20535/SRIT.2308-8893.2026.1.02Keywords:
microservice, application design, communication speed, domain-driven, monolith application, application life cycle, event, message bus, osi model, delivery, guarantee, application layerAbstract
Microservice oriented application design obtained popularity in the past years. Most researchers investigated some aspects in microservice design for implementing application functionality. Little research considered the core functionality of microservices. This research investigates how to construct a microservice communication system by yourself in detail. The results should assist developers and architects to construct their own microservice applications, use less amount of frameworks and therefore prolong overall microservice system life cycle. The standard TCP/IP connection and embedded libraries were used to construct the communication system without using any additional frameworks. As a practical application of this methodology a microservice core system was implemented with a minimum number of microservices to perform performance testing. The measured application layer communication speed turned out to exceed the speed in real application because of database operation limitations. The implemented microservice core system is intended to be used in financial commercial applications as well as in further scientific investigations.References
O.O. Petrenko, “A comparison of architecture types of services,” System Research and Information Technologies, no. 4, pp. 48–62, 2015.
Wan Yan, Fu Shuai, “Application of Microservice Architecture in Commodity ERP Fi-nancial System,” International Journal of Computer Theory and Engineering, vol. 14, no. 4, November 2022, pp. 168–173. doi: https://orcid.org/10.7763/IJCTE.2022.V14.1324
I Gede Rahmat Wijaya, Ahmad Nurul Fajar, “A Design Study of Microservice Architec-ture on White Label Travel Platform,” Journal of System and Management Sciences, vol.13, no. 4, pp. 249–264, 2023. doi: https://orcid.org/10.33168/JSMS.2023.0415
Eman Daraghmi, Cheng-Pu Zhang, Shyan-Ming Yuan, “Enhancing Saga Pattern for Distributed Transactions within a Microservices Architecture,” Applied Sciences (Swit-zerland), vol. 12, issue 12, June-2 2022, Article number 6242, pp. 1–24. doi: https://orcid.org/10.3390/app12126242
Juan Arcila-Diaz, Carlos Valdivia, “A Microservice-based Software Architecture for Im-proving the Availability of Dental Health Records,” International Journal of Compu-ting, vol. 21, issue 4, pp. 475–481, 2022. doi: https://orcid.org/10.47839/ijc.21.4.2783
John Zaki, S.M. Riazul Islam, Norah Saleh Alghamdi, M. Abdullah-Al-Wadud, Kyung-Sup Kwak, “Introducing Cloud-Assisted Micro-Service-Based Software Devel-opment Framework for Healthcare Systems,” IEEE Access, vol. 10, March 22, 2022, pp. 33332–33348. doi: https://orcid.org/10.1109/ACCESS.2022.3161455
Zhongyi Lu, Declan T. Delaney, David Lillis, “A Survey on Microservices Trust Mod-els for Open Systems,” IEEE Access, vol. 11, March 23, 2023, pp. 28840–28855. doi: https://orcid.org/10.1109/ACCESS.2023.3260147
Randa Ahmad Al-Wadi, Adi A. Maaita, “Authentication and Role-Based Microservice Architecture: A Generic Performance-Centric Design,” Journal of Advances in Infor-mation Technology, vol. 14, no. 4, pp. 758–768, 2023. doi: https://orcid.org/10.12720/jait.14.4.758-768
Ahmet Vedat Tokmak, Akhan Akbulut, Cagatay Catal, “Boosting the visibility of ser-vices in microservice architecture,” Cluster Computing, vol. 27, pp. 3099–3111, Sep-tember 18, 2023. doi: https://orcid.org/10.1007/s10586-023-04132-5
Iury Araujo, Nuno Antunes, Marco Vieira, “Evaluation of Machine Learning for Intru-sion Detection in Microservice Applications,” LADC '23: Proceedings of the 12th Lat-in-American Symposium on Dependable and Secure Computing, pp. 126–135, October 17, 2023. doi: https://orcid.org/10.1145/3615366.3615375
Wesley K.G. Assunção, Jacob Krüger, Sébastien Mosser, Sofiane Selaoui, “How do mi-croservices evolve? An empirical analysis of changes in open-source microservice reposi-tories,” The Journal of Systems & Software, vol. 204, October 2023, 111788, pp. 1–14. doi: https://orcid.org/10.1016/j.jss.2023.111788
Francisco Ponce, Jacopo Soldani, Hernán Astudillo, Antonio Brogi, “Smells and Refac-torings for Microservices Security: A Multivocal Literature Review,” Journal of Systems and Software, vol. 192, October 2022, 111393, pp. 1–18. doi: https://orcid.org/10.1016/j.jss.2022.111393
Eric Evans, Domain-Driven Design: Tackling Complexity in the Heart of Software. Boston: Addison-Wesley, 2004, 501 p.
Vaughn Vernon, Domain-Driven Design Distilled. Boston: Addison-Wesley, 2016, 136 p.
Victor Velepucha, Pamela Flores, “A Survey on Microservices Architecture Principles, Patterns and Migration Challenges,” IEEE Access, vol. 11, 15 August 2023, pp. 88339–88358. doi: https://orcid.org/10.1109/ACCESS.2023.3305687
Kafka documentation. Available: https://kafka.apache.org/documentation/
RabbitMQ documentation. Available: https://www.rabbitmq.com/docs/documentation
OSI Model. Available: https://www.javatpoint.com/osi-model
What is TCP/IP? Available: https://www.techtarget.com/searchnetworking/definition/TCP-IP
Introducing JSON. Available: https://www.json.org/json-en.html
Tomas Cerny, Amr S. Abdelfattah, Abdullah Al Maruf, Andrea Janes, Davide Taibi, “Catalog and detection techniques of microservice anti-patterns and bad smells: A ter-tiary study,” The Journal of Systems & Software, 206 (5):111829, December 2023, pp. 2–43. doi: https://orcid.org/10.1016/j.jss.2023.111829