mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-14 02:16:06 +00:00
Seperated timer class and created Callscount class
This commit is contained in:
1 parent
5f9100cd03
commit
50d7dbe4de
12 files changed
+266
-89
No files matched your search
@@ -10,11 +10,11 @@ tags:
|
||||
---
|
||||
|
||||
## Intent
|
||||
Ensure that a given tenant is not able to access resources more than the assigned limit.
|
||||
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 tenants are consuming the same resources and restriction has to be made according to the usage per tenant.
|
||||
* when multiple clients are consuming the same service resources and restriction has to be made according to the usage per client.
|
||||
Reference in new issue
Block a user