Seperated timer class and created Callscount class

This commit is contained in:
Deepanshu Rastogi
2017-09-08 16:15:31 +02:00
parent 5f9100cd03
commit 50d7dbe4de
12 changed files with 266 additions and 89 deletions

View File

@ -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.
![alt text](./etc/throttling-patern.png "Throttling pattern")
## 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.