Patterns in Design of Microservices Architecture: IT Practitioners' Perspective

Authors

  • Vadim Peczyński Gdansk University of Technology
  • Joanna Szłapczyńska Gdańsk University of Technology
  • Anna Szopińska Sii Poland

DOI:

https://doi.org/10.64552/wipiec.v11i1.101

Keywords:

Microservices architecture, MSA, Survey, Patterns, MSA design

Abstract

The literature on Microservices Architecture (MSA) outlines a range of design blueprints as well as certain detrimental practices, reflecting the diverse architectural considerations inherent in MSA design. However, it remains unclear whether and to what extent the practitioners actually adopt the good practices. The study aimed to explore how MSA practitioners apply established patterns and how they address various architectural drivers. The advantages and disadvantages of these approaches were also examined. To achieve this we conducted a survey on patterns in microservice design among a group of 77 MSA practitioners from IT companies worldwide. The survey shows a need for more accessible and standardised MSA solutions supporting MSA design phase.

References

J. Lewis and M. Fowler, “Microservices - a definition of this new architectural term,” https://martinfowler.com/articles/microservices.html, 2014, accessed: 2025-01-17.

Z. Li, C. Shang, J. Wu, and Y. Li, “Microservice extraction based on knowledge graph from monolithic applications,” Information and Software Technology, vol. 150, p. 106992, 2022. [Online]. Available: https://www.sciencedirect.com/science/article/pii/S0950584922001240 DOI: https://doi.org/10.1016/j.infsof.2022.106992

S. Newman, Building Microservices. O’Reilly Media, 2021. [Online]. Available: https://books.google.pl/books?id=aPM5EAAAQBAJ

S. Li, H. Zhang, Z. Jia, C. Zhong, C. Zhang, Z. Shan, J. Shen, and M. A. Babar, “Understanding and addressing quality attributes of microservices architecture: A systematic literature review,” Information and Software Technology, vol. 131, p. 106449, 2021. [Online]. Available: https://www.sciencedirect.com/science/article/pii/S0950584920301993 DOI: https://doi.org/10.1016/j.infsof.2020.106449

L. Qian, J. Li, X. He, R. Gu, J. Shao, and Y. Lu, “Microservice extraction using graph deep clustering based on dual view fusion,” Information and Software Technology, vol. 158, p. 107171, 2023. [Online]. Available: https://www.sciencedirect.com/science/article/pii/S0950584923000253 DOI: https://doi.org/10.1016/j.infsof.2023.107171

V. Lenarduzzi, F. Lomio, N. Saarimaki, and D. Taibi, “Does migrating a monolithic system to microservices decrease the technical debt?” Journal of Systems and Software, vol. 169, p. 110710, 2020. [Online]. Available: https://www.sciencedirect.com/science/article/pii/S0164121220301539 DOI: https://doi.org/10.1016/j.jss.2020.110710

S. S. de Toledo, A. Martini, and D. I. Sjøberg, “Identifying architectural technical debt, principal, and interest in microservices: A multiple-case study,” Journal of Systems and Software, vol. 177, p. 110968, 2021. [Online]. Available: https://www.sciencedirect.com/science/article/pii/S0164121221000650 DOI: https://doi.org/10.1016/j.jss.2021.110968

S. Newman, Monolith to Microservices: Evolutionary Patterns to Transform Your Monolith. O’Reilly Media, Incorporated, 2019. [Online]. Available: https://books.google.pl/books?id=iul3wQEACAAJ

C. Richardson, Microservices Patterns: With examples in Java. Manning, 2018. [Online]. Available: https://books.google.pl/books?id=UeK1swEACAAJ

W. Meijer, C. Trubiani, and A. Aleti, “Experimental evaluation of architectural software performance design patterns in microservices,” Journal of Systems and Software, vol. 218, p. 112183, 2024. [Online]. Available: https://www.sciencedirect.com/science/article/pii/S0164121224002279 DOI: https://doi.org/10.1016/j.jss.2024.112183

G. Vale, F. F. Correia, E. M. Guerra, T. de Oliveira Rosa, J. Fritzsch, and J. Bogner, “Designing microservice systems using patterns: An empirical study on quality trade-offs,” in 2022 IEEE 19th International Conference on Software Architecture (ICSA), March 2022, pp. 69–79. DOI: https://doi.org/10.1109/ICSA53651.2022.00015

