InterviewLegend

Design a Feature Flag Service

Frequently asked
Alex Chen26 min readAdded 37 real interview reports

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.

The Stripe angle
The August 2026 Staff candidate got many hints, and the interviewer's feedback was that the answer forced a template onto the problem instead of following its requirements. Avoid that by deriving the design out loud from the read and write numbers. A generic "API, cache, database" drawing misses what makes this prompt different.

StripePremium lesson · System design round

The Stripe design, worked end to end.

  1. Requirements and scopeSystem design · Frequently asked
  2. The API and data model
  3. The design, drawn out1 diagram
  4. 5 deep divesWith the tradeoffs
Get the Stripe questions

$49 a year · all 108 companies · instant access

20,000+ candidate reports · guide updated

Stripe interview guide

Know what Stripe asks before you walk in.

21 coding · 6 system design · 31 behavioral questions

Get Premium$49 a year · Instant access
Or start freeNo card.

Get their questions first.

Had your Stripe interview?How we research

InterviewLegend is independent and not affiliated with or endorsed by any company it covers.