What are feature flags and how do they improve reliability?
BeginnerConceptRelease Engineering & Reliability Patterns
Answer
Feature flags are runtime switches that turn code paths on or off without a deploy. They separate deploying code from releasing a feature: code ships dark, then the flag ramps to internal users, 1%, 10%, 100%. If something goes wrong, turning the flag off is a seconds-long mitigation, much faster than a rollback. Flags also enable kill switches for expensive features during overload. Risks: flag debt (old flags never removed) and untested flag combinations.
More on Release Engineering & Reliability Patterns
Why are releases the biggest source of incidents, and what does SRE do about it?BeginnerWhat is a canary release?BeginnerWhat is progressive delivery?IntermediateShow an Argo Rollouts canary with a Prometheus analysis.AdvancedBlue-green vs canary: when do you choose each?IntermediateWhat is a rollback vs a roll-forward, and when do you choose each?Intermediate