Open reboottime opened 1 year ago
Rate limiting controls the rate at which users or services can access a resources, like an API, a service, or a network. It plays a critical role in protecting system resources and ensuring fair use among all users.
When the rate of requests exceeds the threshold defined by the rate limiter, the requests are throttled or blocked. Some real world examples can be as following:
(Please notice there is a difference on throttling and blocking)
Rate limiting is an integral part of modern large-scale applications.
it also plays a pivotal role in general load balancing
(how load balancing is done under the hood like AWS?) and service quality maintenanceThe applications of rate limiting can be applied at
Most rate limiting implementations share three core concepts. They are the
After surpassing the rate limit, the action (limiting response) can be three catetgories
This article introduced algorithms
The algorithms explaination content are unavailable for unpaid user ):
Overview
This is a note extracted from Rate Limiting Fundamentals, By Alex Xu.
Reference: