Skip to content
Innopulse Consulting
SaaS Building

Feature flags and staged rollouts: taking the risk out of releases

Separating deployment from release: types of feature flags and their lifespan, staged rollouts, measuring impact, how flags become technical debt and rolling out changes to business customers.

Leutrim Miftaraj
Leutrim Miftaraj
Founder & CEO
·Updated ·5 min read

If new features can only be enabled for everyone at once through a deployment, every release is a risk. Feature flags separate shipping code from enabling a feature. A change can be activated first internally, then for a few customers and finally for everyone, and switched off in an emergency without a new deployment.

Types of flags and their lifespan

Release flags hide unfinished features and should disappear after full rollout. Experiment flags assign users to variants to measure impact and live as long as the experiment. Operational flags act as an emergency brake for expensive or risky features and stay permanently. Permission flags control which customers may use a feature, for example by plan. Recording the type when creating a flag tells you later which flags must be removed.

A staged rollout

A fixed sequence works well: first your own team, then a small group of customers who want to see new features early, then a growing share of all users, finally everyone. Between stages, error rates, response times and support requests are watched. Only when a stage is unremarkable does the next follow.

Measuring impact

A rollout without measurement is just a slow release. Before starting, decide how success is recognised, such as an adoption rate, shorter processing time or fewer support requests. Experiments need enough users per variant so differences are not due to chance.

How flags become technical debt

Every flag doubles possible code paths. Hundreds of forgotten flags make a system opaque and hard to test. Every release flag therefore gets an expiry date and an owner when created; after full rollout it is removed together with the dead code.

Staged rollout for business customers

Business customers value predictability. For larger changes it helps to give administrators a preview and let them choose when to switch their tenant, within an announced period. The term is explained in our glossary entry on feature flags; how we secure releases is described in the article on the SaaS security baseline.

About the author
Leutrim Miftaraj
Leutrim Miftaraj
Founder & CEO · Innopulse Consulting

Founder of Innopulse Consulting, IT project lead and business analyst. Mandates incl. EDA, MeteoSwiss, FSO, SERI, FINMA, Swisscom and BLS. MSc FFHS, PMP, IREB CPRE. Author of “Identity Over Discipline”.

Topics
feature flagsstaged rollout saascanary releasekill switch featurefeature flag technical debt
Working on something similar?

Let's talk.

If this article maps to a problem you're actively working on, send us a short description — we'll respond with a practical next step.