Skip to Content
Managing Feature Flags
book

Managing Feature Flags

by Adil Aijaz, Pato Echagüe
January 2018
Intermediate to advanced
28 pages
31m
English
O'Reilly Media, Inc.
Content preview from Managing Feature Flags

Chapter 2. How Are Feature Flags Commonly Used?

To understand how feature flags are used, we’ll follow along with a hypothetical team that’s just starting with feature flags.

Our software delivery team works at Acme Corporation, a large online retailer. This particular team is responsible for the Product Details page, owning both the user interface for this page and the functionality that powers it. The team has been experiencing a lot of pain recently with branch management and merge conflicts, and has been researching ways to reduce this pain. The tech lead believes that feature flags could be a way to reduce the amount of branching and merging the team needs to do. The team agrees to try this approach for their next big piece of upcoming work.

A New Carousel

The Product Details page includes images of the product, and the team is planning to roll out a new carousel-based user experience for these product images. Typically, they would work on the new UI in a feature branch, perform validation, testing and sign-off against that branch, eventually merging the branch with their shared release branch so that the new functionality can be deployed to production (and into the hands of their users). Instead of that approach, the team plans to experiment with using feature flags as a way to enable trunk-based development.

They incrementally develop their new carousel experience on the shared release branch, but add some conditional logic so that it shows the new experience only when ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Feature Flag Best Practices

Feature Flag Best Practices

Pete Hodgson, Patricio Echagüe
What Successful Project Managers Do

What Successful Project Managers Do

W. Scott Cameron, Jeffrey S. Russell, Edward J. Hoffman, Alexander Laufer

Publisher Resources

ISBN: 9781492028598