Elasticity
The ability of a system to automatically scale resources up or down as needed.
Elasticity is the ability of a computing system to automatically provision and deprovision resources in response to changing demand. An elastic system scales out (adds resources) during traffic spikes and scales in (removes resources) when demand decreases, optimizing both performance and cost.
Elasticity differs from scalability in an important way: scalability is the capability to handle increased load, while elasticity is the ability to do so automatically and dynamically. Elastic systems are typically cloud-based, leveraging the on-demand nature of cloud infrastructure to adjust capacity without manual intervention.
Serverless platforms provide inherent elasticity. Functions are invoked on demand and scale automatically with the number of incoming requests, with no pre-provisioned capacity. API gateways deployed on serverless platforms like Cloudflare Workers inherit this elasticity, handling traffic ranging from zero to millions of requests without capacity planning. This pay-per-use model eliminates over-provisioning costs while ensuring availability during unexpected traffic surges.
Last updated