Network Centrality as a New Perspective on Microservice Architecture
Context: Over the past decade, the adoption of Microservice Architecture (MSA) has led to the identification of various patterns and anti-patterns, such as Nano/Mega/Hub services. Detecting these anti-patterns often involves modeling the system as a Service Dependency Graph (SDG) and applying graph-theoretic approaches.
Aim: While previous research has explored software metrics (SMs) such as size, complexity, and quality for assessing MSAs, the potential of graph-specific metrics like network centrality remains largely unexplored. This study investigates whether centrality metrics (CMs) can provide new insights into MSA quality and facilitate the detection of architectural anti-patterns, complementing or extending traditional SMs.
Method: We analyzed 24 open-source MSA projects, reconstructing their architectures to study 53 microservices. We measured SMs and CMs for each microservice and tested their correlation to determine the relationship between these metric types.
Results and Conclusion: Among 902 computed metric correlations, we found weak to moderate correlation in 282 cases. These findings suggest that centrality metrics offer a novel perspective for understanding MSA properties. Specifically, ratio-based centrality metrics show promise for detecting specific anti-patterns, while subgraph centrality needs further investigation for its applicability in architectural assessments.
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 |