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

从单体到微服务:分解框架的比较评估

From Monolith to Microservices: A Comparative Evaluation of Decomposition Frameworks

University of Moratuwa(莫鲁图瓦大学);WSO2 LLC(WSO2有限公司)

Mineth Weerasinghe, Himindu Kularathne, Methmini Madhushika, Danuka Lakshan, Nisansa de Silva, Adeesha Wijayasiri, Srinath Perera

AI总结:

本文通过统一评估框架,比较了不同微服务分解方法,发现HDBScan在分解质量上表现最优。

摘要:

通过从单体架构迁移到微服务的软件现代化已成为日益关键,但确定有效的服务边界仍是一个复杂且未解决的挑战。尽管已经提出了许多自动微服务分解框架,但它们的评估往往碎片化,由于不一致的基准系统、不兼容的指标和有限的可重复性,从而阻碍了客观比较。本文提出了一种统一的比较评估,涵盖了最先进的微服务分解方法,包括静态、动态和混合技术。使用一致的指标计算管道,我们通过结构模块度(SM)、接口数(IFN)、跨分区通信(ICP)、非极值分布(NED)等指标,在广泛使用的基准系统(JPetStore、AcmeAir、DayTrader和Plants)上评估分解质量。我们的分析结合了先前研究中报告的结果和可用重复包中实验重现的输出。发现基于层次聚类的方法,特别是HDBScan,在基准测试中产生最一致的分解,实现了强模块度,同时最小化通信和接口开销。

英文摘要:

Software modernisation through the migration from monolithic architectures to microservices has become increasingly critical, yet identifying effective service boundaries remains a complex and unresolved challenge. Although numerous automated microservice decomposition frameworks have been proposed, their evaluation is often fragmented due to inconsistent benchmark systems, incompatible metrics, and limited reproducibility, thus hindering objective comparison. This work presents a unified comparative evaluation of state-of-the-art microservice decomposition approaches spanning static, dynamic, and hybrid techniques. Using a consistent metric computation pipeline, we assess the decomposition quality across widely used benchmark systems (JPetStore, AcmeAir, DayTrader, and Plants) using Structural Modularity (SM), Interface Number(IFN), Inter-partition Communication (ICP), Non-Extreme Distribution (NED), and related indicators. Our analysis combines results reported in prior studies with experimentally reproduced outputs from available replication packages. Findings indicate that the hierarchical clustering-based methods, particularly HDBScan, produce the most consistently balanced decompositions across benchmarks, achieving strong modularity while minimizing communication and interface overhead.

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

↑