论文标题
迈向交易因果一致的微服务业务逻辑
Towards Transactional Causal Consistent Microservices Business Logic
论文作者
论文摘要
微服务体系结构已被广泛采用来开发软件系统,但是其某些权衡通常被忽略。特别是,最终一致性的引入对应用程序业务逻辑设计的复杂性有很大的影响。在无服务器计算中使用交易因果一致性的最新建议似乎很有希望,因为它减少了由于缺乏隔离而可能发生的并发执行异常的数量。我们提出了汇总概念的扩展,即微服务设计的基本构建基础,即交易因果关系一致。开发了富集骨料的模拟器,以通过业务逻辑丰富的系统对这种方法进行实验。实验结果显示实施复杂性降低。模拟器是可公开可重复使用的工件,可以在其他实验中使用。
Microservices architecture has been widely adopted to develop software systems, but some of its trade-offs are often ignored. In particular, the introduction of eventual consistency has a huge impact on the complexity of the application business logic design. Recent proposals to use transactional causal consistency in serverless computing seems promising, because it reduces the number of possible concurrent execution anomalies that can occur due to the lack of isolation. We propose an extension of the aggregate concept, the basic building block of microservices design, that is transactional causal consistent compliant. A simulator for the enriched aggregates is developed to allow the experimentation of this approach with a business logic rich system. The experiment results shown a reduction of the implementation complexity. The simulator is a publicly available reusable artifact that can be used in other experiments.