Code Vectorization and Sequence of Accesses Strategies for Monolith Microservices Identification

12/21/2022
by   Vasco Faria, et al.
0

Migrating a monolith application into a microservices architecture can benefit from automation methods, which speed up the migration and improve the decomposition results. 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 methods 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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
01/17/2022

Stepwise Migration of a Monolith to a Microservices Architecture: Performance and Migration Effort Evaluation

The agility inherent to today's business promotes the definition of soft...
research
12/21/2022

Monolith Development History for Microservices Identification: a Comparative Analysis

Recent research has proposed different approaches on the automated ident...
research
09/28/2018

New Thread Migration Strategies for NUMA Systems

Multicore systems present on-board memory hierarchies and communication ...
research
02/07/2021

Graph Neural Network to Dilute Outliers for Refactoring Monolith Application

Microservices are becoming the defacto design choice for software archit...
research
03/21/2022

Migrating CUDA to oneAPI: A Smith-Waterman Case Study

To face the programming challenges related to heterogeneous computing, I...
research
04/22/2022

From Monolith to Microservices: Static and Dynamic Analysis Comparison

One of the most challenging problems in the migration of a monolith to a...
research
05/19/2022

Chemotactically induced search and defense strategies in a tritrophic system

In this paper we study the question of the survival of a predator which ...

Please sign up or login with your details

Forgot password? Click here to reset