Rollout Strategies & Percentage Rollouts
Rollout strategies determine how variations are distributed to users. Featureflip supports two strategies: fixed serving and percentage rollout. You can use them independently or combine them with targeting rules.
Fixed serving
Section titled “Fixed serving”With fixed serving, every user who matches a rule (or reaches the fallthrough) gets the same variation. There is no randomness or splitting.
This is the default strategy and the simplest to reason about:
- Rule matches “enterprise” users — all enterprise users get
true - Fallthrough — everyone else gets
false
Fixed serving is the right choice when you want a binary decision: a group of users either gets the feature or they do not.
Percentage rollout
Section titled “Percentage rollout”With percentage rollout, traffic is split across variations by percentage. For example:
true— 20% of usersfalse— 80% of users
This is useful for gradual rollouts (test with a small group before going wide) and A/B testing (compare two or more variations against each other).
You can apply a percentage rollout to the fallthrough or to individual targeting rules.
How percentage rollout works
Section titled “How percentage rollout works”Featureflip uses a deterministic hashing algorithm to assign users to buckets:
- The user’s ID and the flag key are combined and hashed.
- The hash produces a number between 0 and 100.
- That number determines which variation the user receives based on the configured percentages.
Because the hash is deterministic, the same user always gets the same variation for the same flag. A user will not flip between variations on page refresh, across sessions, or between API calls. This consistency is important for a good user experience.
Different flags produce different hashes for the same user, so a user who is in the 20% group for one flag is not necessarily in the 20% group for another.
Gradual rollout pattern
Section titled “Gradual rollout pattern”The most common use of percentage rollout is a gradual feature release:
- 5% — Release to a small group. Monitor error rates and key metrics.
- 25% — Expand if metrics look healthy. Watch for edge cases.
- 50% — Half of users now have the feature. Continue monitoring.
- 100% — Full rollout. The feature is live for everyone.
At any step, if you see problems, reduce the percentage back down or set it to 0%. There is no deployment involved — the change takes effect within seconds.
Once a feature is at 100% and stable, remove the flag from your code and delete it from Featureflip. Stale flags add complexity.
Combining strategies
Section titled “Combining strategies”Targeting rules and rollout strategies work together. A common pattern:
- Rule 1:
emailends with"@yourcompany.com"— servetrue(fixed). Your internal team always sees the feature for dogfooding. - Rule 2: Segment
"Beta Users"— servetrue(fixed). Beta testers always see the feature. - Fallthrough: 10% get
true, 90% getfalse(percentage rollout). A small slice of general users also see the feature.
Rules are evaluated first, top to bottom. Users who match a rule get that rule’s variation and skip the fallthrough. Users who do not match any rule fall through to the percentage rollout.
This lets you guarantee access for specific groups while gradually exposing the feature to the broader user base.
Next steps
Section titled “Next steps”- Targeting & Segments — attribute-based targeting and reusable segments
- How to Set Up Targeting Rules — step-by-step guide to configuring rules and rollouts
- How to Use Segments — create reusable user groups
- Evaluation API — see how rollouts are resolved via the REST API