Before you ship your next big feature, just put it

Arpit Bhayani

Arpit Bhayani

Dec 01, 2023 • 1 min read


Before you ship your next big feature, just put it behind a “flag” ⚡

You ship with confidence when you know you have a rollback plan and this simple flag is the simplest way to achieve it. If something goes wrong, you can just switch off the flag, and the feature just disappears.

You do not need a fancy system to do this, just a simple configuration file, an environment variable, a database constant, or a runtime configuration is good enough to implement this feature flag.

Remember, everything you ship, should be (easily) rollback-able.

⚡ I keep writing and sharing these engineering nuggets, so if you are keen on learning them, follow along.

youtube.com/c/ArpitBhayani

Arpit Bhayani

Principal Engineer II at Razorpay - building Agent Studio, Ex-staff engg at GCP Memorystore & Dataproc, Creator of DiceDB, ex-Amazon Fast Data, ex-Director of Engg. SRE and Data Engineering at Unacademy. I spark engineering curiosity through my no-fluff engineering videos on YouTube and my courses