Microservice and Containerization Patterns > Scalability Patterns > Dynamic Scalability
Dynamic Scalability (Erl, Naserpour)
How can microservices be scaled automatically in response to fluctuating demand?
Problem
Solution
Application
A system of predefined scaling conditions that trigger the dynamic allocation of IT resources can be introduced. The microservice resources are allocated from resource pools to allow for variable utilization as dictated by demand fluctuations. Unneeded IT resources are efficiently reclaimed without requiring manual interaction.
This pattern can be applied using an automated scaling listener in support of dynamic horizontal scaling, dynamic vertical scaling and dynamic relocation, as explained in the complete pattern description.