What is the “Database Sharding” design pattern? Data sharding pattern separates datasets into different shards or partitions. Each shard has the same schema but holds a distinct subset of the data. Sharding patterns improve scalability, as you can add new shards when the storage needs or depand for higher throughput increase; you can improve performance by reducing the workload of each service.
What are the benefits and drawbacks of the “Database Sharding” microservices design pattern?