mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-26 07:58:51 +00:00
17 lines
441 B
Markdown
17 lines
441 B
Markdown
---
|
|
layout: pattern
|
|
title: Throttling pattern
|
|
folder: throttling
|
|
permalink: /patterns/throttling/
|
|
tags:
|
|
- Java
|
|
- Difficulty-Beginner
|
|
- Throttling
|
|
---
|
|
|
|
## 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.
|