Skip to content
Projects

codingapi/tx-lcn has 4,152 GitHub stars and 1,433 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-06 17:29 UTC. Last push 2023-09-06.

How these counts are measured

LCN distributed transaction framework, compatible with dubbo, spring cloud and Motan framework, supports various relational databases

Measured star growth

in 24h
0
in 7 days
Update delayed
in 15 days
Update delayed
in 1 month
Update delayed

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

Distributed Transaction Framework - LCN (6.0.0)

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

Explore related projects