What is the difference between horizontal and vertical scaling?
Correct answer
A. Horizontal adds more machines; vertical enlarges one machine
15 views
A. Horizontal adds more machines; vertical enlarges one machine
15 views
Horizontal scaling, or scale-out, adds more instances behind a load balancer and suits stateless services, while vertical scaling, or scale-up, gives a single server more CPU or RAM and eventually hits a hardware ceiling. Horizontal scaling tolerates instance failure and is the default in cloud-native designs, but it forces the application to externalise session state. Vertical scaling is simpler to operate but usually needs a restart and cannot grow indefinitely.
Asked in: NTS, PPSC IT, Campus Interviews
Not sure why the answer is A? Ask here and get an explanation.