HardDesign: Rate Limiter

What Redis data structure is used for implementing sliding window log rate limiting?

Tests your understanding of this concept.

Answer Options

AString (counter)
BHash
CSorted Set (ZADD with timestamp as score)
DList

Want to see the correct answer?

Get the answer with a detailed explanation, plus practice 22+ more Design: Rate Limiter questions with adaptive quizzes and timed interviews.

See the Answer on Guru Sishya →

This question is from the Design: Rate Limiter topic (System Design Cases).

More Design: Rate Limiter Questions