Feature Flags / Toggles
Updated 2026-07-30
Summary
Embed switches in code to remotely enable or disable a feature at any time via a configuration center, without redeploying.
Definition
Embed switches in code to remotely enable or disable a feature at any time via a configuration center, without redeploying. Scaffolding role: decouple deployment from release, separating 'code going live' from 'feature becoming visible to users'. This enables safe 'dark launches' or A/B testing in production, with millisecond rollback if issues arise.
Introduction
How to use
Decouple deployment from release, separating 'code going live' from 'feature becoming visible to users'. This enables safe 'dark launches' or A/B testing in production, with millisecond rollback if issues arise.
Mechanism
Use flags (Feature Flags/Toggles) to control whether a feature is visible to users, decoupling feature development from release. The mechanism is runtime configuration switching.
Practice
In progress 0/4Practice this model in one real situation:
Cases
- Canary releases and A/B testing rely on feature flags.
Common pitfalls
- Accumulated flags become technical debt.
Sources
Source support: Explicit
References currently contain only Wikipedia links; primary sources still need review.
- en.wikipedia.orghttps://en.wikipedia.org/wiki/Feature_toggleverified
account_treeGenealogyexpand_more
PRIVATE NOTES · Only visible to you
SAVED Q&A
ENTRY Q&A · Private saving available
Ask with a clear boundary
thinkingmodels answers from published entry context only.
Your question is sent to thinkingmodels. The answer uses public entry context only.
RELATED MODELS