-
Hey everyone, I'm opening this discussion asking for help 😁 I'm trying to understand if there's a way to achieve sticky bucketing without extra tools during the fractional evaluation.
One of our requirements is the ability to change the percentages without reassigning the variants on subsequent calls. After checking the implementation and the documentation, I suppose this is not the case by design. If I'm correct, then there's no way, at the moment, to achieve sticky bucketing using Note: while reading through the ADRs, I've noticed this: So I'm wondering: is it something you're planning to add? cc @beeme1mr , sorry for the tag but I've seen that the ADR is yours 😁 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hey @pmarchini, the You can play around with the sticky bucketing configuration in the playground and read about the technical implementation here. |
Beta Was this translation helpful? Give feedback.
Yes, that's expected because the overall size of the buckets changes based on the updated weight. In the example you posted above, you're changing four bucket sizes at once, which will cause some thrashing. However, if you only had two variants, say "on" and "off", then slowly increasing the bucket size of "on", requests that evaluate to "on" will always stay on as long as you either keep the weight the same or increase the weight. If you decrease the weight, you run the risk of reverting to the "off" variant.
Here's a visual representation of what you're seeing above.