Page cover

MongoDB Application Sharding

Java CI with Maven Maven Package codecov

SonarCloud

Application Sharding enables you to convert a database into a distributed database to divide the dataset into multiple tables(collections), databases or both. ShardingSphere provides this feature for relational databases, such as MySQL, PostgreSQL etc.

This project provides the same feature to divide the data into multiple collections for MongoDB. Inspired by Apache's Sharding-Sphere, this library provides extensions to the classes present in spring-data-mongodb to shard the database into 3 different strategies

Application Sharding Strategies supported by the library

  1. Collection Sharding Strategy

  2. Database Sharding Strategy

  3. Composite Sharding Strategy

Author

Shashank Sharma

Last updated