Feature toggles
Authors:
Open Access
- 14 May 2016
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 201-211
Abstract
Continuous delivery and rapid releases have led to innovative techniques for integrating new features and bug fixes into a new release faster. To reduce the probability of integration conflicts, major software companies, including Google, Facebook and Netflix, use feature toggles to incrementally integrate and test new features instead of integrating the feature only when it's ready. Even after release, feature toggles allow operations managers to quickly disable a new feature that is behaving erratically or to enable certain features only for certain groups of customers. Since literature on feature toggles is surprisingly slim, this paper tries to understand the prevalence and impact of feature toggles. First, we conducted a quantitative analysis of feature toggle usage across 39 releases of Google Chrome (spanning five years of release history). Then, we studied the technical debt involved with feature toggles by mining a spreadsheet used by Google developers for feature toggle maintenance. Finally, we performed thematic analysis of videos and blog posts of release engineers at major software companies in order to further understand the strengths and drawbacks of feature toggles in practice. We also validated our findings with four Google developers. We find that toggles can reconcile rapid releases with long-term feature development and allow flexible control over which features to deploy. However they also introduce technical debt and additional maintenance for developers.Keywords
This publication has 10 references indexed in Scilit:
- Modern Release Engineering in a Nutshell -- Why Researchers Should Care2016
- Synthesizing Continuous Deployment Practices Used in Software Development2015
- Release Stabilization on Linux and ChromeIEEE Software, 2015
- Variability mechanisms in software ecosystemsInformation and Software Technology, 2014
- Why Do Automated Builds Break? An Empirical Study2014
- Early Detection of Collaboration Conflicts and RisksIEEE Transactions on Software Engineering, 2013
- Assessing the value of branches with what-if analysis2012
- The effect of branching strategies on software quality2012
- Factors leading to integration failures in global feature-oriented development2011
- The promises and perils of mining git2009