Hi team, I understand I can create an "A/B experim...
# ask-questions
s
Hi team, I understand I can create an "A/B experiment feature" and sample the users using any of the "identifier attributes". I can then integrate a Java SDK in my application to do traffic split. But this would mean SDK will call growthbook api for every incoming user. Due to high user traffic I want to avoid SDK hitting growthbook for every incoming user. I want to "randomly" assign incoming users to A/B experiment and want the SDK to do it in application itself without reaching out to growthbook for every incoming user. Is this possible with current sdk. Apologies if this is too obvious and if I missed something in docs.
f
the SDK does not need to hit the API per user
the payload of the rules to assign users is the same for all (until you update the features) - so it can be cached
If caching isn't an option, you can do as you describe with inline experiments
s
ok, thanks for quick response