The building blocks of system design interviews and real distributed systems: scaling, load balancing, caching, data partitioning, consistency models and event-driven architecture. Every concept is presented as a trade-off, because that is how it is actually assessed.
Add it to your projects to study it here with your progress saved. Try it plays a round and saves nothing. Clone makes your own copy that you can change.
You’re reading a free preview. Sign up to see every topic and question — and to play this deck as games.
Balancing algorithms, layer 4 versus layer 7, and how health checking keeps a pool honest — including how a careless health check can take down an entire fleet.
38 total questions
Card #1
Round robin
Card #2
Least connections
Card #3
Weighted round robin
1. A balancer picks two backends at random and sends the request to the less loaded one. Why does this work so well?
2. A new backend joins a least-connections pool and is instantly flooded, because it has zero connections. Which feature prevents this?
3. Why do balancers require several failed checks in a row before removing a backend, and several passes before adding it back?
1. Kubernetes can run a ___ probe first, so a slow-booting app is not killed by its liveness probe while it starts.
Hint: It runs while the app is starting
2. Balancing on a hash of the client ___ address piles traffic onto a few backends when many users share one corporate NAT.
Hint: Two letters
3. An L7 balancer can send 5% of traffic to a new version and the rest to the old one, which is called a ___ release.
Hint: A bird once taken down coal mines