What is the difference between vertical and horizontal scaling, and when does each run out?
IntermediateConceptCapacity, Load Testing & Chaos Engineering
Answer
Vertical scaling adds resources to one instance (bigger node, more CPU/memory per pod); it is simple but hits hardware limits and usually needs a restart. Horizontal scaling adds more instances behind a load balancer; it scales further and improves redundancy, but needs stateless services or sharded state. Horizontal scaling runs out at shared bottlenecks: a single database primary, a lock, a rate-limited third-party API, connection limits.
More on Capacity, Load Testing & Chaos Engineering
What is capacity planning in SRE?BeginnerWhat is N+1 and N+2 redundancy for capacity?BeginnerHow do you calculate how many instances you need?IntermediateWhat is the difference between load, stress, spike, soak and breakpoint testing?BeginnerWhat is k6 and why do SRE teams use it?BeginnerWrite a minimal k6 test with SLO thresholds.Intermediate