Please enable JavaScript.
Coggle requires JavaScript to display documents.
Sharding - Coggle Diagram
Sharding
Of Key-Value data
By Key Range
-
-
-
-
-
-
Rebalancing
Upon DB setup some DBs allow for config of initial set of shards on an empty DB (pre-splitting). You need to have idea of the distrib.
-
-
-
-
by Hash of Key
-
-
Strategies
-
Fixed number of shards
-
-
-
-
-
Entire shards are moved, much cheaper than splitting shards
N of shards doesn't change, nor does the assig. of keys to shards
-
-
-
-
-
-
-
-
-
-
-
-
Pros and Cons
Pros
-
Useful for large scale. If not necessary, don't use it (^ complexity)
-
-
-