Skip to content

Comment on When Feature Flags Do and Don't Make Sense (2019)parent

Comments

(...) feature flags are cheap to add and maintain.

Not quite. When you add a feature flag, you now have a system that has N separate code flows that you need to verify before launch,and then have to modify and retest to remove the feature flag. A feature flag ends up doubling the workload to test and verify the feature.

Also sometimes flipping feature flags can be faster than doing a rollback, especially if multiple systems are involved.

This is perhaps the most relevant point that the blogger misses. Feature flags are runtime switches that can extend simultaneously to multiple systems and even clients. You can't pull features from clients with a release, where week-long release processss can barely get you a 60% uptake. Redeploying away features in the backend can easily take half an hour, specially if it's a system that does multi region rolling deployments.

If you want instant switches, your best option is switches flipped at runtime. That's what a feature flag is.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.