Next

Feature flag store

DesignEasy25 min

Your task

Design a feature-flag toggle store for a single web application. Engineers want to turn features on/off (and roll out to a percentage of users) without redeploying. Flags are read on almost every request to decide which code path to take; they're changed only occasionally by humans through an admin page. Describe the storage and how the app reads flags fast.

It covers

  • Config store
  • Caching
  • Polling