Loading lesson…
Level 1 · Apprentice0 XP
Vertical and horizontal scaling, and the load balancer that makes the second possible.
Step 1 / 5
ProblemCPU is at 100% at peak time. You can buy a bigger machine or add more machines. They are not the same decision.
← → step
Before this: Back-of-the-envelope estimates
🛠️ Your turn
Reading is not the skill, doing is. Try for ten minutes before you open the hint. Getting stuck first is what makes the solution stick.
1.Run two copies of any small web server on ports 8081 and 8082, each returning its own name. Put nginx in front as a load balancer and call it ten times. Then stop one copy and call again.