Sticky bucketing
Also called: consistent bucketing, deterministic bucketing
Last updated:
Sticky bucketing — also called deterministic or consistent bucketing — is how a feature flag keeps a user's assignment stable. Rather than drawing a fresh random number on each check, the SDK hashes the user identifier together with the flag key into a fixed bucket from 0 to 99. The hash is pure, so the same user and the same flag always produce the same bucket, on every server and every request.
Why stickiness matters
How the bucket is computed
Want the full picture? Read the concept guide: Rollout strategies →
Related terms
Percentage rollout
A percentage rollout serves a feature to a defined share of users — chosen by a deterministic hash — so the same users stay in the cohort as you ramp the percentage up.
A/B testing
A/B testing serves two variations to randomly assigned groups of users and measures which one performs better on a chosen metric — turning a product decision into a controlled experiment instead of a guess.
Targeted rollout
A targeted rollout releases a feature to a specific audience — defined by user attributes or a segment — rather than to a random percentage of everyone, so the right users get it first.
Try it in your own app
Free Solo plan covers 10 flags and 2 environments. No credit card, no demo call — sign up and ship.