hyx
hyx copied to clipboard
🧘♀️ Lightweight fault tolerant primitives for your modern asyncio Python microservices
- Added in new leaky bucket rate limiting functionality - Added in new test cases for the leaky bucket rate limiting component
References: - #90 - https://github.com/roma-glushko/hyx/pull/100#issue-2007358300
Hyx is providing a token bucket-based rate limiting at this moment. Let's implement a leaky bucket-based rate limiting, too. We should provide LeakyBucket as a standalone component, so other projects...
The current Hyx's rate limiter APIs were inspired by resilience4j/Polly. So each instance of rate limiter handles one rate limit "shard" (e.g. basically, the level on which you apply rate...
Sometimes it's reasonable to dispatch a few requests at the same time to organize a race between them for the sake of improving latency (while having some resiliency added). This...