MicrolearnENPTES

Vertical or horizontal

Lesson 4 of 40 · Sys.Micro

Buy a bigger machine or add more machines? Each path has a ceiling.

Your app runs on one 4-core server. Traffic doubled this quarter and CPU sits at 90% every evening. Something has to give.

There are two ways to add capacity: up (bigger machine) or out (more machines).

Horizontal scaling: more boxes behind one entry

What horizontal scaling demands from your code

Check yourself

What is the biggest weakness of scaling only vertically?

Do it in the browser: a real system design tool, a short mission and instant feedback. No install.

Start this lesson — free
← Back-of-the-envelope mathLoad balancing →

All lessons · Sys.Micro