You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assume we have a feature flag show_button with variants show and hide.
A segment was on 100% rollout and distribution was 100% for hide. Now we want to increase the percentage of people who see the button. So we adjust it to be 90% hide and 10% show.
What happens to existing users who have already been evaluated as hide?
Does the change in distribution trigger a re-assessment of everyone in that segment when they evaluate a flag?
Thanks
The text was updated successfully, but these errors were encountered:
Flagr is stateless, and the variants assignment is based on the entityID. So, yes, if you change from 0/100 to 10/90, 10% of the hide users will get show. Note that it's deterministic at random.
Ah the stateless part was what I was missing. So if I understand correctly, Flagr doesn't evaluate a flag and store the result somewhere, each evaluation occurs algorithmically and is deterministically random. Therefore there is no assessment to "re-trigger", the algorithm simply takes into account the percentage rollout and distribution of a segment during evaluation, so if any of the parameters change the results show up right away.
Assume we have a feature flag
show_button
with variantsshow
andhide
.A segment was on 100% rollout and distribution was 100% for
hide
. Now we want to increase the percentage of people who see the button. So we adjust it to be 90%hide
and 10%show
.What happens to existing users who have already been evaluated as
hide
?Does the change in distribution trigger a re-assessment of everyone in that segment when they evaluate a flag?
Thanks
The text was updated successfully, but these errors were encountered: