Practice
Learn
← Quit
0 / 0 correct
System Design
Hard
1 of 20
How do you implement a distributed rate limiter across many API servers with Redis atomically?
A
Run the check-and-increment in a Lua script (or use INCR with EXPIRE) so it executes atomically per key
B
Keep counters only in each server's memory
C
Use a SQL table with no transactions
D
GET the counter, check it in the app, then SET it