arXivDaily arXiv每日学术速递 周一至周五更新
北美退伍军人节(Veterans Day),12 日无更新
arXiv 2107.09698cs.SE
收藏

Mono2Micro:一个实用有效的Java应用程序微服务分解工具

Mono2Micro: A Practical and Effective Tool for Decomposing Monolithic Java Applications to Microservices

Anup Kalia, Jin Xiao, Rahul Krishna, Saurabh Sinha, Maja Vukovic, Debasish Banerjee

摘要:

在将生产工作负载迁移到云端时,企业通常面临着将单片应用程序向微服务架构发展的艰巨任务。在IBM,我们开发了一个名为Mono2Micro的工具来帮助完成这项具有挑战性的任务。Mono2Micro执行时空分解,利用定义良好的业务用例和运行时调用关系来创建应用程序类的功能内聚分区。我们对Mono2Micro的初步评估显示了有希望的结果。Mono2Micro与其他分解技术相比表现如何,从业者如何看待该工具?本文介绍了Mono2Micro的技术基础,并给出了回答这两个问题的结果。为了回答第一个问题,我们在一组开源和专有Java应用程序上评估了Mono2Micro对四种现有技术的影响,并使用不同的指标来评估分解的质量和工具的效率。我们的研究结果表明,Mono2Micro在为问题领域定义的特定指标方面显着优于最先进的基线。为了回答第二个问题,我们对21位使用过Mono2Micro的不同行业的从业者进行了调查。这项研究突出了几个好处的工具,有趣的从业者的看法,并进一步改进的范围。总的来说,这些结果表明,Mono2Micro可以为从业者提供有价值的帮助,帮助他们创建功能内聚和可解释的微服务分解。

英文摘要:

In migrating production workloads to cloud, enterprises often face the daunting task of evolving monolithic applications toward a microservice architecture. At IBM, we developed a tool called Mono2Micro to assist with this challenging task. Mono2Micro performs spatio-temporal decomposition, leveraging well-defined business use cases and runtime call relations to create functionally cohesive partitioning of application classes. Our preliminary evaluation of Mono2Micro showed promising results. How well does Mono2Micro perform against other decomposition techniques, and how do practitioners perceive the tool? This paper describes the technical foundations of Mono2Micro and presents results to answer these two questions. To answer the first question, we evaluated Mono2Micro against four existing techniques on a set of open-source and proprietary Java applications and using different metrics to assess the quality of decomposition and tool's efficiency. Our results show that Mono2Micro significantly outperforms state-of-the-art baselines in specific metrics well-defined for the problem domain. To answer the second question, we conducted a survey of twenty-one practitioners in various industry roles who have used Mono2Micro. This study highlights several benefits of the tool, interesting practitioner perceptions, and scope for further improvements. Overall, these results show that Mono2Micro can provide a valuable aid to practitioners in creating functionally cohesive and explainable microservice decompositions.

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

↑