- Run
docker-compose up
to start a container running rate_limiting_service and another running Redis. - MAX_TOKENS and SECONDS_PER_TOKEN are environment variables that can be set inside the docker-compose file to configure the rate limit.
- Make a
GET
request athttp://localhost:5000/
with a User-Token in the headers. - Example:
curl -H "User-Token: user1234" http://localhost:5000/
-
Notifications
You must be signed in to change notification settings - Fork 0
AsadAmir111/rate-limiting-system
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published