Expanding the Capability of Scale Up and Scale Out Systems
💡 Scale Up (Vertical Expansion) and Scale Out (Horizontal Expansion) are two main methods of expanding the capabilities or performance of a computer system (such as a website, application, or database) to support increased usage.
There are two main approaches to system capabilities, called Scale Up and Scale Out.
1. ⏫⏫ Scale Up (Vertical Scaling):
Vertical expansion is an upgrade.
Simple Principle: Make the same thing stronger or better
- In the computer world: to buy the strongest RAM, CPU, or hard disk to put in the same computer (server).
- Compare to real life: It's like you only have one truck, and you're trying to change the engine as big as possible and expand the payload as much as this car can.
- Advantages: Easy to handle because it only takes care of one machine.
- Disadvantages to remember:
- There's a limit: Finally, a single car can carry a limit. It can't always get bigger.
If this car breaks down in the middle of the way, all work stops because you rely on it.
2. ➡️➡️ Scale Out (Horizontal Scaling):
Horizontal expansion is proliferation.
Simple principle: There are more numbers to help each other work.
- In the computer world: to buy 23 additional computers and have them take the job from the user.
It's like you have three trucks with normal specifications, but let them divide the work.
- Key advantages:
- Rugged: If one car is broken, the other two can continue to work.
- Unlimited expansion: If more work, you can just buy more cars 4, 5, 6.
- What to do: There must be a system to manage which jobs are going to which cars (distribution system)
Selection summary: The future of the system lies in planning!
- Need for speed and simplicity, Scale Up (fits the startup phase, or small systems where the task is not complicated)
- Requires maximum stability and supports Scale Out growth (a way to choose from, because it keeps the system from crashing easily and expandably)




























































































