mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-14 10:58:42 +00:00
954e7300e9
local variable type inference changes for throttling design pattern
layout, title, folder, permalink, categories, tags
| layout | title | folder | permalink | categories | tags | ||
|---|---|---|---|---|---|---|---|
| pattern | Throttling | throttling | /patterns/throttling/ | Behavioral |
|
Intent
Ensure that a given client is not able to access service resources more than the assigned limit.
Applicability
The Throttling pattern should be used:
- when a service access needs to be restricted to not have high impacts on the performance of the service.
- when multiple clients are consuming the same service resources and restriction has to be made according to the usage per client.