Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 538 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 538 Bytes

Rate limiting using Python and Redis

This repository contains a Python implementation of time-bucketed and GCRA algorithms to limit requests. For more info go to the article Rate limiting using Python and Redis

Setup

Configure Redis and make it running on the default port 6379. Then install Python dependencies

pip install redis

Run Time-bucketed

python main_tb.py

Run GCRA

python main_gcra.py