Hello team, I'm new to Growthbook, wondering what ...
# ask-questions
l
Hello team, I'm new to Growthbook, wondering what is the best practice if I need to run A/B test across multiple services. Do I obtain experiment assignment in every service? Or I only obtain once and pass the assignment to downstream services? Any suggestions? Thanks!
f
do you have a persistent identifier that is available across your services?
typically you would do the assignment on every service, if you have a persistent identifier, they'll always get assigned to the same variant
but some people get a bit confused about how GrowthBook works, and think they need to pass the experiment and variant to ever event, and that is not the case.
l
yes, I have persistent identifier, my intention is to do assignments on every service, the only problem is the downstream need to call growthbook service for every incoming request, imaging the service has many different upstream services, then calling growthbook can be a bottleneck here.
f
you can cache the payload heavily
since that doesn't change much
the requests are very quick
doesn't need to be a network request - the payload the SDK uses is a JSON object, and it can be served from anywhere
l
I see, that makes things easier, thanks