Book description
Whether you want to fine-tune operational control or conduct A/B/n tests, feature flags make it easy to deliver software features quickly and safely. With this practical book, software engineers will learn eight best practices for using feature flags in production, including how to configure and manage a growing set of feature flags within your product, maintain them over time, manage infrastructure migrations, and more.
Pete Hodgson and Patricio Echagüe demonstrate how feature flags help modern product delivery teams reduce risk by decoupling code deployment from feature release. You’ll learn how to maintain flag consistency in different scenarios and how to develop, test, and work with feature flags at scale.
With these practices, you will:
- Make sure users in a test still have access once a feature is ramped up
- Learn flag strategies for transitioning users from "anonymous" to "logged in"
- Keep flagging decisions on the server to maintain performance and security
- Use patterns to make incremental, backward-compatible database changes
- Implement flagging decisions as close to business logic as possible
- Have each flag owned by one team responsible for rollout and monitoring
- Consider testability when using feature flags in combination with CI practices
- Maintain a process for identifying and tracking flags
- Examine the effect a feature flag is having on your business
Table of contents
- 1. Introduction
- 2. The Moving Parts of a Feature-Flagging System
- 3. Best Practice #1: Maintain Flag Consistency
- 4. Best Practice #2: Bridge the “Anonymous” to “Logged-In” Transition
- 5. Best Practice #3: Make Flagging Decisions on the Server
- 6. Best Practice #4: Incremental, Backward-Compatible Database Changes
- 7. Best Practice #5: Implement Flagging Decisions Close to Business Logic
- 8. Best Practice #6: Scope Each Flag to a Single Team
- 9. Best Practice #7: Consider Testability
- 10. Best Practice #8: Have a Plan for Working with Flags at Scale
- 11. Best Practice #9: Build a Feedback Loop
- 12. Summary
Product information
- Title: Feature Flag Best Practices
- Author(s):
- Release date: March 2019
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781492050445
You might also like
book
Modern Software Engineering: Doing What Works to Build Better Software Faster
Improve Your Creativity, Effectiveness, and Ultimately, Your Code In Modern Software Engineering, continuous delivery pioneer David …
book
Building Micro-Frontends
What's the answer to today's increasingly complex web applications? Micro-frontends. Inspired by the microservices model, this …
audiobook
Speak with Confidence
In Speak with Confidence: Overcome Self-Doubt, Communicate Clearly, and Inspire Your Audience, keynote speaker, author, and …
book
Working Effectively with Legacy Code
This book provides programmers with the ability to cost effectively handlecommon legacy code problems without having …