论文标题
PF4Microservices:基于问题框架的微服务的分解方案
PF4Microservices: A decomposion scheme for microservices based on Problem Frames
论文作者
论文摘要
近年来,微服务体系结构已成为软件工程中流行的建筑风格,其自然支持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.