Hierarchy in Feature Flags
Feature flags are useful tools for testing and managing software infrastructure. Single-level feature flags offer simplicity but may lack complexity to solve certain problems. Adding levels of hierarchy to feature flags allows for better control, flexibility, and abstraction. Prerequisite flags can be set as dependencies on existing flags, enabling more complex decision-making processes. A common use case is bundling multiple sub-features under a prerequisite flag, allowing teams to work independently while progressively rolling out the feature in production. Once testing is complete and the feature is fully rolled out, the flags can be removed from the codebase.
Company
LaunchDarkly
Date published
July 9, 2020
Author(s)
Heidi Waterhouse
Word count
637
Hacker News points
None found.
Language
English