论文标题
从整体到微服务:静态和动态分析比较
From Monolith to Microservices: Static and Dynamic Analysis Comparison
论文作者
论文摘要
整体迁移到微服务体系结构中最具挑战性的问题之一是识别微服务边界。最近提出了几种用于自动识别微服务的方法,尽管遵循相同的基本步骤,但如何收集和分析整体系统的数据。在本文中,当使用静态和动态分析数据收集技术时,我们将两个整体系统生成的分解与一组候选微服务进行比较。分解是使用相似度度量的组合生成的,并根据复杂性度量进行评估以回答以下研究问题:哪些收集单片数据,静态或动态分析,可以产生更好的分解?由于分析的结果,我们得出的结论是,静态或动态的两种分析技术都不优于另一个,但是数据的动态收集需要更多的努力。
One of the most challenging problems in the migration of a monolith to a microservices architecture is the identification of the microservices boundaries. Several approaches have been recently proposed for the automatic identification of microservices, which, even though following the same basic steps, diverge on how data of the monolith system is collected and analysed. In this paper, we compare the decompositions generated for two monolith systems into a set of candidate microservices, when static and dynamic analysis data collection techniques are used. The decompositions are generated using a combination of similarity measures and are evaluated according to a complexity metric to answer the following research question: which collection of monolith data, static or dynamic analysis, allows to generate better decompositions? As result of the analysis we conclude that neither of the analysis techniques, static nor dynamic, outperforms the other, but the dynamic collection of data requires more effort.