Skip to content
Projects

baihui212/tsharding has 695 GitHub stars and 324 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-25 06:15 UTC. Last push 2018-01-18.

How these counts are measured

Measured star growth

in 24h
0
in 7 days
0
in 15 days
Collecting history
in 1 month
Collecting history

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

About

TSharding is a simple sharding component used by the Mogujie trade platform. Contributions are welcome. You can contact us anytime at [email protected];[email protected];[email protected];[email protected].

Developer Tools

README.md

Original

tsharding

TSharding is the simple sharding component used in mogujie trade platform.

分库分表业界方案

alt text

分库分表TSharding

TSharding组件目标
  • 很少的资源投入即可开发完成
  • 支持交易订单表的Sharding需求,分库又分表
  • 支持数据源路由
  • 支持事务
  • 支持结果集合并
  • 支持读写分离
TSharding Resources Abstract

alt text

TSharding Resources Classes

alt text

TSharding组件接入过程:
  • 引入TSharding JAR包
  • 配置所有分库的JDBC连接信息
  • Mybatis Mapper方法参数增加ShardingOrderPara/ShardingBuyerPara/ShardingSellerPara注解
  • 批量查询增加结果集合并逻辑

TSharding遵循GPL V2协议。

Explore related projects

Loading…