Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

[ENR-70] 🚀 Feature: Push updates for SDK cached feature flags values #132

Open
1 task done
galkleinman opened this issue Jan 31, 2023 · 1 comment
Open
1 task done

Comments

@galkleinman
Copy link
Contributor

galkleinman commented Jan 31, 2023

🔖 Feature description

Implement push updates to feature flag values cached in the SDK memory.

🎤 Why is this feature needed ?

Currently, the update mechanism is based on polling with a given interval, it makes flag values stale till the next polling interval. In cases where freshness matters or cases where SDK on one machine triggers value updates and the rest are out of sync, using push updates will result in all machines being synchronized and near real-time freshness.

✌️ How do you aim to achieve this?

Make use of GraphQL subscriptions (WebSockets) to broadcast feature value changes to relevant (those of the tenant whose values have been changed) SDK instances.

🔄️ Additional Information

No response

👀 Have you spent some time to check if this feature request has been raised before?

  • I checked and didn't find similar issue

Are you willing to submit PR?

None

ENR-70

@galkleinman galkleinman changed the title 🚀 Feature: Push updates for SDK cached feature flags values [ENR-70] 🚀 Feature: Push updates for SDK cached feature flags values Jan 31, 2023
@tomer-friedman
Copy link
Contributor

Implemented using graphQL Subscriptions over web-sockets. See 8c63067

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants