Skip to main content
QUICK REVIEW

[论文解读] Distributed Architecture Reconstruction of Polyglot and Multi-Repository Microservice Projects

Oscar Manglaras, Alex Farkas|arXiv (Cornell University)|Feb 8, 2026
Software System Performance and ReliabilityComputer Science被引用 0
一句话总结

论文提出 ModARO,一种模块化静态分析框架,使用提取器在多代码仓库环境中重建微服务架构并将结果汇总为统一的分布式模型。

ABSTRACT

Microservice architectures encourage the use of small, independently developed services; however, this can lead to increased architectural complexity. Accurate documentation is crucial, but is challenging to maintain due to the rapid, independent evolution of services. While static architecture reconstruction provides a way to maintain up-to-date documentation, existing approaches suffer from technology limitations, mono-repo constraints, or high implementation barriers. This paper presents a novel framework for static architecture reconstruction that supports technology-specific analysis modules, called \emph{extractors}, and supports \emph{distributed architecture reconstruction} in multi-repo environments. We describe the core design concepts and algorithms that govern how extractors are executed, how data is passed between them, and how their outputs are unified. Furthermore, the framework is interoperable with existing static analysis tools and algorithms, allowing them to be invoked from or embedded within extractors.

研究动机与目标

  • 在快速发展的微服务生态系统中,激发对最新架构文档的需求。
  • 引入一个支持面向不同技术栈的提取器的模块化静态分析框架。
  • 通过实现独立仓库分析并进行事后聚合,解决多仓库重建问题。
  • 提供 API 和数据模型,以便与现有静态分析工具和工作流集成。
  • 展示分布式重建如何在实现聚合架构视图的同时,保持松散耦合。

提出的方法

  • 定义一个模块化框架,其中提取器是修改共享 JSON 基于模型的简小、无状态函数。
  • 用描述它们操作的模型实体的模式注册提取器。
  • 实现一个递归重建算法,在实体上运行提取器、合并输出并对子实体进行递归。
  • 使用聚合(合并)算法将多个模型合并为一个统一模型,并进行冲突检测。
  • 在模型聚合后引入回溯链接以解决跨仓库的关系。
  • 提供一个 API,以简化常见任务如文件扫描、数据提取和模型注入。
Figure 2 : Initialisation process of the reconstruction approach.
Figure 2 : Initialisation process of the reconstruction approach.

实验结果

研究问题

  • RQ1如何在异构技术间通过模块化提取器将架构重建泛化?
  • RQ2独立仓库分析是否可以聚合成一个连贯的全局架构而不需要紧耦合?
  • RQ3哪些数据模型和聚合策略最适合支持分布式微服务架构的重建?

主要发现

  • 基于 JSON 的模块化模型与无状态提取器支持面向技术的静态分析。
  • 提取器对模型实体进行运行,并可在提取后进行聚合,以构建统一的架构视图。
  • 分布式重建使每个仓库能够生成局部模型并聚合为全局架构,而无需集中式的全代码分析。
  • 聚合算法处理原语、对象和数组,并具备冲突检测以在合并过程中保持数据完整性。
  • 回溯链接允许在模型聚合后解析服务之间的关系,从而保持松散耦合。
  • 该框架设计为通过其提取器 API 与现有静态分析工具互操作。
Figure 3 : The createModelEntity function.
Figure 3 : The createModelEntity function.

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。