Queue-Based+Load+Leveling+Pattern
Queue-Based+Load+Leveling+Pattern
Leveling Pattern
What is Queue-Based Load Leveling Pattern?
What is Queue-Based Load Leveling Pattern?
Category
Messaging
Reliability
Resiliency
Performance Efficiency
What is Queue-Based Load Leveling Pattern?
Category
Messaging
Reliability
Resiliency
Performance Efficiency
Use a queue that acts as a buffer between a task and a service it invokes
What is Queue-Based Load Leveling Pattern?
Category
Messaging
Reliability
Resiliency
Performance Efficiency
Use a queue that acts as a buffer between a task and a service it invokes
Related Patterns
What is Queue-Based Load Leveling Pattern?
Category
Messaging
Reliability
Resiliency
Performance Efficiency
Use a queue that acts as a buffer between a task and a service it invokes
Related Patterns
Competing Consumer Pattern
What is Queue-Based Load Leveling Pattern?
Category
Messaging
Reliability
Resiliency
Performance Efficiency
Use a queue that acts as a buffer between a task and a service it invokes
Related Patterns
Competing Consumer Pattern
Throttling Pattern
Service
Service
Service
Service
Service
Service
Service
Service
Service
Service
Service
Service
Service
Service
Service
Service
Service
Service
Service
Service
Service
Service
Service
Service
Service
Withdraw: 100$
Service
Balance: 100$
Withdraw: 100$
Service
Balance: 100$
Service
Withdraw: 100$
Balance: 100$
Withdraw: 50$
Service
Withdraw: 100$
Considerations
Considerations
Avoid overwhelming the target resource.
Considerations
Avoid overwhelming the target resource.
Be careful if you apply autoscalling to services that are listening for requests on the queue.
When to use this pattern?
When to use this pattern?
This pattern is useful to any application that uses services that are subject to
overloading.
When NOT to use this pattern?
When NOT to use this pattern?
This pattern isn't useful if the application expects a response from the service
with minimal latency.
Thank You!