Analysis of Microservice Evolution Using Cohesion Metrics

  • Mateus Gabi Moreira UNICAMP
  • Breno Bernard Nicolau de França UNICAMP

Resumo


The adoption of Microservices Architecture (MSA) has increased in recent years due to several claimed benefits, such as reducing deployment complexity, supporting technology diversity, and better scalability. However, MSA is not free from maintainability issues, especially the lack of cohesion, in which microservices possibly concentrate or miss responsibilities. Also, the lack of empirically-validated cohesion metrics for MSA makes the quantitative assessment even more challenging. In this paper, we empirically explore the practical applicability of service-level cohesion metrics in an open-source MSA application context. The qualitative results show the possibility of assessing MSA cohesion using these service-level metrics, the feasibility of tracking software evolution, and an indication of possible technical debts along the way.

Palavras-chave: Cohesion Metrics, Software architecture, Software evolution, Microservices
Publicado
03/10/2022
MOREIRA, Mateus Gabi; FRANÇA, Breno Bernard Nicolau de. Analysis of Microservice Evolution Using Cohesion Metrics. In: SIMPÓSIO BRASILEIRO DE COMPONENTES, ARQUITETURAS E REUTILIZAÇÃO DE SOFTWARE (SBCARS), 16. , 2022, Uberlândia. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2022 . p. 40–49.