TAG · 6 ARTICLES
#performance-caching
Performance & caching (deep)
- SYSTEM DESIGNCache eviction and invalidation explained: LRU vs LFU, TTL and the thundering herd problemA cache is small and data keeps changing. Eviction decides what to throw out when memory is full. Invalidation removes data that's no longer true. Learn LRU, LFU, FIFO and TTL, the four ways to invalidate a cache, and how to stop a thundering herd from flattening your database.24 Nov 2026 · 8 min
- SYSTEM DESIGNCaching explained: what a cache is, why it matters and what can go wrongA cache keeps a copy of slow-to-get data somewhere fast, so you don't fetch it again and again. Learn how a cache hit and miss work, where caches live, the one trade-off behind every cache, and the four ways a cache can hurt you.24 Nov 2026 · 6 min
- SYSTEM DESIGNCaching strategies explained: cache-aside vs read-through vs write-through vs write-backEvery cache has to answer three questions: when does data go into it, where do writes go first, and who keeps it in step with the database? The four caching strategies are four different answers. Learn how each one works, when to use it, and the bugs that come with it.24 Nov 2026 · 7 min
- SYSTEM DESIGNWhat is a CDN? How content delivery networks make websites fastA CDN keeps copies of your images, videos and pages on servers close to your users, so they don't wait for a trip across the world. Here is how it works, what it caches, and what it can't do.24 Nov 2026 · 5 min
- SYSTEM DESIGNWhat is latency? Response time, p99 and why averages lieLatency is how long one request takes, from asking to getting the answer. Here is where that time goes, why engineers measure p95 and p99 instead of the average, and the simple ways to cut it.24 Nov 2026 · 5 min
- SYSTEM DESIGNWhat is throughput? RPS, QPS and how much a system can handleThroughput is how much work a system finishes per second. Here is how it's measured (RPS, QPS, MB/s), how it relates to latency, why systems slow down sharply near their limit, and the main ways to raise it.24 Nov 2026 · 5 min