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

支持向微服务迁移的调用开销与事务边界的快速高效假设分析

Fast and Efficient What-If Analyses of Invocation Overhead and Transactional Boundaries to Support the Migration to Microservices

Holger Knoche, Wilhelm Hasselbring

AI总结:

本文提出一种基于轨迹重写的假设分析方法,用于分析将现有软件分解为进程外微服务组件对非功能属性的影响,该方法优先考虑易用性和分析速度而非精度。

摘要:

提升敏捷性和可维护性是企业为其现有软件系统采用微服务架构的常见驱动力。然而,现有软件往往严重依赖于其在单一进程空间内执行这一事实。因此,将现有软件分解为进程外组件(如微服务)可能会对非功能属性产生严重影响,例如由于调用开销导致的整体性能问题或数据一致性问题。为了最小化这种影响,在服务边界的设计过程中尽早将非功能属性纳入考量非常重要。假设分析是进行此类考量的有用方法,它允许探索不同场景,并以迭代和增量的方式开发服务边界。来自工业案例研究的经验表明,对于这些分析,易用性和速度往往比精度更重要。在本文中,我们提出了一种基于轨迹重写的假设分析方法的新兴结果,该方法(i)专门设计用于分析分解为进程外组件对非功能属性的影响,(ii)刻意优先考虑易用性和分析速度而非结果精度。

英文摘要:

Improving agility and maintainability are common drivers for companies to adopt a microservice architecture for their existing software systems. However, the existing software often relies heavily on the fact that it is executed within a single process space. Therefore, decomposing existing software into out-of-process components like microservices can have a severe impact on non-functional properties, such as overall performance due to invocation overhead or data consistency. To minimize this impact, it is important to consider non-functional properties already as part of the design process of the service boundaries. A useful method for such considerations are what-if analyses, which allow to explore different scenarios and to develop the service boundaries in an iterative and incremental way. Experience from an industrial case study suggests that for these analyses, ease of use and speed tend to be more important than precision. In this paper, we present emerging results for an approach for what-if analyses based on trace rewriting that is (i) specifically designed for analyzing the impact on non-functional properties due to decomposition into out-of-process components and (ii) deliberately prefers ease of use and analysis speed over precision of the results.

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

↑