UNIT-1-Introduction to Cloud Computing (1)
Feature Vertical Scaling (Scaling Up) Horizontal Scaling (Scaling Out) | ||
Definition | Increasing the ability of a single machine by adding more resources (CPU, memory). | Adding more machines to handle load distribution. |
Usage | Usually employed for resource-heavy applications and databases. | Essential for web applications, big data tasks, and microservices. |
Implementation Complexity | Typically easier since it involves upgrading existing hardware. | More complex due to the need to manage multiple machines. |
Cost | Can incur higher expenses because of hardware upgrades. | Often more economical by utilizing standard hardware. |
Failure Impact | A failure of the single machine results in total application downtime. | Ensures redundancy; if one machine fails, overall service remains available. |
Examples | Upgrading a server from 16GB RAM to 32GB RAM. | Adding additional servers to manage a surge in web traffic. |