Speed, Async and Coordination
Caching, CDNs, queues, real-time delivery, rate limiting, retries, coordination and geo data structures.
Chapter quiz
Speed, Async and Coordination · 6 questions
1.A service has a 1 ms cache and a 20 ms database. Going from a 90% to a 99% cache hit rate changes database load by roughly:
2.A very popular cache key expires and thousands of requests hit the database at once. What is this called and what prevents it?
3.Which design gives effectively exactly-once processing with a message broker?
4.A token bucket has capacity 10 and refills 5 tokens per second. It is empty at t = 0. How many requests can be accepted at t = 1 second?
5.10,000 clients fail at the same moment and use exponential backoff without jitter. What happens?
6.A client holds a lease, pauses for 40 seconds, and wakes up after its lease expired and another client took over. What protects the data?
0 of 6 answered

