TUTCRIS - Tampereen teknillinen yliopisto

TUTCRIS

Algorithm for detecting antipatterns in microservices projects

Tutkimustuotosvertaisarvioitu

Yksityiskohdat

AlkuperäiskieliEnglanti
OtsikkoSSSME-2019
AlaotsikkoJoint Proceedings of the Inforte Summer School on Software Maintenance and Evolution
KustantajaCEUR-WS
Sivut21-29
Sivumäärä9
TilaJulkaistu - 2019
OKM-julkaisutyyppiA4 Artikkeli konferenssijulkaisussa
TapahtumaJoint of the Summer School on Software Maintenance and Evolution - Tampere, Suomi
Kesto: 2 syyskuuta 20194 syyskuuta 2019

Julkaisusarja

NimiCEUR Workshop Proceedings
Vuosikerta2520
ISSN (painettu)1613-0073

Conference

ConferenceJoint of the Summer School on Software Maintenance and Evolution
MaaSuomi
KaupunkiTampere
Ajanjakso2/09/194/09/19

Tiivistelmä

When migrating from a monolithic to a microservice-based architecture, one need to know patterns and antipatterns in order not to propagate old practices learned from centralized systems to a new structure where services are independent and distributed. We select 5 known antipatterns in microservices-based solutions and propose an algorithm for detecting them automatically. In a first round, all classes, methods and imports are registered and associated to its location in the source code. In a second round the usage of these resources is mapped and antipatterns are detected. The algorithm is also responsible for generating visual output of how resources are used in the project, so the developers can manage how resources are distributed in different files or concentrated in few ones. The solution can avoid common mistakes when deploying microservices-based projects and can help project managers to get an overview of the system as a whole. The algorithm is tested in a well-known open source project revealing possible improvements and resource allocation information.

!!ASJC Scopus subject areas

Tutkimusalat

Julkaisufoorumi-taso

Latausten tilastot

Ei tietoja saatavilla