Design a Feature Flag Service
This one keeps coming back. A Staff candidate got it in August 2026, as the first of two 60-minute rounds in a mini onsite, and compared it to Amazon's WebLab, the internal system Amazon uses for launches and A/B tests. Full-time SWE onsites reported it in September 2025 and February 2025. The February report is where the single-function framing comes from. Two onsite reports from September 2024 list it among their rounds as well.
It looks small. A flag is a name and a rule, and a lookup returns a boolean. The difficulty is where that lookup runs. Every API server checks flags while it handles a payment, many times per request, so the check has to be about as cheap as reading a variable. Meanwhile the rules change rarely, and when someone flips a kill switch, every server in the fleet has to hear about it within seconds. So the design is really two systems. One is a small, careful tool where engineers edit rules. The other is a fast, boring path that gets those rules into the memory of thousands of servers and answers checks there.
StripePremium lesson · System design round
The Stripe design, worked end to end.
- Requirements and scopeSystem design · Frequently asked
- The API and data model
- The design, drawn out1 diagram
- 5 deep divesWith the tradeoffs
$49 a year · all 108 companies · instant access
20,000+ candidate reports · guide updated
Stripe interview guideKnow what Stripe asks before you walk in.
21 coding · 6 system design · 31 behavioral questions
Get their questions first.
InterviewLegend is independent and not affiliated with or endorsed by any company it covers.