Cianplan

Level 2: Data · L2.3 Partitioning / sharding & consistent hashing

Why and when to shard

Decide when sharding is needed after replication and caching.

12 min · Pro

What you take away

  • Sharding is the answer to write volume and data size — the two things replicas and caches cannot help with.

And 3 more inside the class, in Pro.

How the class is laid out

  1. The problem
  2. Try these first
  3. Check your understanding