Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
cat
README.md
docker-compose.yml
throttling.png

README.md

Throttling pattern

Control the resource consumption by throttling them when limit is reached

Throttling

Example

We have the following application:

  • One app exposing a REST endpoint to fetch cats:

Running the example

docker-compose up
while true;do curl -i http://localhost:3000; sleep 1; done

Sources

You can’t perform that action at this time.