mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-09-24 15:00:31 +08:00
* add the 50 devops interview questions * incorporate new devops questions set into roadmap faqs
858 B
858 B
They’re both valid scaling techniques, but they both have different limitations on the affected system.
Horizontal Scaling
- Involves adding more machines or instances to your infrastructure.
- Increases capacity by connecting multiple hardware or software entities so they work as a single logical unit.
- Often used in distributed systems and cloud environments.
Vertical Scaling
- Involves adding more resources (CPU, RAM, storage) to an existing machine.
- Increases capacity by enhancing the power of a single server or instance.
- Limited by the maximum capacity of the hardware.
In summary, horizontal scaling adds more machines to handle increased load, while vertical scaling enhances the power of existing machines.
