Vertical Scaling vs Horizontal Scaling
- Vertical Scaling
- scale-up, add more CPU/Memory/Disk on the same server.
- Horizontal Scaling
- scale-out, add more servers.
Load Balancer (LB)
A Load Balancer is a device/service that sits between the user and the server group, and act as an invisible facilitator, ensuring that all resource servers are used equally.
Load Balancing can optimise the resource time and avoid unevenly overloading some compute nodes while other compute nodes are left idle.
Think about Load Balancer as a
Reverse Proxy that directs incoming requests to the appropriate server so that we can even the amount of traffic each server is getting.