facebook

Dec 25, 2022

rate limiter

What is the rate limiter?

What is the rate limiter? What are the benefits of using an API rate limiter? 1. prevent resource starvation 2. reduce cost 3. prevent servers from being overloaded
hilokal-notebook-image

algorithms

• Token bucket • Leaking bucket • Fixed window counter • Sliding window log • Sliding window counter
hilokal-notebook-image
hilokal-notebook-image
hilokal-notebook-image

leaking bucket

leaking bucket
hilokal-notebook-image

fixed window counter

fixed window counter
hilokal-notebook-image
hilokal-notebook-image

sliding window log

sliding window log
hilokal-notebook-image

sliding window counter

sliding window counter
hilokal-notebook-image

By undefined

15 notes ・ 19 views

  • English

  • Beginner