Hi.
I've learned that Growthbook could detect an already-used attribute ID so an experiment result will be the same for a particular user. I'm using growthbook in Golang backend and it works well in my local. My current implementation:
• Keep a pointer of FeatureMap that will be updated by:
◦ A go routine, regularly fetched the latest feature values
◦ A webhook, register the webhook to Growthbook
• On each HTTP request, initiate new growthbook context with attribute ID attached (userID). So, new growthbook instance for each request, using the same feature map.
My question:
• Where did this attribute ID being cached? How did the growthbook instance know that this or that ID is already assigned with an experiment variation?
• If I spawn up 5 replicas of backend service, will the growthbook cached this attribute ID independently in each service?
◦ If so, will this lead to the same user receiving different growthbook experiment result in different service?
Thank you in advance!