Cromlech: Semi-Automated Monolith Decomposition Into Microservices

被引:3
作者
Quattrocchi, Giovanni [1 ]
Cocco, Davide [1 ]
Staffa, Simone [1 ]
Margara, Alessandro [1 ]
Cugola, Gianpaolo [1 ]
机构
[1] Politecn Milan, Dipartimento Elettron Informaz & Bioingn, I-20133 Milan, Italy
关键词
Microservice architectures; Costs; Computer architecture; Semantics; Optimization; Software systems; Manuals; Service decomposition; service modeling; software architectures; microservice architecture;
D O I
10.1109/TSC.2024.3354457
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Microservices architectures conceive an application as a composition of loosely-coupled sub-systems that are developed, deployed, maintained, updated, and scaled independently. Compared to monoliths, microservices speed up evolution and increase flexibility. For these reasons they are becoming the reference architecture for many practitioners. A key challenge to embrace a microservices architecture is how to decompose an application into microservices: a choice that deeply affects all subsequent development phases in ways that are difficult to foresee and evaluate. Without any tool to support their reasoning, developers may erroneously evaluate the various alternatives, leading to inaccurate decomposition choices that would result in increased development, operations, and maintenance costs. This paper tackles the problem with Cromlech, a semi-automatic tool to decompose a software system into microservices. Cromlech (i) takes in input a high-level model of the system in terms of functionalities and data entities accessed by those functionalities, (ii) formulates decomposition as an optimization problem, and (iii) outputs a proposed placement of functionalities and data onto microservices, using a visual representation that helps reasoning on the resulting architecture. Cromlech evaluates design concerns, communication overheads, data management requirements, opportunities and costs of data replication. Our evaluation on a real-world industrial application shows that Cromlech consistently delivers more efficient solutions than simple heuristics and state-of-the-art approaches, and provides useful insights to developers.
引用
收藏
页码:466 / 481
页数:16
相关论文
共 29 条
[21]   Improving microservices extraction using evolutionary search [J].
Sellami, Khaled ;
Ouni, Ali ;
Saied, Mohamed Aymen ;
Bouktif, Salah ;
Mkaouer, Mohamed Wiem .
INFORMATION AND SOFTWARE TECHNOLOGY, 2022, 151
[22]   From Monolithic Architecture Style to Microservice one Based on a Semi-automatic Approach [J].
Selmadji, Anfel ;
Seriai, Abdelhak-Djamel ;
Bouziane, Hinde Lilia ;
Mahamane, Rahina Oumarou ;
Zaragoza, Pascal ;
Dony, Christophe .
IEEE 17TH INTERNATIONAL CONFERENCE ON SOFTWARE ARCHITECTURE (ICSA 2020), 2020, :157-168
[23]   The Economics of Microservices [J].
Singleton, Andy .
IEEE CLOUD COMPUTING, 2016, 3 (05) :16-20
[24]   Pangaea: Semi-automated Monolith Decomposition into Microservices [J].
Staffa, Simone ;
Quattrocchi, Giovanni ;
Margara, Alessandro ;
Cugola, Gianpaolo .
SERVICE-ORIENTED COMPUTING (ICSOC 2021), 2021, 13121 :830-838
[25]   From Monolithic Systems to Microservices: A Decomposition Framework based on Process Mining [J].
Taibi, Davide ;
Systa, Kari .
CLOSER: PROCEEDINGS OF THE 9TH INTERNATIONAL CONFERENCE ON CLOUD COMPUTING AND SERVICES SCIENCE, 2019, :153-164
[26]   Microservices [J].
Thoenes, Johannes .
IEEE SOFTWARE, 2015, 32 (01) :116-+
[27]  
Wohlin C, 2006, WEB ENGINEERING, P409, DOI 10.1007/3-540-28218-1_13
[28]   Fault Analysis and Debugging of Microservice Systems: Industrial Survey, Benchmark System, and Empirical Study [J].
Zhou, Xiang ;
Peng, Xin ;
Xie, Tao ;
Sun, Jun ;
Ji, Chao ;
Li, Wenhai ;
Ding, Dan .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2021, 47 (02) :243-260
[29]   Microservices tenets: Agile approach to service development and deployment [J].
Zimmermann O. .
Zimmermann, Olaf (ozimmerm@hsr.ch), 1600, Springer Verlag (32) :301-310