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

PF4Microservices:一种基于问题帧的微服务分解方案

PF4Microservices: A decomposion scheme for microservices based on Problem Frames

Zhi Li, Yitao Bo, Hongbin Xiao

摘要:

近年来,微服务架构已经成为软件工程中流行的架构风格,其对DevOps和持续交付的天然支持,以及其可扩展性和可扩展性,推动行业从业者迁移到微服务架构。然而,采用微服务架构存在许多挑战,其中最重要的是如何将单片系统正确分解为微服务。目前,单片系统的微服务分解决策依赖于主观的人类经验,这是一个成本高昂、耗时的过程,结果具有高度的不确定性。为了解决这个问题,本文提出了一种使用Jackson问题框架进行微服务分解的方法。该方法首先分析系统的需求,获得所提出的软件与其环境之间的交互描述,构建多个问题图,然后通过分析它们之间的相关性和相似性合并问题图,得到微服务分解方案。最后以一个智能停车场系统为例进行了案例分析。研究结果表明,该方法可以根据需求和软件环境进行微服务分解,从而减轻开发人员的决策负担,分解结果合理。

英文摘要:

In recent years, microservice architecture has become a popular architectural style in software engineering, with its natural support for DevOps and continuous delivery, as well as its scalability and extensibility, which drive industry practitioners to migrate to microservice architecture. However, there are many challenges in adopting a microservice architecture, the most important of which is how to properly decomposition a monolithic system into microservices. Currently, microservice decomposition decisions for monolithic systems rely on subjective human experience, which is a costly, time-consuming process with high uncertainty of results. To address this problem, this paper proposes a method for microservice decomposition using Jackson Problem Frames. In this method, requirements of the system are analysed, descriptions of the interactions between the proposed software and its environment is obtained, multiple problem diagrams are constructed, and then the problem diagrams are merged by analyzing the correlation and similarity between them, resulting in a microservice decomposition scheme. A case study is also conducted based on a smart parking system. The results of the study show that the method can perform microservice decomposition based on requirements and the software environment, resulting in reducing the decisionmaking burden of developers, with reasonable decomposition results.

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

↑