Sharding

  • Behavioral
  • Performance
  • Cloud distributed
Less than 1 minute

Intent

Sharding pattern means divide the data store into horizontal partitions or shards. Each shard has the same schema, but holds its own distinct subset of the data. A shard is a data store in its own right (it can contain the data for many entities of different types), running on a server acting as a storage node.

Class diagram

alt text
Sharding pattern class diagram

Applicability

This pattern offers the following benefits: