Skip to content

Latest commit

 

History

6 提交

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

仓库 files navigation

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

关于

🛑 Requests rate limiting using Python and Redis

Resources

Stars

27 stars

关注者

0 watching

复刻s

发布

Used by

贡献者

Languages