arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.08181cs.SE
收藏

ModARO:分布式微服务代码库架构重建的模块化方法

ModARO: A Modular Approach to Architecture Reconstruction of Distributed Microservice Codebases

Adelaide University(阿德莱德大学);Swordfish Computing(剑鱼计算);Singapore Management University(新加坡管理大学);Monash University(蒙纳士大学)

Oscar Manglaras, Alex Farkas, Thomas Woolford, Christoph Treude, Markus Wagner

AI总结:

ModARO通过模块化方法实现微服务架构重建,支持跨项目复用,提升架构分析的灵活性和实用性。

摘要:

微服务架构促进了小规模、独立开发的服务,但总体架构复杂性增加。开发者必须理解架构以及服务更改如何影响整个系统,但服务的快速独立开发增加了架构漂移的风险,并 discourages 文档的创建和维护。自动架构重建有助于避免这些问题,但很难在多个项目中重用重建代码,因为每个项目都使用不同的技术组合和项目特定的约定。重建架构级细节进一步复杂化,因为微服务倾向于拆分为单独的仓库,从而防止任何单个代码库提供系统的完整视图。在本文中,我们提出了并评估了ModARO,一种微服务架构重建方法,允许为任何技术编写模块化重建代码('提取器'),并在不同项目中重用它们,无论周围技术栈或服务是否拆分为多个代码库。我们通过将ModARO配置为重建10个开源项目来展示该方法的有效性,并通过与8名行业从业者进行的用户研究验证了ModARO的有用性和易用性。使用这种方法,开发者可以组装或创建针对其技术栈的提取器,并在仓库中分布架构重建,从而能够将其集成到仓库CI/CD管道中。

英文摘要:

Microservice architectures promote small, independently developed services, but increase overall architectural complexity. It is crucial that developers understand the architecture and how changes to a service affect the overall system, but rapid and independent development of services increases the risk of architectural drift and discourages the creation and maintenance of documentation. Automatic architecture reconstruction can help avoid these issues, but it is difficult to reuse reconstruction code across multiple projects, as all use different combinations of technologies and project-specific conventions. Reconstruction of architecture-level details is further complicated by the tendency to split microservices into separate repositories, preventing a full view of the system from any one codebase. In this paper, we present and evaluate ModARO, an approach to microservice architecture reconstruction that allows writing modular reconstruction code ('extractors') for any technologies and reusing them across different projects, independent of the surrounding technology stack or whether or not the services are split into multiple codebases. We demonstrate the effectiveness of our approach by configuring ModARO to reconstruct 10 open source projects, and we validate the usefulness and usability of ModARO against a state-of-the-art baseline in a user study with 8 industry practitioners. Using this approach, developers can assemble or create extractors tailored to their technology stacks and distribute architecture reconstruction across repositories, enabling integration into repository CI/CD pipelines.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