Code Vectorization and Sequence of Accesses Strategies for Monolith Microservices Identification


연구 분야: Software Development



학회: International Conference on Web Engineering


초록

Migrating a monolithic application to a microservice architecture can benefit from automated methods that accelerate migration and improve the results of decomposition. One of the current approaches that guide software architects on the migration is to group monolith domain entities into microservices, using the sequences of accesses of the monolith functionalities to the domain entities. In this paper, we enrich the sequence of accesses solution by applying code vectorization to the monolith, using the Code2Vec neural network model. We apply Code2Vec to vectorize the monolith functionalities. We propose two strategies to represent a functionality, one by aggregating its call graph method vectors and the other by extending the sequence of accesses approach with vectorization of the accessed entities. To evaluate these strategies, we compare the proposed strategies with the sequence of accesses strategy and an existing approach that uses class vectorization. We run all these strategies over a large set of codebases and then compare the results of their decompositions in terms of cohesion, coupling, and complexity.


Author Profile
Vasco Faria

INESC-ID Instituto Superior Técnico University of Lisbon Lisbon Portugal

Indonesia
Author Profile
António Rito Silva

INESC-ID Instituto Superior Técnico University of Lisbon Lisbon Portugal

Indonesia

📄 논문 정보

발행 연도 2023년
인용수 0
출판 국가 Indonesia
사이트 Springer
좋아요 수 0

연관 논문 목록 (27건)