Caching Strategies
Cache-aside, read-through, write-through, write-around, write-back — five answers to the same trade-off between latency, freshness, complexity, and the risk of stale or lost data.
Read full
Loading…A reference library of system-design ideas, explained in depth. Read them anytime — no lesson required.
Cache-aside, read-through, write-through, write-around, write-back — five answers to the same trade-off between latency, freshness, complexity, and the risk of stale or lost data.
A traffic cop that spreads requests across many servers so none gets overwhelmed — the component that turns one box into a scalable, fault-tolerant pool.
Control how many requests a client can make in a window — rejecting the excess with HTTP 429. A study in algorithms, atomic counters, and scaling writes across Redis shards.
Turn a long URL into a short, shareable code — and serve billions of redirects per day. A read-heavy system that teaches ID generation, caching, and graceful scaling.
A photo-sharing platform for billions: media uploads, a personalized feed, and search. The defining decision is how you fan out a post to followers' timelines.