s3harding-core

S3harding: A sharding library for Mybatis

License

License

GroupId

GroupId

com.github.hexindai.s3harding
ArtifactId

ArtifactId

s3harding-core
Last Version

Last Version

0.0.8
Release Date

Release Date

Type

Type

module
Description

Description

s3harding-core
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-core

Download s3harding-core

Dependencies

runtime (2)

Group / Artifact Type Version
org.jetbrains.kotlin : kotlin-stdlib-jdk8 jar 1.3.72
commons-codec : commons-codec jar 1.14

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