Grokking Modern Mobile System Design Interview
0% completed
Feature Flag SDK
Design a feature-flag SDK that provides fast local evaluations, refreshes configuration, and explains why a value was returned.
A flag can select UI behavior or a rollout variant. It must not replace server authorization for a protected operation.
1. Define typed evaluation
initialize(config, context) -> readiness state evaluate(flagKey, typedDefault, context) -> evaluation details refresh() -> async refresh result updateContext(context) recordExposure(evaluation, actionContext)
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%