MicrolearnENPTES

Sharding

Lesson 13 of 40 · Sys.Micro

When one machine cannot hold the writes or the data, split them across many.

A social app stores 8 TB of posts and takes 40,000 writes/s. The largest instance you can buy is at 95% disk I/O. Replicas would not help: each one must apply every write too.

Why replicas cannot fix a write bottleneck

Check yourself

You shard by created_at ranges. What problem should you expect?

Do it in the browser: a real system design tool, a short mission and instant feedback. No install.

Start this lesson — free
← ReplicationConsistent hashing →

All lessons · Sys.Micro