arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2212.11656cs.SE
收藏

微服务识别的Monolith发展历史:比较分析

Monolith Development History for Microservices Identification: a Comparative Analysis

João Lourenço, António Rito Silva

摘要:

最近的研究提出了在整体系统上自动识别候选微服务的不同方法,这些方法在整体表示,相似性标准和所使用的质量度量方面有所不同。另一方面,他们通常是有限的代码库和分解的数量进行评估,并存在的方法之间的比较很少。考虑到在软件工程的技术的基础上的代码库的演变分析的新兴趋势,我们比较了表示的基础上的整体代码结构,特别是访问域实体的序列,与表示的基础上的整体开发历史(文件更改和更改的作者)。通过对28个代码库的468k分解的分析,使用五个质量指标来评估模块化,每个功能的事务数量最小化以及团队和通信的减少,我们得出结论,每个指标的最佳分解是通过结合访问序列和开发历史表示的数据来实现的。我们还发现,具有许多作者的代码库的变更作者身份表示实现了与具有少数作者的代码库的访问序列表示相比相当或更好的结果,这与每个功能的事务数量的最小化和团队的减少有关。

英文摘要:

Recent research has proposed different approaches on the automated identification of candidate microservices on monolith systems, which vary on the monolith representation, similarity criteria, and quality metrics used. On the other hand, they are generally limited in the number of codebases and decompositions evaluated, and few comparisons between approaches exist. Considering the emerging trend in software engineering in techniques based on the analysis of codebases' evolution, we compare a representation based on the monolith code structure, in particular the sequences of accesses to domain entities, with representations based on the monolith development history (file changes and changes authorship). From the analysis on a total of 468k decompositions of 28 codebases, using five quality metrics that evaluate modularity, minimization of the number of transactions per functionality, and reduction of teams and communication, we conclude that the best decompositions on each metric were made by combining data from the sequences of accesses and the development history representations. We also found that the changes authorship representation of codebases with many authors achieves comparable or better results than the sequence of accesses representation of codebases with few authors with respect to minimization of the number of transactions per functionality and the reduction of teams.

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

↑