RateLimiter
Last updated
Was this helpful?
Last updated
Was this helpful?
Sharing access to limited resources: Requests made to an API where the limited resources are your server capacity, database load, etc.
Limiting the number of second factor attempts that a user is allowed to perform, or the number of times they’re allowed to get their password wrong.
Certain services might want to limit actions based on the tier of their customer’s service, and thus create a revenue model based on rate limiting.
Use gossip protocol to sync redis counters
An advanced version of GRCA algorithm
References
Github API rate limiting
Bitly API rate limiting
LinkedIn rate limiting
Stripe:
Shopify:
Twitter:
Google doc:
Netflix Concurrency Limits:
Resiliency 4j said no for cache-based distributed rate limit:
Resiliency 4j adaptive capacity management:
You could find the intuition on
It is implemented in Rust because it offers more memory security.