From 95eafb667bab7bdc970066b6bdd8424994eae274 Mon Sep 17 00:00:00 2001
From: yedf2 <120050102@qq.com>
Date: Sat, 25 Dec 2021 08:08:00 +0800
Subject: [PATCH 1/2] update sync script
---
helper/sync-dtmcli.sh | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/helper/sync-dtmcli.sh b/helper/sync-dtmcli.sh
index 25a0d51..3ac42b0 100755
--- a/helper/sync-dtmcli.sh
+++ b/helper/sync-dtmcli.sh
@@ -14,7 +14,7 @@ fi
cd ../dtmcli
cp -rf ../dtm/dtmcli/* ./
rm -f *_test.go
-sed -i '' -e 's/yedf\/dtm\//yedf\//g' *.go
+sed -i '' -e 's/dtm-labs\/dtm\//dtm-labs\//g' *.go */**.go
go mod tidy
go build || exit 1
git add .
@@ -38,8 +38,7 @@ cd ../dtmgrpc
rm -rf *.go dtmgimp
cp -r ../dtm/dtmgrpc/* ./
go get github.com/dtm-labs/dtmcli@$ver
-sed -i '' -e 's/yedf\/dtm\//yedf\//g' *.go
-sed -i '' -e 's/yedf\/dtm\//yedf\//g' dtmgimp/*.go dtmgimp/*.proto
+sed -i '' -e 's/dtm-labs\/dtm\//dtm-labs\//g' *.go */**.go
rm -rf *_test.go
go mod tidy
go build || exit 1
From 8075bfcab41759966618f1cb0789b2a6aaf0f122 Mon Sep 17 00:00:00 2001
From: yedf2 <120050102@qq.com>
Date: Sat, 25 Dec 2021 09:45:26 +0800
Subject: [PATCH 2/2] update compare
---
README-cn.md | 21 +++++++++++----------
README.md | 21 +++++++++++----------
2 files changed, 22 insertions(+), 20 deletions(-)
diff --git a/README-cn.md b/README-cn.md
index 85eb559..9dc13a8 100644
--- a/README-cn.md
+++ b/README-cn.md
@@ -46,19 +46,20 @@ DTM是一款golang开发的分布式事务管理器,解决了跨数据库、
| 特性| DTM | SEATA |备注|
|:-----:|:----:|:----:|:----:|
-| 支持语言 |Go、Java、python、php、c#...|Java|dtm可轻松接入一门新语言|
-|异常处理| [子事务屏障自动处理](https://zhuanlan.zhihu.com/p/388444465) |手动处理 |dtm解决了幂等、悬挂、空补偿|
-| TCC事务| ✓|✓||
-| XA事务|✓|✓||
-|AT事务|建议使用XA|✓|AT与XA类似,性能更好,但有脏回滚|
-| SAGA事务 |支持并发 |状态机模式 ||
-|事务消息|✓|✗|dtm提供类似rocketmq的事务消息|
-|单服务多数据源|✓|✗||
-|通信协议|HTTP、gRPC、go-zero|dubbo等协议|dtm对云原生更加友好|
-|star数量|
|
|dtm从20210604发布0.1,发展快|
+| [支持语言](https://dtm.pub/other/opensource.html#lang) |Go、Java、python、php、c#...|Java|dtm可轻松接入一门新语言|
+|[异常处理](https://dtm.pub/other/opensource.html#exception)| 子事务屏障自动处理 |手动处理 |dtm解决了幂等、悬挂、空补偿|
+| [TCC事务](https://dtm.pub/other/opensource.html#tcc)| ✓|✓||
+| [XA事务](https://dtm.pub/other/opensource.html#xa)|✓|✓||
+|[AT事务](https://dtm.pub/other/opensource.html#at)|建议使用XA|✓|AT与XA类似,性能更好,但有脏回滚|
+| [SAGA事务](https://dtm.pub/other/opensource.html#saga) |支持并发 |状态机模式 ||
+|[二阶段消息](https://dtm.pub/other/opensource.html#msg)|✓|✗|dtm提供类似rocketmq的事务消息|
+|[单服务多数据源](https://dtm.pub/other/opensource.html#multidb)|✓|✗||
+|[通信协议](https://dtm.pub/other/opensource.html#protocol)|HTTP、gRPC、go-zero|dubbo等协议|dtm对云原生更加友好|
+|[star数量](https://dtm.pub/other/opensource.html#star)|
|
|dtm从20210604发布0.1,发展快|
从上面对比的特性来看,如果您的语言栈包含了Java之外的语言,那么dtm是您的首选。如果您的语言栈是Java,您也可以选择接入dtm,使用子事务屏障技术,简化您的业务编写。
+详细的对比可以点击特性中的链接,跳到相关文档
## [性能测试报告](https://dtm.pub/other/performance.html)
## [教程与文档](https://dtm.pub)
diff --git a/README.md b/README.md
index 85eb559..9dc13a8 100644
--- a/README.md
+++ b/README.md
@@ -46,19 +46,20 @@ DTM是一款golang开发的分布式事务管理器,解决了跨数据库、
| 特性| DTM | SEATA |备注|
|:-----:|:----:|:----:|:----:|
-| 支持语言 |Go、Java、python、php、c#...|Java|dtm可轻松接入一门新语言|
-|异常处理| [子事务屏障自动处理](https://zhuanlan.zhihu.com/p/388444465) |手动处理 |dtm解决了幂等、悬挂、空补偿|
-| TCC事务| ✓|✓||
-| XA事务|✓|✓||
-|AT事务|建议使用XA|✓|AT与XA类似,性能更好,但有脏回滚|
-| SAGA事务 |支持并发 |状态机模式 ||
-|事务消息|✓|✗|dtm提供类似rocketmq的事务消息|
-|单服务多数据源|✓|✗||
-|通信协议|HTTP、gRPC、go-zero|dubbo等协议|dtm对云原生更加友好|
-|star数量|
|
|dtm从20210604发布0.1,发展快|
+| [支持语言](https://dtm.pub/other/opensource.html#lang) |Go、Java、python、php、c#...|Java|dtm可轻松接入一门新语言|
+|[异常处理](https://dtm.pub/other/opensource.html#exception)| 子事务屏障自动处理 |手动处理 |dtm解决了幂等、悬挂、空补偿|
+| [TCC事务](https://dtm.pub/other/opensource.html#tcc)| ✓|✓||
+| [XA事务](https://dtm.pub/other/opensource.html#xa)|✓|✓||
+|[AT事务](https://dtm.pub/other/opensource.html#at)|建议使用XA|✓|AT与XA类似,性能更好,但有脏回滚|
+| [SAGA事务](https://dtm.pub/other/opensource.html#saga) |支持并发 |状态机模式 ||
+|[二阶段消息](https://dtm.pub/other/opensource.html#msg)|✓|✗|dtm提供类似rocketmq的事务消息|
+|[单服务多数据源](https://dtm.pub/other/opensource.html#multidb)|✓|✗||
+|[通信协议](https://dtm.pub/other/opensource.html#protocol)|HTTP、gRPC、go-zero|dubbo等协议|dtm对云原生更加友好|
+|[star数量](https://dtm.pub/other/opensource.html#star)|
|
|dtm从20210604发布0.1,发展快|
从上面对比的特性来看,如果您的语言栈包含了Java之外的语言,那么dtm是您的首选。如果您的语言栈是Java,您也可以选择接入dtm,使用子事务屏障技术,简化您的业务编写。
+详细的对比可以点击特性中的链接,跳到相关文档
## [性能测试报告](https://dtm.pub/other/performance.html)
## [教程与文档](https://dtm.pub)