Developers have long used configuration options or flags to control what their software programs do at runtime. Feature flags are a modern application of this concept, focused on accelerating software delivery. Fast-moving software teams used flags a decade ago to work on half-finished code without disrupting their users. Today, it’s become standard practice for product delivery teams to use flags to deliver functionality in small increments—while learning from their users.
In this short book, you’ll look learn how teams can successfully apply feature flags—aka toggles, flips, gates, or switches—to accelerate software delivery. You’ll learn about different types of feature flags, and explore critical code-level techniques to keep your feature-flagging code manageable. You’ll also learn how to keep the number of flags in your codebase to a manageable level.
- Use flags in feature management to determine which users are exposed to a given feature
- Examine several cases involving feature flags, including continuous delivery and testing in production
- Learn techniques to ensure that feature-flagged code is readable, maintainable, and testable
- Explore the trends and practices that are driving the convergence of continuous delivery and experimentation
Table of contents
- 1. Introduction
- 2. How Are Feature Flags Commonly Used?
3. Succeeding with Feature Flags
- The Moving Parts of a Flagging System
- Implementation Techniques
- Testing Flagged Systems
- 4. From Continuous Delivery to Continuous Experimentation
- 5. Conclusion
- Title: Managing Feature Flags
- Release date: January 2018
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781492028581
You might also like
Software Engineering at Google
Today, software engineers need to know not only how to program effectively but also how to …
Monolith to Microservices
How do you detangle a monolithic system and migrate it to a microservice architecture? How do …
Effective Feature Management
Feature flags give software organizations the power to reduce risk, iterate more quickly, and gain more …
Learning React, 2nd Edition
If you want to learn how to build efficient React applications, this is your book. Ideal …