X. Zhou, S. Li, L. Cao, H. Zhang, Z. Jia, C. Zhong, Z. Shan, and M. A. Babar, “Revisiting the practices and pains of microservice architecture in reality: An industrial inquiry,” Journal of Systems and Software, vol. 195, p. 111521, 2023. [Online]. Available: https://www.sciencedirect.com/science/article/pii/S0164121222001972 DOI: https://doi.org/10.1016/j.jss.2022.111521

S. Henning and W. Hasselbring, “Benchmarking scalability of stream processing frameworks deployed as microservices in the cloud,” Journal of Systems and Software, vol. 208, p. 111879, 2024. [Online]. Available: https://www.sciencedirect.com/science/article/pii/S0164121223002741 DOI: https://doi.org/10.1016/j.jss.2023.111879

A. Hannousse and S. Yahiouche, “Securing microservices and microservice architectures: A systematic mapping study,” Computer Science Review, vol. 41, p. 100415, 2021. [Online]. Available: https://www.sciencedirect.com/science/article/pii/S1574013721000551 DOI: https://doi.org/10.1016/j.cosrev.2021.100415

M. Matias, E. Ferreira, N. Mateus-Coelho, and L. Ferreira, “Enhancing effectiveness and security in microservices architecture,” Procedia Computer Science, vol. 239, pp. 2260–2269, 2024, cENTERIS – International Conference on ENTERprise Information Systems / ProjMAN - International Conference on Project MANagement/ HCist - International Conference on Health and Social Care Information Systems and Technologies 2023. [Online]. Available: https://www.sciencedirect.com/science/article/pii/S1877050924016612 DOI: https://doi.org/10.1016/j.procs.2024.06.417

A. S. Abdelfattah, T. Cerny, M. S. H. Chy, M. A. Uddin, S. Perry, C. Brown, L. Goodrich, M. Hurtado, M. Hassan, Y. Cai, and R. Kazman, “Multivocal study on microservice dependencies,” Journal of Systems and Software, vol. 222, p. 112334, 2025. [Online]. Available: https://www.sciencedirect.com/science/article/pii/S0164121225000020 DOI: https://doi.org/10.1016/j.jss.2025.112334

M. Waseem, P. Liang, M. Shahin, A. Di Salle, and G. Marquez, “Design, monitoring, and testing of microservices systems: The practitioners’ perspective,” Journal of Systems and Software, vol. 182, p. 111061, 2021. [Online]. Available: https://www.sciencedirect.com/science/article/pii/S0164121221001588 DOI: https://doi.org/10.1016/j.jss.2021.111061

R. Pinciroli, A. Aleti, and C. Trubiani, “Performance modeling and analysis of design patterns for microservice systems,” in 2023 IEEE 20th International Conference on Software Architecture (ICSA), 2023, pp. 35–46. DOI: https://doi.org/10.1109/ICSA56044.2023.00012

Microsoft, “Cloud design patterns,” https://learn.microsoft.com/en-us/azure/architecture/patterns/, 2025, accessed: 2025-05-10.

H. Farsi, D. Allaki, A. En-nouaary, and M. Dahchour, “Dealing with anti-patterns when migrating from monoliths to microservices: Challenges and research directions,” in 2023 IEEE 6th International Conference on Cloud Computing and Artificial Intelligence: Technologies and Applications (CloudTech), Nov 2023, pp. 1–8. DOI: https://doi.org/10.1109/CloudTech58737.2023.10366131

G. Parker, S. Kim, A. A. Maruf, T. Cerny, K. Frajtak, P. Tisnovsky, and D. Taibi, “Visualizing anti-patterns in microservices at runtime: A systematic mapping study,” IEEE Access, vol. 11, pp. 4434–4442, 2023. DOI: https://doi.org/10.1109/ACCESS.2023.3236165

S. Pulnil and T. Senivongse, “A microservices quality model based on microservices anti-patterns,” in 2022 19th International Joint Conference on Computer Science and Software Engineering (JCSSE), June 2022, pp. 1–6. DOI: https://doi.org/10.1109/JCSSE54890.2022.9836297

