https://github.com/cydave/merali
https://github.com/cydave/merali
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cydave/merali
- Owner: cydave
- Created: 2022-09-24T08:36:01.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-09-24T08:41:30.000Z (almost 4 years ago)
- Last Synced: 2025-03-02T20:27:34.209Z (over 1 year ago)
- Language: Python
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# In-Memory Rate Limiting
A small demo app demonstrating the [slowapi](https://github.com/laurents/slowapi) rate-limiting library configured
on top of [FastAPI](https://github.com/tiangolo/fastapi), showcasing a faulty
configuration (the default config) of slowapi which may lead to rate limiting
bypasses when used with multiple processes.
## Up and running
1. Build the docker image: `docker build . -t merali`
2. Run it: `docker run --rm -it -p 127.0.0.1:8000:8000 merali:latest`
3. Test it: `curl -i http://127.0.0.1:8000/limited`