Want to get good at DevOps but deployments are getting you down? Is the code integration process just plain driving you crazy? Well, maybe it’s time to try out feature flags (aka. “feature toggles”). Feature flags are how sites like Visual Studio Team Services, Bing, Google, and Facebook do their deployments – and frankly, it makes their lives a lot easier than yours.
The idea is simple. Write a feature (or version of a feature) so that you can turn it on/off using a configuration setting. That one little design decision simplifies your deployments and lets you do a whole lot of different things like private betas, A/B testing, and feature rollbacks. But best of all, a whole lot less stress because you simply stop worrying so much about how you integrate your code.