Distributed

Lesson 06.4

Sharding, partitioning & hot partitions

Partitioning splits data into pieces and sharding places those pieces across servers; the partition key controls data locality, query fan-out, balance, and where hot spots form.

Point reads by customer ID

Ava looks up one customer's cookie orders. The customer's number should lead to one balanced computer.

In this lesson you'll

  1. 1Follow one run and learn how to read the picture
  2. 2Predict what changes before revealing the result
  3. 3Compare the choices and help Ava get one shard-local order history without too much waiting