
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…
Tag
15 posts
Application-level fixes (kill the N+1, add the index) get you a long way, but…
The single most expensive habit in performance work is optimizing by gut feel…
A design that looks correct on the whiteboard can still collapse the first time…
Almost every system you will be asked to design is read-heavy. A social network…
In the previous lesson, reads scaled by making copies: a cache, a replica, a CDN…
System design interviews are the most feared round in senior engineering…
When an interviewer asks you to estimate the storage requirements for a…
“Kafka is not a message queue. It’s a distributed commit log that happens to be…
“If you’re searching, filtering, or aggregating over large volumes of semi…
“An API Gateway is the front door to your microservices. Every request walks…
“Redis is not just a cache. It’s a data structure server that happens to be…
“There are only two hard things in Computer Science: cache invalidation and…
The previous articles in this series covered scaling reads and scaling writes…
In the companion article on scaling reads, we covered caching, replicas, and…
Most production systems are read-heavy. A typical web application sees 90-9…











