LEARN BY DOING

Courses

Each course is one small system under real traffic. Make a change, run it, and see what happens.

All courses

No account needed to start. Progress saves in this browser; sign in to keep it on every device.

Beginner · ~10 min

Your link went viral

Send a traffic spike through a link shortener. Find where requests wait, add a cache, then find the case where the cache stops helping.

  • Caching
  • Queues
  • Bottlenecks
Beginner · ~10 min

Scale the right thing

Checkout is failing on sale day and the team adds servers. Find out why that does nothing, and what does.

  • Bottlenecks
  • Scaling
  • Load balancing
Beginner · ~8 min

The slow query

A new feature makes every profile lookup slow. Compare buying more database capacity with making the query cheaper.

  • Databases
  • Indexes
  • Throughput
Beginner · ~8 min

When the database goes down

The database fails in the middle of the day. See how much a cache keeps working, and what it cannot hide.

  • Availability
  • Caching
  • Failures
Intermediate · ~12 min

Load balancer

One server cannot keep up. Spread the load across three, then lose one in the middle of the rush.

  • Load balancing
  • Health checks
  • Redundancy
Intermediate · ~10 min

Wait or fail fast?

A long queue sounds kind: nobody gets turned away. Find out why it can serve fewer people, and when a queue really helps.

  • Queues
  • Timeouts
  • Overload
Intermediate · ~10 min

Rate limiting

Concert tickets go on sale and three times more fans arrive than the API can serve. Turning some away protects everyone else.

  • Rate limiting
  • Overload
  • Backpressure

More courses are on the way.