vutran1710 / PyrateLimiter

⚔️Python Rate-Limiter using Leaky-Bucket Algorithm Family
https://pyratelimiter.readthedocs.io
MIT License
347 stars 36 forks source link

PyrateLimiter V3 release #118

Open vutran1710 opened 1 year ago

vutran1710 commented 1 year ago

Improvements & features

Phase I

Phase II

Phase III

Performance

Inserting 10k items to a single bucket, using different backends - running synchronouly with a for-loop

# InMemoryBucket
Performance test: insert 10k items 0.17364001274108887(secs)

# RedisBucket
Performance test: insert 10k items 5.8455188274383545(secs)

# SQLiteBucket
Performance test: insert 10k items 3.9313011169433594(secs)