Targeting and rules

Flag value = function of (flag, user, context). Rules: user attributes, percentage rollout, segments. Evaluated in app or in SDK with local cache. Cache invalidation strategy matters for low latency.

Advertisement

Rollout and kill

Gradual percentage rollouts. Schedule-based progression. Kill switch (set to false globally) reverts instantly. Logged for incident review.

Advertisement

Audit and approvals

Every flag change: who, what, when, why. Approval workflow for production flags. Audit log retained. Without this, flag changes become silent prod changes you can't reconstruct.