Elasticity vs Scalability

Shubham AgrawalShubham Agrawal
2 min read

Elasticity

  • It is the ability of the system or infrastructure to automatically adjust its resources in response to changes in demand. It allows users to dynamically scale up or down their resources based on traffic and usage patterns.

  • It is the ability of the system or infrastructure to automatically increase or decrease the number of servers (not the capacity of the server) based on the workload.

  • It is short termed.

  • It is also called as Horizontal Scaling.

  • It can be achieved by using Auto-Scaling.

Auto Scaling

It is a feature that monitors the traffic, infrastructure (resources) and the application performance and automatically adjusts the number of active servers or instances in response to changes in demand โ€” without manual intervention to maintain steady, predictable performance at the lowest possible cost.

There are two types of scaling: -

  1. Scale Out: Increasing or adding more number of servers (nodes) to handle increased workload demands.

  2. Scale In: Decreasing or removing the existing servers (nodes) from the system to handle decreased workload demands.

In both cases, no shutdown/reboot is required since we are adding or removing the separate similar nodes in (or from) the system.

Scalability

  • The ability to increase or decrease the capacity of the server is called scalability.

  • It is long termed.

  • It is also knows as Vertical Scaling.

  • Often, requires manual intervention.

  • Shutdown and reboot is required to scale up or scale down the service.

Vertical Scaling Vs Horizontal Scaling


Thank you for your time! ๐Ÿ˜Š

Connect with me on LinkedIn

0
Subscribe to my newsletter

Read articles from Shubham Agrawal directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Shubham Agrawal
Shubham Agrawal