MongoDB Application Sharding
Last updated
Last updated
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
Collection Sharding Strategy
Database Sharding Strategy
Composite Sharding Strategy