Previous | Next --- Slide 20 of 57
Back to Lecture Thumbnails
jocelynh

If I understand this correctly, scaling up refers to improving the hardware that you have while keeping the amount you have the same, while scaling out refers to increasing the number of units you have.

An issue with scaling up is that you are limited in the performance gain based on what hardware is available, but you do not have to change any code to get an improvement. On the other hand, scaling out means that you're limited in how many machines you can buy/store, but you can get as many as you need.

shpeefps

I was under the impression that scaling out also did not much changing of code and that's why it was popular. What are the major areas of the code you would need to change in order to make it work?

o__o

You would have to change the database code if you wanted to scale out the database because the units might need to communicate with each other. Each server also needs to connect to the right database unit.