Data structures, algorithms, system design, and behavioral prep.
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.
Scaling, caching, load balancing, and the CAP theorem.
34 total questions
Card #1
What does a load balancer do?
Card #2
What is horizontal scaling?
Card #3
What is a CDN?
1. With N replicas, reading R of them is sure to see the latest write to W of them when R + W is greater than ___.
Hint: The total number of replicas
2. A component whose failure takes the whole system down is a single point of ___.
Hint: SPOF
3. When one shard key, such as a celebrity's account, gets far more traffic than the rest, you have a ___ partition.
Hint: The opposite of cold
1. In the cache-aside pattern, what happens on a cache miss?
2. What is the main risk of a write-back (write-behind) cache?
3. With consistent hashing over n servers, roughly what share of the keys move when you add one server?