RSSAmplifier

Lorbic · Jul 7, 2026

Designing a Distributed Rate Limiter with Redis

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

There is a class of bugs that only happen at midnight. Your API has a rate limit: 1000 requests per minute. A client hits 999 at 11:59:59 PM, then fires another 999 at 12:00:00 AM. Two windows, two clean counters, all 1998 requests allowed. Your database gets a spike it was never designed to handle, and you spend the next hour wondering how your rate limiter let this through. It did let it…

Read on lorbic.com

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.