October 2018
Beginner to intermediate
348 pages
10h
English
So, how do we pick a partition key that distributes well at scale? Minding your model’s potential cardinality is the key. The cardinality of a partition key represents the number of possible values of the key, ranging from one to infinity.
A bad partition key is easy to spot, with proper knowledge of the business or use case. For instance, if I wanted to be able to query all products found in a particular store, store would ...