21 lines
619 B
Markdown
Raw Normal View History

2017-09-07 12:54:19 +02:00
---
layout: pattern
title: Throttling pattern
folder: throttling
permalink: /patterns/throttling/
tags:
- Java
- Difficulty-Beginner
- Throttling
---
2017-09-07 15:27:18 +02:00
## Intent
Ensure that a given client is not able to access service resources more than the assigned limit.
2017-09-07 15:27:18 +02:00
![alt text](./etc/throttling-patern.png "Throttling pattern")
2017-09-07 12:54:19 +02:00
## 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.