分布式事务
mermaid
graph LR
trans[事务] –> lt[本地事务]
trans –> dt[分布式事务]
lt –> ACID
dt –> CAP
CAP –> AP
CAP –> CP
AP –> base[BASE柔性事务,最终一致性/弱一致性]
base –> notice[通知型]
base –> offset[补偿型]
notice –> asynchronous[异步确保型]
notice –> max[最大努力通知型]
asynchronous –> MQ[MQ事务消息方案]
asynchronous –> local[本地消息方案]
max –> MQ
max –> local
offset –> TCC
offset –> SAGA
TCC –> LCN-TCC
TCC –> Seata-TCC
SAGA –> Seata-SAGA
CP –> DTP[刚性事务,强制一致性全局事务模型DTP]
DTP –> openDTP[X/Open DTP]
openDTP –> 2PC
openDTP –> JTA
openDTP –> JTS
2PC –> sxa[Seata XA/AT]
2PC –> 3PC
2PC –> LCN[LCN’2pc’]
JTA –> JBoss
JTA –> JOTM
JTA –> Atomikos
文章标题:分布式事务
本文作者:zhu8fei
发布时间:2021-11-15, 15:42:46
最后更新:2024-08-16, 17:37:00
原始链接:http://www.zhu8fei.com/2021/11/15/distributed-transaction.html版权声明: "署名-非商用-相同方式共享 4.0" 转载请保留原文链接及作者。
转载请注明来源,欢迎对文章中的引用来源进行考证,欢迎指出任何有错误或不够清晰的表达。可以在下面评论区评论,也可以邮件至 zhu8fei@163.com