Skip to content
Projetos

Sobre

TSharding is the simple sharding component used in mogujie trade platform. 欢迎共建。随时可以联系[email protected];[email protected];[email protected];[email protected]

Ferramentas de desenvolvimento

Como estes números são medidos

Crescimento medido de estrelas

em 24 h
0
em 7 dias
0
em 15 dias
Coletando histórico
em 1 mês
Coletando histórico

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

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 projetos relacionados

Carregando…