IntermediateSystem-Design
30 min
Design a Feature Flag Service
Release EngineeringCachingSecurity
Advertisement
Interview Question
Design a low-latency feature flag platform with targeting rules, audit logs, and mobile/edge delivery.
Key Points to Cover
- Flag store with versioned rules and segments
- SDKs with local cache and streaming updates
- Eval at client/edge vs server; consistency trade-offs
- Audit logs, approvals, and change rollbacks
- Multi-tenant isolation and rate limits
Evaluation Rubric
Clear data model & rule evaluation25% weight
Low-latency delivery & caching25% weight
Audit, approvals, and rollbacks25% weight
Multi-tenant safety and limits25% weight
Hints
- 💡Consider streaming (SSE) for live updates.
Potential Follow-up Questions
- ❓How do you prevent flag drift between envs?
- ❓How to support experiment variants?
Advertisement