{"title":"用于恢复微服务架构的模型驱动架构方法:定义和评估MiSAR","authors":"Nuha Alshuqayran , Nour Ali , Roger Evans","doi":"10.1016/j.infsof.2025.107808","DOIUrl":null,"url":null,"abstract":"<div><h3>Context</h3><div>Microservice architecture is an architectural style in modern software systems, characterized by small, independent services called microservices. This architecture is ideal to facilitate rapid feature deployment. However, it presents a challenge for software engineers, who often lack a comprehensive architectural view due to the distributed nature and complex interdependencies of microservices.</div></div><div><h3>Objective</h3><div>This paper presents a Model Driven Architecture approach for MicroService Architecture Recovery called MiSAR. Building on previous work that defined a Platform Independent Metamodel, this study seeks to extend this metamodel, introduce a Platform Specific Metamodel, and establish mapping rules. The goal is to enable the semi-automatic recovery of architectural models for microservice systems.</div></div><div><h3>Methods</h3><div>An empirical study was conducted on nine microservice systems to define MiSAR’s artefacts and support semiautomatic recovery of architectural models. These artefacts are then implemented and used to semi-automatically recover the architectures of three systems. The effectiveness of MiSAR is evaluated based on metrics such as recall, precision, and F-measure, to assess the recovered models against actual architectures. We also compared the recovered architectural models with the ones documented by the developers.</div></div><div><h3>Results</h3><div>The study identified key requirements for the Platform Independent Metamodel to support comprehensive microservice architecture recovery, leading to an incremental extension of the MiSAR Platform Independent Metamodel. Mapping rules were established to effectively transform Platform Specific Models into Platform Independent ones. Furthermore, MiSAR was successfully implemented to recover architecture models. An evaluation using three systems demonstrated that MiSAR could recover architectural models with a high degree of completeness and correctness when compared with the actual architecture.</div></div><div><h3>Conclusion</h3><div>The MiSAR artefacts, including the extended Platform Independent Metamodel and mapping rules, effectively produce expressive architectural models of microservice systems. Systems confirmed MiSAR’s ability to semi-automatically recover accurate architectural models, providing a holistic view often missing in current software engineering practices.</div></div>","PeriodicalId":54983,"journal":{"name":"Information and Software Technology","volume":"186 ","pages":"Article 107808"},"PeriodicalIF":4.3000,"publicationDate":"2025-06-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"A model-driven architecture approach for recovering microservice architectures: Defining and evaluating MiSAR\",\"authors\":\"Nuha Alshuqayran , Nour Ali , Roger Evans\",\"doi\":\"10.1016/j.infsof.2025.107808\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><h3>Context</h3><div>Microservice architecture is an architectural style in modern software systems, characterized by small, independent services called microservices. This architecture is ideal to facilitate rapid feature deployment. However, it presents a challenge for software engineers, who often lack a comprehensive architectural view due to the distributed nature and complex interdependencies of microservices.</div></div><div><h3>Objective</h3><div>This paper presents a Model Driven Architecture approach for MicroService Architecture Recovery called MiSAR. Building on previous work that defined a Platform Independent Metamodel, this study seeks to extend this metamodel, introduce a Platform Specific Metamodel, and establish mapping rules. The goal is to enable the semi-automatic recovery of architectural models for microservice systems.</div></div><div><h3>Methods</h3><div>An empirical study was conducted on nine microservice systems to define MiSAR’s artefacts and support semiautomatic recovery of architectural models. These artefacts are then implemented and used to semi-automatically recover the architectures of three systems. The effectiveness of MiSAR is evaluated based on metrics such as recall, precision, and F-measure, to assess the recovered models against actual architectures. We also compared the recovered architectural models with the ones documented by the developers.</div></div><div><h3>Results</h3><div>The study identified key requirements for the Platform Independent Metamodel to support comprehensive microservice architecture recovery, leading to an incremental extension of the MiSAR Platform Independent Metamodel. Mapping rules were established to effectively transform Platform Specific Models into Platform Independent ones. Furthermore, MiSAR was successfully implemented to recover architecture models. An evaluation using three systems demonstrated that MiSAR could recover architectural models with a high degree of completeness and correctness when compared with the actual architecture.</div></div><div><h3>Conclusion</h3><div>The MiSAR artefacts, including the extended Platform Independent Metamodel and mapping rules, effectively produce expressive architectural models of microservice systems. Systems confirmed MiSAR’s ability to semi-automatically recover accurate architectural models, providing a holistic view often missing in current software engineering practices.</div></div>\",\"PeriodicalId\":54983,\"journal\":{\"name\":\"Information and Software Technology\",\"volume\":\"186 \",\"pages\":\"Article 107808\"},\"PeriodicalIF\":4.3000,\"publicationDate\":\"2025-06-03\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Information and Software Technology\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S0950584925001478\",\"RegionNum\":2,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q2\",\"JCRName\":\"COMPUTER SCIENCE, INFORMATION SYSTEMS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Information and Software Technology","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0950584925001478","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"COMPUTER SCIENCE, INFORMATION SYSTEMS","Score":null,"Total":0}
A model-driven architecture approach for recovering microservice architectures: Defining and evaluating MiSAR
Context
Microservice architecture is an architectural style in modern software systems, characterized by small, independent services called microservices. This architecture is ideal to facilitate rapid feature deployment. However, it presents a challenge for software engineers, who often lack a comprehensive architectural view due to the distributed nature and complex interdependencies of microservices.
Objective
This paper presents a Model Driven Architecture approach for MicroService Architecture Recovery called MiSAR. Building on previous work that defined a Platform Independent Metamodel, this study seeks to extend this metamodel, introduce a Platform Specific Metamodel, and establish mapping rules. The goal is to enable the semi-automatic recovery of architectural models for microservice systems.
Methods
An empirical study was conducted on nine microservice systems to define MiSAR’s artefacts and support semiautomatic recovery of architectural models. These artefacts are then implemented and used to semi-automatically recover the architectures of three systems. The effectiveness of MiSAR is evaluated based on metrics such as recall, precision, and F-measure, to assess the recovered models against actual architectures. We also compared the recovered architectural models with the ones documented by the developers.
Results
The study identified key requirements for the Platform Independent Metamodel to support comprehensive microservice architecture recovery, leading to an incremental extension of the MiSAR Platform Independent Metamodel. Mapping rules were established to effectively transform Platform Specific Models into Platform Independent ones. Furthermore, MiSAR was successfully implemented to recover architecture models. An evaluation using three systems demonstrated that MiSAR could recover architectural models with a high degree of completeness and correctness when compared with the actual architecture.
Conclusion
The MiSAR artefacts, including the extended Platform Independent Metamodel and mapping rules, effectively produce expressive architectural models of microservice systems. Systems confirmed MiSAR’s ability to semi-automatically recover accurate architectural models, providing a holistic view often missing in current software engineering practices.
期刊介绍:
Information and Software Technology is the international archival journal focusing on research and experience that contributes to the improvement of software development practices. The journal''s scope includes methods and techniques to better engineer software and manage its development. Articles submitted for review should have a clear component of software engineering or address ways to improve the engineering and management of software development. Areas covered by the journal include:
• Software management, quality and metrics,
• Software processes,
• Software architecture, modelling, specification, design and programming
• Functional and non-functional software requirements
• Software testing and verification & validation
• Empirical studies of all aspects of engineering and managing software development
Short Communications is a new section dedicated to short papers addressing new ideas, controversial opinions, "Negative" results and much more. Read the Guide for authors for more information.
The journal encourages and welcomes submissions of systematic literature studies (reviews and maps) within the scope of the journal. Information and Software Technology is the premiere outlet for systematic literature studies in software engineering.