s3harding-mybatis

S3harding: A sharding library for Mybatis

License

License

Categories

Categories

MyBatis Data ORM
GroupId

GroupId

com.github.hexindai.s3harding
ArtifactId

ArtifactId

s3harding-mybatis
Last Version

Last Version

0.0.8
Release Date

Release Date

Type

Type

module
Description

Description

s3harding-mybatis
S3harding: A sharding library for Mybatis
Project URL

Project URL

https://github.com/hexindai/s3harding
Source Code Management

Source Code Management

https://github.com/hexindai/s3harding/tree/master/s3harding-mybatis

Download s3harding-mybatis

Dependencies

runtime (5)

Group / Artifact Type Version
org.jetbrains.kotlin : kotlin-stdlib-jdk8 jar 1.3.72
org.jetbrains.kotlin : kotlin-reflect jar 1.3.72
com.github.hexindai.s3harding : s3harding-core jar 0.0.8
org.mybatis : mybatis jar 3.5.4
com.github.jsqlparser : jsqlparser jar 3.1

Project Modules

There are no modules declared in this project.

s3harding

Github Workflows codecov Maven Central Maven Central

Work in progress. Do not use it in a production deployment. 😄

Introduction

A simple sharding strategy based on key sharding.

Rewriting SQL for sharding. We can custom any sharding strategy based shard key which is used for generating sharded SQL. Currently, shards are logical that all shards are in a database node(this is dumb). In future, it will support separate database nodes.

Features:

  • Key based sharding (hash based sharding)
  • Only one database node (dumb)

Usages

Contribution

If you find some bugs, please commit your PRs.

com.github.hexindai.s3harding

Hexindai E-Commerce Co., Ltd

Versions

Version
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.2