I. Karabey Aksakalli, T. Celik, A. B. Can, and B. Tekinerdogan, “Deployment and communication patterns in microservice architectures: A systematic literature review,” Journal of Systems and Software, vol. 180, p. 111014, 2021. [Online]. Available: https://www.sciencedirect.com/science/article/pii/S0164121221001114 DOI: https://doi.org/10.1016/j.jss.2021.111014

X. Zhao and P. Haller, “Replicated data types that unify eventual consistency and observable atomic consistency,” Journal of Logical and Algebraic Methods in Programming, vol. 114, p. 100561, 2020. [Online]. Available: https://www.sciencedirect.com/science/article/pii/S2352220820300468 DOI: https://doi.org/10.1016/j.jlamp.2020.100561

X. Zuo, Y. Su, Q. Wang, and Y. Xie, “An api gateway design strategy optimized for persistence and coupling,” Advances in Engineering Software, vol. 148, p. 102878, 2020. [Online]. Available: https://www.sciencedirect.com/science/article/pii/S0965997820304452 DOI: https://doi.org/10.1016/j.advengsoft.2020.102878

C. Lira, E. Batista, F. C. Delicato, and C. Prazeres, “Architecture for iot applications based on reactive microservices: A performance evaluation,” Future Generation Computer Systems, vol. 145, pp. 223–238, 2023. [Online]. Available: https://www.sciencedirect.com/science/article/pii/S0167739X23001036 DOI: https://doi.org/10.1016/j.future.2023.03.026

C. Richardson, “Pattern: Server-side service discovery,” https://microservices.io/patterns/server-side-discovery.html, 2024, accessed: 2024-12-06.

C. Richardson, “Pattern: Self registration,” https://microservices.io/patterns/self-registration.html, 2024, accessed: 2024-12-07.

C. Richardson, “Pattern: 3rd party registration,” https://microservices.io/patterns/3rd-party-registration.html, 2024, accessed: 2024-12-07.

M. T. Gonzalez-Aparicio, M. Younas, J. Tuya, and R. Casado, “A transaction platform for microservices-based big data systems,” Simulation Modelling Practice and Theory, vol. 123, p. 102709, 2023. [Online]. Available: https://www.sciencedirect.com/science/article/pii/S1569190X22001782 DOI: https://doi.org/10.1016/j.simpat.2022.102709

V. Vernon, Domain-driven Design Distilled. Addison-Wesley, 2016. [Online]. Available: https://books.google.pl/books?id=h0u7jwEACAAJ

S. Lima, J. Correia, F. Araujo, and J. Cardoso, “Improving observability in event sourcing systems,” Journal of Systems and Software, vol. 181, p. 111015, 2021. [Online]. Available: https://www.sciencedirect.com/science/article/pii/S0164121221001126 DOI: https://doi.org/10.1016/j.jss.2021.111015

O. Ghandour, S. El Kafhali, and M. Hanini, “Adaptive workload management in cloud computing for service level agreements compliance and resource optimization,” Computers and Electrical Engineering, vol. 120, p. 109712, 2024. [Online]. Available:https://www.sciencedirect.com/science/article/pii/S0045790624006396 DOI: https://doi.org/10.1016/j.compeleceng.2024.109712

J. Kosińska, B. Baliś, M. Konieczny, M. Malawski, and S. Zielińnski,“Toward the observability of cloud-native applications: The overview of the state-of-the-art,” IEEE Access, vol. 11, pp. 73 036–73 052, 2023. DOI: https://doi.org/10.1109/ACCESS.2023.3281860

S. Janapati, “Distributed logging architecture for microservices,”https://dzone.com/articles/distributed-logging-architecture-for-microservices, 2017, accessed: 2024-12-27

Downloads

Published

2025-09-02

How to Cite

Peczyński, V., Szłapczyńska, J., & Szopińska, A. (2025). Patterns in Design of Microservices Architecture: IT Practitioners’ Perspective. WiPiEC Journal - Works in Progress in Embedded Computing Journal, 11(1), 10. https://doi.org/10.64552/wipiec.v11i1.101