Skip to content

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.

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.

With percentage rollout, traffic is split across variations by percentage. For example:

  • true — 20% of users
  • false — 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.

Featureflip uses a deterministic hashing algorithm to assign users to buckets:

  1. The user’s ID and the flag key are combined and hashed.
  2. The hash produces a number between 0 and 100.
  3. 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.

The most common use of percentage rollout is a gradual feature release:

  1. 5% — Release to a small group. Monitor error rates and key metrics.
  2. 25% — Expand if metrics look healthy. Watch for edge cases.
  3. 50% — Half of users now have the feature. Continue monitoring.
  4. 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.

Targeting rules and rollout strategies work together. A common pattern:

  • Rule 1: email ends with "@yourcompany.com" — serve true (fixed). Your internal team always sees the feature for dogfooding.
  • Rule 2: Segment "Beta Users" — serve true (fixed). Beta testers always see the feature.
  • Fallthrough: 10% get true, 90% get false (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.