A Complexity Metric for Microservices Architecture Migration

被引:18
|
作者
Santos, Nuno [1 ]
Silva, Antonio Rito [1 ]
机构
[1] Univ Lisbon, INESC ID, DEI, IST, Lisbon, Portugal
关键词
Monolith applications; Microservices; Complexity metrics; Architecture migration; Architecture evolution; SUITE;
D O I
10.1109/ICSA47634.2020.00024
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Monolith applications tend to be difficult to deploy, upgrade, maintain, and understand. Microservices, on the other hand, have the advantages of being independently developed, tested, deployed, scaled and, more importantly, easier to change and maintain. This paper addresses the problem of migrating a monolith to a microservices architecture. Therefore, we address two research questions: (1) Can we define the cost of decomposition in terms of the effort to redesign a functionality, which is implemented in the monolith as an ACID transaction, into several distributed transactions? (2) Considering several similarity measures between domain entities, which provide a better decomposition when they are compared using the proposed complexity metric? To answer the first research question, we propose a complexity metric, for each functionality of the monolith application, that measures the impact of relaxing the functionality consistency on the architecture redesign and implementation. Regarding the second research question, we experiment with four similarity measures, each based on a different type of information collected from monolith functionality implementation. We evaluated our approach with three monolith systems and compared our complexity metric against industry metrics of cohesion and coupling. We also evaluated the different similarity measures in terms of the complexity of the decomposition they produce. We were able to correctly correlate the complexity metric with other metrics of cohesion and coupling defined in other research and we conclude that no single combination of similarity measures outperforms the other, which is confirmed by the existing research. Additionally, we conclude that the approach can help on an incremental migration to microservices, which, actually, is the strategy proposed by the industry experts.
引用
收藏
页码:169 / 178
页数:10
相关论文
共 50 条
  • [1] Performance and complexity comparison of service oriented architecture and microservices architecture
    Raj, Vinay
    Sadam, Ravichandra
    [J]. INTERNATIONAL JOURNAL OF COMMUNICATION NETWORKS AND DISTRIBUTED SYSTEMS, 2021, 27 (01) : 100 - 117
  • [2] Assessing the Impact of Migration from SOA to Microservices Architecture
    Raj V.
    Bhukya H.
    [J]. SN Computer Science, 4 (5)
  • [3] Microservices Architecture Enables DevOps Migration to a Cloud-Native Architecture
    Balalaie, Armin
    Heydarnoori, Abbas
    Jamshidi, Pooyan
    [J]. IEEE SOFTWARE, 2016, 33 (03) : 42 - 52
  • [4] A Survey on Microservices Architecture: Principles, Patterns and Migration Challenges
    Velepucha, Victor
    Flores, Pamela
    [J]. IEEE ACCESS, 2023, 11 : 88339 - 88358
  • [5] A Framework for Migration of SOA based Applications to Microservices Architecture
    Raj, Vinay
    [J]. JOURNAL OF COMPUTER SCIENCE & TECHNOLOGY, 2021, 21 (02): : 196 - 198
  • [6] Patterns for Migration of SOA Based Applications to Microservices Architecture
    Raj, Vinay
    Sadam, Ravichandra
    [J]. JOURNAL OF WEB ENGINEERING, 2021, 20 (05): : 1229 - 1245
  • [7] Monolith Migration Complexity Tuning Through the Application of Microservices Patterns
    Almeida, Joao Franscisco
    Silva, Antonio Rito
    [J]. SOFTWARE ARCHITECTURE (ECSA 2020), 2020, 12292 : 39 - 54
  • [8] Cognitive complexity points: a metric to evaluate the design of microservices-based applications
    Vera-Rivera, Fredy H.
    [J]. INGENIERIA Y COMPETITIVIDAD, 2024, 26 (01):
  • [9] Matrix Clustering based Migration of System Application to Microservices Architecture
    Ghayyur, Shahbaz Ahmed Khan
    Razzaq, Abdul
    Ullah, Saeed
    Ahmed, Salman
    [J]. INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2018, 9 (01) : 284 - 296
  • [10] Microservices Architecture: Case on the Migration of Reservation-based Parking System
    Yugopuspito, Pujianto
    Panduwinata, Frans
    Sutrisno
    [J]. 2017 17TH IEEE INTERNATIONAL CONFERENCE ON COMMUNICATION TECHNOLOGY (ICCT 2017), 2017, : 1827 - 1831