Scaling & Advanced Cache Trade-offs Quiz

Q1. EASY: In a distributed caching cluster, what is a primary benefit of using consistent hashing for key distribution when resharding (adding or removing nodes)?




Q2. EASY: What is an example of horizontal scaling in a caching system?




Q3. EASY: In system performance metrics, what does 'p99 latency' refer to?




Q4. EASY: Which of the following lists cache storage mediums in order from lowest latency to highest latency?




Q5. EASY: What is a primary benefit of geo-replicating cache data across multiple regions?




Q6. MEDIUM: In a replicated cache cluster using quorum-based failover, why is a quorum (majority) of nodes required to agree on leader changes?




Q7. MEDIUM: In a multi-tier cache hierarchy (for example, an L1 cache on the app server and an L2 distributed cache), what is one advantage of having an L1 cache?




Q8. MEDIUM: A certain cache key is receiving an extremely high volume of requests, creating a hotspot. Which technique can help distribute this load?




Q9. MEDIUM: Why might a large-scale cache disable compression for very small objects?




Q10. MEDIUM: Cloudflare's CDN uses an edge microcache in its architecture. What is the role of this edge microcache?




Q11. MEDIUM: Facebook's Memcached tier scaled to handle billions of requests per second. Which approach was key to achieving this scale?




Q12. HARD: In a distributed cache cluster, coordinating evictions across nodes and using an admission policy (like TinyLFU) can improve efficiency. What is the main purpose of an admission policy?




Q13. HARD: To reduce tail latency in a distributed service, a technique called 'request hedging' can be used. What does request hedging involve?




Q14. HARD: In a multi-tier caching setup, what is a potential issue caused by propagation delay between the L1 and L2 caches?




Q15. HARD: In a distributed cache cluster, one shard shows a much higher eviction rate and slower p99 latency than others. What is the most likely explanation?




system-design