Feature Flag
A feature flag is a software technique that lets developers dynamically turn specific application features on or off without redeploying code.
How it works
It works by separating feature code from business logic and using configuration to control its visibility. This allows teams to run A/B tests safely, roll out new features gradually, or roll back quickly when problems arise — reducing release risk and accelerating iteration.
Examples
- 1.In an e-commerce app, enabling a brand-new recommendation algorithm early for 10% of users to run an A/B test.
- 2.Temporarily enabling a promotional banner during the holiday season, then switching it off with one click once the campaign ends.
- 3.Instantly hiding a newly launched payment feature from all users when a bug is discovered, without needing an urgent fix and deployment.