With the adoption of microservices architectural styles, practitioners started noticing increasing pitfalls in managing and maintaining such architectures, with the risk of introducing architectural debt. Previous studies identified different microservice smells (also named anti-patterns) that harm microservices architectures. However, according to our knowledge, there are no tools that can automatically detect microservice smells, so their identification is left to the experience of the developer. In this paper, we extend an existing tool developed for the detection of architectural smells to explore microservices architecture through the detection of three microservice smells: Cyclic Dependencies, Hard-Coded Endpoints, and Shared Persistence. We detected the smells on five open-source projects implemented with microservices and manually validated the precision of the detection results. This work aims to open new perspectives on facing and studying architectural debt in the field of microservices architectures.

Pigazzini, I., Arcelli Fontana, F., Lenarduzzi, V., Taibi, D. (2020). Towards microservice smells detection. In TechDebt '20: Proceedings of the 3rd International Conference on Technical Debt (pp.92-97). Association for Computing Machinery, Inc [10.1145/3387906.3388625].

Towards microservice smells detection

Pigazzini, I;Arcelli Fontana, F;
2020

Abstract

With the adoption of microservices architectural styles, practitioners started noticing increasing pitfalls in managing and maintaining such architectures, with the risk of introducing architectural debt. Previous studies identified different microservice smells (also named anti-patterns) that harm microservices architectures. However, according to our knowledge, there are no tools that can automatically detect microservice smells, so their identification is left to the experience of the developer. In this paper, we extend an existing tool developed for the detection of architectural smells to explore microservices architecture through the detection of three microservice smells: Cyclic Dependencies, Hard-Coded Endpoints, and Shared Persistence. We detected the smells on five open-source projects implemented with microservices and manually validated the precision of the detection results. This work aims to open new perspectives on facing and studying architectural debt in the field of microservices architectures.
paper
anti-patterns; microservice bad smells detection; microservices;
English
3rd IEEE/ACM International Conference on Technical Debt, TechDebt 2020 - 28 June 2020 through 30 June 2020
2020
TechDebt '20: Proceedings of the 3rd International Conference on Technical Debt
9781450379601
2020
92
97
reserved
Pigazzini, I., Arcelli Fontana, F., Lenarduzzi, V., Taibi, D. (2020). Towards microservice smells detection. In TechDebt '20: Proceedings of the 3rd International Conference on Technical Debt (pp.92-97). Association for Computing Machinery, Inc [10.1145/3387906.3388625].
File in questo prodotto:
File Dimensione Formato  
Pigazzini-2020-TechDebt-VoR.pdf

Solo gestori archivio

Tipologia di allegato: Publisher’s Version (Version of Record, VoR)
Licenza: Tutti i diritti riservati
Dimensione 594.92 kB
Formato Adobe PDF
594.92 kB Adobe PDF   Visualizza/Apri   Richiedi una copia

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/10281/510283
Citazioni
  • Scopus 45
  • ???jsp.display-item.citation.isi??? 32
Social impact