All problems
Foundational·🛠️ Developer Tools·Stripe · Cloudflare · AWS +1

Design
Rate Limiter

Design a rate limiter that restricts the number of requests a client can make within a time window.

#OOP#Algorithm#Sliding Window
Start Solving 6F + 3NF requirements inside

01 -  Why interviewers ask this

It bridges LLD and systems knowledge — interviewers use it to see if you know concrete algorithms (token bucket, sliding window) rather than just saying "we'll rate-limit it" vaguely.

02 -  Where this system exists in the real world

You interact with this design every day.

API gateway request throttling

Login attempt / brute-force protection

Third-party API client libraries respecting quotas

03 -  What you'll master

Solve this once. Know it forever.

01

Implement token bucket or sliding window algorithms

02

Reason about per-client vs. global limits

03

Understand the single-node version before distributing it

04 -  What you'll design

6 functional · 3 non-functional requirements.

Limit requests per user/IP to N per time window (e.g., 100 per minute)

5 more requirements inside

Sign in to unlock the full brief and start designing

Unlock Requirements

05 -  Companies that ask this

You may face this exact question in your next interview.

S
Stripe
C
Cloudflare
A
AWS
U
Uber

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.

Start Solving