|
|
|
@ -35,21 +35,6 @@ DTM 可以应用于大量的场景下的数据一致性问题,以下是几个 |
|
|
|
* [非单体的订单系统](https://dtm.pub/app/order.html): 大幅简化架构 |
|
|
|
* [事件发布/订阅](https://dtm.pub/practice/msg.html):更好的发件箱模式 |
|
|
|
|
|
|
|
## 与Seata对比 |
|
|
|
|
|
|
|
| 特性| DTM | SEATA |备注| |
|
|
|
|:-----:|:----:|:----:|:----:| |
|
|
|
|[支持语言](https://dtm.pub/other/opensource.html#lang) |<span style="color:green">Go、c#、Java、python、php...</span>|<span style="color:orange">Java</span>|dtm可轻松接入一门新语言| |
|
|
|
|[异常处理](https://dtm.pub/other/opensource.html#exception)| <span style="color:green"> 子事务屏障自动处理 </span>|<span style="color:orange">手动处理</span> |dtm解决了幂等、悬挂、空补偿| |
|
|
|
|[SAGA事务](https://dtm.pub/other/opensource.html#saga) |<span style="color:green">极简易用</span> |<span style="color:orange">复杂状态机</span> || |
|
|
|
|[二阶段消息](https://dtm.pub/other/opensource.html#msg)|<span style="color:green">✓</span>|<span style="color:red">✗</span>|最简消息最终一致性架构| |
|
|
|
|[TCC事务](https://dtm.pub/other/opensource.html#tcc)| <span style="color:green">✓</span>|<span style="color:green">✓</span>|| |
|
|
|
|[XA事务](https://dtm.pub/other/opensource.html#xa)|<span style="color:green">✓</span>|<span style="color:green">✓</span>|| |
|
|
|
|[AT事务](https://dtm.pub/other/opensource.html#at)|<span style="color:orange">建议使用XA</span>|<span style="color:green">✓</span>|AT与XA类似,但有脏回滚| |
|
|
|
|[单服务多数据源](https://dtm.pub/other/opensource.html#multidb)|<span style="color:green">✓</span>|<span style="color:red">✗</span>|| |
|
|
|
|
|
|
|
从上面对比的各项特性来看,dtm在具备很多优势。详细的对比可以点击特性中的链接,跳到相关文档 |
|
|
|
|
|
|
|
## [性能测试报告](https://dtm.pub/other/performance.html) |
|
|
|
|
|
|
|
## [教程与文档](https://dtm.pub) |
|
|
|
|