Tag

#caching

16 posts

Scaling Infrastructure: The Edge, Horizontal Scale, and the Math Behind Them

Scaling Infrastructure: The Edge, Horizontal Scale, and the Math Behind Them

Application-level fixes (kill the N+1, add the index) get you a long way, but…

Backend Performance: Kill N+1, Add the Index, Cache What's Hot

Backend Performance: Kill N+1, Add the Index, Cache What's Hot

Ask where a slow backend spends its time and the honest answer is almost always…

Redis — The In-Memory Data-Structure Store, End to End

Redis — The In-Memory Data-Structure Store, End to End

Redis is one of the most-used pieces of infrastructure in the world — the fast…

Design a URL Shortener (TinyURL/bit.ly)

Design a URL Shortener (TinyURL/bit.ly)

A URL shortener looks trivial — map a long URL to a short code and redirect…

Scaling Pitfalls: Hotspots, Stampedes and Failure

Scaling Pitfalls: Hotspots, Stampedes and Failure

A design that looks correct on the whiteboard can still collapse the first time…

Scaling Reads

Scaling Reads

Almost every system you will be asked to design is read-heavy. A social network…

Redis — Caching, Sessions, Pub/Sub in Node.js

Redis — Caching, Sessions, Pub/Sub in Node.js

Why Redis for Node.js Redis is an in-memory data store that serves as a cache…

System Design Masterclass

System Design Masterclass

System design is the skill that separates senior engineers from everyone else…

Deep Dive on Redis: Architecture, Data Structures, and Production Usage

Deep Dive on Redis: Architecture, Data Structures, and Production Usage

“Redis is not just a cache. It’s a data structure server that happens to be…

Deep Dive on Caching: From Browser to Database

Deep Dive on Caching: From Browser to Database

“There are only two hard things in Computer Science: cache invalidation and…

System Design Patterns for Scaling Reads

System Design Patterns for Scaling Reads

Most production systems are read-heavy. A typical web application sees 90-9…