Babak K. Shandiz
Babak K. Shandiz's Blog

Babak K. Shandiz's Blog

Feature Flags Are Necessary [RE#1]

Babak K. Shandiz's photo
Babak K. Shandiz
·Jul 1, 2021·

1 min read

Simply put, Feature Flag (FF) is a parameter that enables/disables specific features in your application. As a real-world example, a service could have a feature to cache some data to avoid making unnecessary database calls. Here, a feature flag, in its simplest form, can be a static configuration parameter, say cache.isEnabled, of boolean type. You can learn more about FF and types of it on Martin Fowler's invaluable blog post.

What I want to put a stress on is that FF is not a fancy thing or something you would hold up like a future plan. As soon as you deploy a new feature on your production environment, you'll need to have them ready. This gets even more crucial when you've deployed several features over time and all of a sudden, during an emergency or as a business call, you'd want to disable one of them; that cannot be neatly done by just reverting some deployment and not losing other features.

 
Share this