常⻅分布式事务解决⽅案
2PC 和
3PC
两阶段提交, 基于
XA
协议
TCC
Try、Confirm
、
Cancel
事务消息
最⼤努⼒通知型
分布式事务分类
刚性事务:遵循ACID
柔性事务:遵循BASE
理论
分布式事务框架
TX-LCN:⽀持
2PC
、
TCC
等多种模式
https://github.com/codingapi/tx-lcn
更新慢(个⼈感觉处于停滞状态)
Seata:⽀持
AT
、
TCC
、
SAGA
和
XA
多种模式
https://github.com/seata/seata
背靠阿⾥,专⻔团队推⼴
阿⾥云商业化产品GTS
https://www.aliyun.com/aliware/txc
RocketMq
:⾃带事务消息解决分布式事务
https://github.com/apache/rocketmq