Design a Rate Limiter
Two Visa candidates have written about getting this prompt. A Senior engineer writing in April 2026 had it in their second round, straight after a discussion of their own project's architecture. In 2024 a Senior engineer in Poland got it as their third round, after an earlier round on a distributed counter for views, likes and transactions. Neither one wrote down the follow-ups, so this lesson covers the depth a rate limiter round usually reaches.
Counting each client's requests and saying no past a limit takes a few lines of code. The interview lives in the details around that count. Fifty servers each see a slice of one client's traffic, so where does the count live? Two servers can read the same count at the same moment and both say yes. And the counter store can go down. Every answer has to stay cheap, because this check runs before every single API call.
VisaPremium lesson · System design round
The Visa design, worked end to end.
- Requirements and scopeSystem design
- The API and data model
- The design, drawn out1 diagram
- 5 deep divesWith the tradeoffs
$49 a year · all 107 companies · instant access
20,000+ candidate reports
Visa interview guideKnow what Visa asks before you walk in.
30 coding · 8 system design · 20 behavioral questions
Get their questions first.
InterviewLegend is independent and not affiliated with or endorsed by any company it covers.