DESIGN AND MODELING

Migration from a monolith to a modular monolith or microservices: criteria for decomposition and antipatterns

Authors

  • Dmitry V. Nalimov Far Eastern Federal University, 690922, Vladivostok, Russky Island, Ajax Bay, 10
  • Bogdan D. Terekhin Far Eastern Federal University, 690922, Vladivostok, Russky Island, Ajax Bay, 10
  • Vadim S. Yashin Far Eastern Federal University, 690922, Vladivostok, Russky Island, Ajax Bay, 10

How to cite

GOST Nalimov D. V., Terekhin B. D., Yashin V. S. Migration from a monolith to a modular monolith or microservices: criteria for decomposition and antipatterns // STROITEL'NYE I DOROZHNYE MASHINY. 2025. Vol. 69. No. 12. P. 80-87.
APA Nalimov, D. V., Terekhin, B. D. & Yashin, V. S. (2025). Migration from a monolith to a modular monolith or microservices: criteria for decomposition and antipatterns. STROITEL'NYE I DOROZHNYE MASHINY, 69(12), 80-87.

Abstract

The article examines the multicriteria problem of migrating long-lived software systems from monolithic architecture to a modular monolith and microservices, with an emphasis on correct “slicing” along domain boundaries and the prevention of typical antipatterns, primarily the distributed monolith. It is shown that architectural decomposition is not an end in itself and, when transactional boundaries, dependency graphs, and load profiles are ignored, leads to increased network latency, more difficult diagnostics, and higher total cost of ownership. Based on material from 124 projects with long-term operation and a large cumulative codebase, static metrics of module coupling and stability are compared with operational indicators (latency, MTTR, deployment frequency, release incident rate) and organizational effects, including the reallocation of effort toward DevOps and contract alignment. Quantitative results reveal a nonlinear trade-off: microservices reduce local complexity and accelerate the release cycle, but can nearly double response time and significantly increase infrastructure costs, while simultaneously increasing teams’ cognitive load; the modular monolith demonstrates a more balanced profile, providing a noticeable reduction in coupling with minimal performance degradation. The material enables an assessment of the relevance of architectural strategy choices depending on availability requirements, team scale, and the maturity of observability and platform engineering practices.

Keywords

migration monolith modular monolith microservices antipatterns

References

Агапов А.А., Патенко М.Е. Переход от монолита к микросервисам: шаги и стратегии миграции // Цифровые инфокоммуникационные технологии: сборник научных трудов IV Международной научно-практической конференции. В 2 т. Ростов-на-Дону, 2024. Т. 1. С. 17-21.

Атланова Е. Монолит // Иосиф Стернин: Ученый. Педагог. Просветитель. Человек. К 75-летию со дня рождения. Воронеж, 2023. С. 208-209.

Большаков Ю.В., Денисенко А.С. Повышение эффективности монолитного домостроения // Актуальные проблемы современной науки, техники и образования. 2011. Т. 2. № 69. С. 220-222.

Глухов А.Ю. Развитие монолитного строительства в России // Межвузовский сборник трудов молодых ученых, аспирантов и студентов. Омск, 2007. С. 64-67.

Дьяконов Д.А. Переход от монолитной к микросервисной архитектуре // Проблемы управления в социально-экономических и технических системах: материалы XVII Международной научно-практической конференции. Саратов, 2021. С. 119-122.

Заварзин А.С. Миграция веб приложений с монолитной на микросервисную архитектуру // Проблемы управления в социально-экономических и технических системах: материалы XVII Международной научно-практической конференции. Саратов, 2021. С. 21-23.

Киянец А.В. Технология устройства монолитных полов на основе магнезиальных растворов при различных температурах: автореф. дис. ... канд. техн. наук. Челябинск, 2006. 18 с.

Колмыков Ф.А., Кейно П.П. Сравнение подходов к организации обмена сообщениями в микросервисной архитектуре для декомпозиции монолитного приложения // Гагаринские чтения 2020: сборник тезисов докладов. М., 2020. С. 441-442.

Кузнецов И.С., Заводнова Е.Б. Сравнительный анализ технологии монолитного и модульного строительства // Неделя науки ИСИ: сборник материалов Всероссийской конференции. СПб., 2023. С. 172-175.

Павликова Е.А. Микросервисная и монолитная архитектуры приложения. Основные принципы и особенности // Актуальные проблемы прикладной математики, информатики и механики: сборник трудов Международной научной конференции. Воронеж, 2019. С. 426-429.

Сенин Н.И., Кияшко В.Ю. Испытания фрагмента многоэтажного монолитного здания // Жилищное строительство. 1990. № 12. С. 17-18.

Metrics

155 views
0 downloads
Want to publish with us?
Submit an article

Machine-readable metadata

Most read articles by the same author(s)