Algorithms for rate limiting

The task of rate limiter is directed by highly efficient algorithms each of which has distinct advantages and disadvantages. However, there is always a choice to choose an algorithm or combination of algorithms depending on the nature of use cases. There are different algorithms used, however, we will explain the following popular algorithms.

  • Token bucket
  • Leaking bucket
  • Fixed window counter
  • Sliding window log
  • Sliding window counter

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy