Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
|
4 years ago | |
---|---|---|
.github | 4 years ago | |
cmd | 4 years ago | |
docs | 4 years ago | |
pkg | 4 years ago | |
samples | 4 years ago | |
scripts/server/db | 4 years ago | |
.gitignore | 4 years ago | |
LICENSE | 5 years ago | |
README.md | 4 years ago | |
go.mod | 4 years ago | |
go.sum | 4 years ago | |
性能报告.md | 4 years ago |
钉钉群号 33069364
作为一个刚入 Golang 坑的普通微服务开发者来讲,很容易产生一个朴素的想法,希望 Golang 微服务也有分布式事务解决方案。我们注意到阿里开源了 Java 版的分布式事务解决方案 Seata,本项目尝试将 Java 版的 Seata 改写一个 Golang 的版本。
在 Seata 没有 Golang 版本 client sdk 的情况下,Golang 版本的 TC Server 使用了和 Java 版 Seata 一样的通信协议,方便调试。
希望有同样朴素想法的开发者加入我们一起完善 Golang 版本的分布式事务解决方案。本方案参考了 dubbo-go 的实现。由于时间有限,且对 golang 的一些特性不甚了解,有些实现不太优雅,希望有更多开发者来参与并优化它。
mysql driver 集成 seata-golang 的工作已经完成,该 driver 基于 https://github.com/go-sql-driver/mysql 开发,开发者可以使用该 driver 对接到各种 orm 中,使用更方便。driver 的项目地址:https://github.com/opentrx/mysql 。 参考 demo:https://github.com/opentrx/seata-go-samples 。
cd ${projectpath}/tc/app/cmd
go build
mv cmd ${targetpath}/
cd ${targetpath}
./cmd start -config ${projectpath}/tc/app/profiles/dev/config.yml
Go Implementation For Seata
Go Text Markdown Protocol Buffer Shell other