Design a Rate Limiter
A rate limiter counts the requests each caller has made recently and turns away the ones over its limit, usually with a 429 Too Many Requests response. It keeps one buggy integration or one scraper from using up capacity that everyone else needs, and it gives every caller a predictable share. At Walmart it's among the most reported design prompts in recent loops, and it shows up in more forms than most. Staff (IN5) loops can give it a dedicated system design round. SDE-3 loops tend to combine it, high-level design first and then low-level design with code. It has also come up as a Java low-level design round, and as a data structures round where you build an in-memory version for a refund service. One SDE-3 loop even asked it in the managerial round, next to questions about the candidate's own project.
WalmartPremium lesson · System design round
The Walmart design, worked end to end.
- The API and data modelSystem design · Signature problem
- The design, drawn out2 diagrams
- 8 deep divesWith the tradeoffs
$49 a year · all 107 companies · instant access
835 Walmart interview reports · guide updated
Walmart interview guideKnow what Walmart asks before you walk in.
24 coding · 5 system design · 20 behavioral questions
Get their questions first.
InterviewLegend is independent and not affiliated with or endorsed by any company it covers.