All problems
Advanced·⚙️ Infrastructure·Amazon · Cloudflare · Stripe

Design
Distributed Rate Limiter (Multi-Node)

Design a rate limiter that enforces a consistent request limit for a client across many API server instances.

This is a Low-Level Design (LLD) problem. New to LLD vs HLD? Start here.

#Distributed Systems#Redis#Algorithms
5F + 3NF requirements inside

01 -  Why interviewers ask this

It's the distributed-systems escalation of the single-node rate limiter — interviewers check if you know a shared store (Redis) is required once you have more than one server.

02 -  Where this system exists in the real world

You interact with this design every day.

API gateway rate limiting at scale (Cloudflare, Stripe)

Multi-region SaaS platform throttling

Anti-abuse systems across many app servers

03 -  What you'll master

Solve this once. Know it forever.

01

Coordinate limits across many stateless servers

02

Implement atomic counters in a shared store

03

Design graceful degradation if the store is down

04 -  What you'll design

5 functional · 3 non-functional requirements.

Enforce a limit like "100 requests per minute per API key" globally, not per-server

4 more requirements inside

Sign in to unlock the full brief and start designing

05 -  Companies that ask this

You may face this exact question in your next interview.

A
Amazon
C
Cloudflare
S
Stripe

Ready?

Open the canvas.
Design it yourself.

See all requirements, use staged hints, run your code, and compare with community discussions - all on the same canvas.