Architecture and Performance Antipatterns Correlation in Microservice Architectures
Microservice architecture design requires the architect to meet the needs of multiple stakeholders and to address their needs for maintainability, scalability, and availability. In the microservice architecture context, a comprehensive performance and scalability assessment is a dynamic activity, which is focused on the detection of service level metric deviations from objectives using a defined operational profile. Root cause analysis is focused on the identification of the activated microservice components given the defined load profile. Therefore, performance issues are identified by detecting dynamic deviations from the expected behaviors of the service level metric. In contrast, microservice architecture assessment focus is on identifying implicit relations among microservice components. Architecture anti-patterns are identified by detecting deviations from the defined formal design patterns. As the ultimate objective of microservice architecture design is to build high-quality applications, it would be expected that architecture refactoring based on the removal of architecture anti-patterns will result in meeting stakeholder needs of better scalability and availability. In this paper we present an empirical assessment of architecture anti-pattern detection in combination with the identification of performance issues using two state-of-the-art tools: DV8 for architecture and PPTAM for performance. We make use of Train Ticket, i.e., a benchmark microservice system, and we observed the co-occurrence of architectural (Clique) and performance (Blob) anti-patterns, noting that high coupling shows much worse performance scores. We have found strong correlation between the normalized distance performance metric and architecture coupling values using several similarity metrics. Our empirical results show that operational profile-based performance testing and analysis can be used to help prioritize architecture refactoring.
Slides (DV8_PPTAM_ICSA2025.pdf) | 1.62MiB |
Wed 2 AprDisplayed time zone: Brussels, Copenhagen, Madrid, Paris change
12:30 - 13:30 | Microservices and Cloud-Native Architectures IResearch Papers at Hall 2 (U82) Chair(s): Davide Taibi University of Oulu | ||
12:30 15mResearch paper | Architecture and Performance Antipatterns Correlation in Microservice Architectures Research Papers Alberto Avritzer eSulabSolutions, Andrea Janes Free University of Bozen-Bolzano, Catia Trubiani Gran Sasso Science Institute, Helena Rodrigues Universidade do Minho, Yuanfang Cai Drexel University, Daniel Sadoc Menasché , Álvaro José Abreu de Oliveira Pre-print File Attached | ||
12:45 15mResearch paper | Network Centrality as a New Perspective on Microservice Architecture Research Papers Alexander Bakhtin University of Oulu, Matteo Esposito University of Oulu, Valentina Lenarduzzi University of Oulu, Davide Taibi University of Oulu Pre-print | ||
13:00 15mResearch paper | How Does Microservice Granularity Impact Energy Consumption and Performance? A Controlled Experiment Research Papers Yiming Zhao Vrije Universiteit Amsterdam, The Netherlands, Tiziano De Matteis University of Pisa, Italy, Justus Bogner Vrije Universiteit Amsterdam Pre-print | ||
13:15 15mResearch paper | Affinity-aware Serverless Function Scheduling Research Papers Giuseppe De Palma Department of Computer Science and Engineering - Università di Bologna, Saverio Giallorenzo Alma Mater Studiorum - Università di Bologna / INRIA, Jacopo Mauro University of Southern Denmark, Matteo Trentin Università di Bologna, Gianluigi Zavattaro Department of Computer Science and Engineering - Università di Bologna Pre-print |