This message was deleted.
# ask-questions
w
This message was deleted.
f
Hi Amr: Depending on the SDK, it does do caching. For the JS/React SDK the number of requests should be roughly equal to the number of sessions you have, but if you use a proxy, it will do much heavier caching. If you use the real time updates, that will also increase the number of calls. Yes, you can switch from cloud to self-hosting (or vice versa) Yes, the proxy is not required
b
so it looks like to save time and maintenance I should use cloud without
subscribeToChanges
If I set it to false, will users still get feature updates? or will it happen on the next time they visit the site (refresh), or when a user attribute updated ? I wonder I I can then flag a group of users to have more live updates 🤔 Is there any place in the account where I can get your SLOs? or a sense of how much load you have ? I can report it in my logging tools to compose an alarm when I'm over using your API or warn me if there are issues
r
When ​`subscribeToChanges`​ is set to ​`false`​, the GrowthBook SDK will not subscribe to live updates for feature flag changes that are made in the GrowthBook UI. Instead, the feature flag values will be fetched based on the cache settings or when the ​`loadFeatures()`​ method is called manually from within your application code. For more details on how to manage feature flag updates and the use of ​`subscribeToChanges`​, you can refer to the GrowthBook documentation on ​*streaming updates*​.
Which SLO(s) are you interested in? We serve double-digit billions of feature requests per month with 99.99% uptime. So 10M requests/month is not a problem at all. Something to note is that we don't currently have an API endpoint for fetching how many API requests you've already used and how many you have left. If this is something you want to track you would need to manage that yourself. It's on our roadmap to build this in the future.
It is possible to enable real-time updates for only certain visitors, since each visitor gets their own GrowthBook instance via the SDK. You would have to make the settings visitor-specific within your application code.
b
thanks @brief-honey-45610
👍 1
146 Views