Node.js · Senior · Question 40 of 75

Which rate-limiting algorithm allows short bursts while keeping an average rate?

Explanation

Tokens refill at a steady rate, and each request spends one; a full bucket allows a burst. Sliding windows are another common approach.

Further reading

Problem with a question

Node.js · Senior · question 40

Test yourself

Take the Node.js · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz