面向事务因果一致的微服务业务逻辑
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。