tx-lcn

Project Url: codingapi/tx-lcn
Introduction: LCN distributed transaction framework, compatible with dubbo, spring cloud and Motan framework, supports various relational databases
More: Author   ReportBugs   OfficialWebsite   
Tags:

License Maven Central codecov Build Status

文档

见 5.x 版本文档见 https://www.codingapi.com/docs/txlcn-preface/

参与方式

代码提交步骤

  • fork 该项目地址,并更新代码
  • 认领任务或发布问题
  • 维护代码编写测试
  • 发起合并请求,关联 issues
  • 代码审核通过合并到仓库中

代码结构

  • example: 示例与测试相关的代码
  • starter-txlcn-protocol: txlcn-protocol 模块的 starter
  • starter-txlcn-tc: txlcn-tc 模块的 starter
  • txlcn-p6spy: p6spy-解析 sql 与 jdbc 的 event 定义
  • txlcn-protocol: 通讯协议制度
  • txlcn-tc: TC 事务客户端模块
  • txlcn-tm: TM 事务控制端

从 0 到 1 实现分布式事务 公开课

第一节课

分布式事务从 0 到 1-认识分布式事务
原文 B 站

第二节课

分布式事务从 0 到 1-了解 TX-LCN 原理
原文 B 站-原理一 B 站-原理二

B 站地址
https://space.bilibili.com/386239614
公众号(通过公众号加群):
CODINGAPI 分享者

项目运行步骤

依赖的环境:
mysql redis

数据库脚步:
sql

启动步骤:
1、配置 TM 的参数信息,然后启动 TM。
2、配置 example-tc example-tc-2 信息,启动他们。
3、测试 example-tc,接口地址为 http://localhost:8090/save?name=123

Apps
About Me
GitHub: Trinea
Facebook: Dev Tools