Solved

Question about using Bucketing Slat

  • 15 April 2024
  • 2 replies
  • 84 views

Userlevel 2
Badge

I know this is documented quite well here: https://www.docs.developers.amplitude.com/experiment/general/evaluation/implementation/#activation

But this experiment is very important, so I just want to make sure I have this right. 

We have 3 flags that we want to ensure get to the same users. If we use the same Bucketing Salt for each of the flags, then if we keep the segments and rollout numbers the same, then the same users should receive all 3 flags. Is this correct? Are there any pitfalls that we should be aware of when doing something like this? 

Thanks in advance.

icon

Best answer by Thao Nguyen 20 April 2024, 05:09

View original

2 replies

Userlevel 3
Badge +5
Hi Justin,

Thank you for contacting Amplitude Support. Happy to help!

Please allow me to check with my team regarding your experiment implementation. I will get back to you shortly.

Thank you for your patience and understanding!

Best regards,
Thao


P.S. Checkout upcoming events and user meetups on our events page.
Userlevel 3
Badge +5
Hi Justin,

Thank you for your patience!

I consulted my team about your use case. You are correct in your understanding. If you use the same Bucketing Salt for each of the flags and keep the segments and rollout numbers the same, the same users should indeed receive all 3 flags.

This is due to Amplitude Experiment's consistent bucketing, which is based on the user, bucketing key, bucketing salt, allocation percentage, and variant weights. Given the same inputs, the output remains constant.

However, there are a few things to be aware of:

1. Changing the bucketing salt can cause users to switch between variants in your experiment. Therefore, it's recommended not to change the bucketing salt unless necessary.
2. If a user moves from one segment to another, they may be assigned to a different variant. This is known as 'Variant jumping'. To prevent this, you can enable a feature called 'Sticky bucketing', which ensures that a user will be assigned the same variant, even if they move between different segments.
3. Lastly, while using the same bucketing salt value for all experiments/flags will ensure that users receive the same variant, it's recommended to create a test experiment in a test project to observe the behavior before implementing it in production.
I hope this helps! Let me know if you have any other questions.

Best regards,
Thao


P.S. Checkout upcoming events and user meetups on our events page.

Reply