Skip to content
Vivek Maurya edited this page Nov 14, 2022 · 5 revisions

Introduction

Feature flags are built upon conditional logic that control visibility of functionality for users at run time. In modern cloud-native systems, it's common to deploy new features into production early, but test them with a limited audience. As confidence increases, the feature can be incrementally rolled out to wider audiences.

Other use cases for feature flags include:

  • Restrict premium functionality to specific customer groups willing to pay higher subscription fees.
  • Stabilize a system by quickly deactivating a problem feature, avoiding the risks of a rollback or immediate hotfix.
  • Disable an optional feature with high resource consumption during peak usage periods.
  • Conduct experimental feature releases to small user segments to validate feasibility and popularity.

Here is an image to demonstrate feature flag -

Feature Flagging Diagram