System Design

How rate limiters actually work when you have more than one server

8 min read A single-server rate limiter is a hash map and a timer; the real interview starts when you add a second server and need one shared, race-free counter. Read article