English

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

Software Engineering 2022-01-20 v1

Abstract

The agility inherent to today's business promotes the definition of software architectures where the business entities are decoupled into modules and/or services. However, there are advantages in having a rich domain model, where domain entities are tightly connected, because it fosters an initial quick development. On the other hand, the split of the business logic into modules and/or services, its encapsulation through well-defined interfaces and the introduction of inter-service communication introduces a cost in terms of performance. In this paper we analyze the stepwise migrating of a monolith, using a rich domain object, into a microservice architecture, where a modular monolith architecture is used as an intermediate step. The impact on the migration effort and on performance is measured for both steps. Current state of the art analyses the migration of monolith systems to a microservices architecture, but we observed that migration effort and performance issues are already significant in the migration to a modular monolith. Therefore, a clear distinction is established for each one of the steps, which may inform software architects on the planning of the migration of monolith systems. In particular, the trade-offs of doing all the migration process or just migrating to a modular monolith.

Keywords

Cite

@article{arxiv.2201.07226,
  title  = {Stepwise Migration of a Monolith to a Microservices Architecture: Performance and Migration Effort Evaluation},
  author = {Diogo Faustino and Nuno Gonçalves and Manuel Portela and António Rito Silva},
  journal= {arXiv preprint arXiv:2201.07226},
  year   = {2022}
}

Comments

12 pages, 1 figure, 5 tables

R2 v1 2026-06-24T08:54:21.340Z