Overview of FunWithFlags
masterFunWithFlags is an Elixir OTP application designed for managing feature flags (feature toggles) at runtime. It allows you to control application features by toggling boolean values associated with specific names without requiring a redeployment or server restart.
Key features include:
- Two-level storage: Uses a persistent backend (Redis or a relational database via Ecto) for synchronization across nodes, combined with a local ETS table cache for high-performance lookups.
- Distributed synchronization: When flags are modified, nodes are notified via PubSub to reload their local ETS caches.
- Granular control: Beyond simple global toggles, you can use "gates" to implement complex rules like targeting specific actors, groups, or percentages of users/time.