5 min
Horizontal vs Vertical Scaling: Which One, and When
Vertical scaling makes one server stronger, horizontal scaling adds more servers; the right choice depends on state, failure, and growth.
Home / Blog / System Design / Scalability
Growing a system without breaking it. When to add machines, when to strengthen one, and how caching changes the math.
5 min
Vertical scaling makes one server stronger, horizontal scaling adds more servers; the right choice depends on state, failure, and growth.
6 min
A cache is a fast copy of data; cache-aside, read-through, write-through, and write-behind differ in who fills it and when writes reach the database.