You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Business Dashboard UI fetches the latest business data from the API when it starts up, and then polls for changes using a back-off schedule. This is called "pulling for data".
A better design would be for data to get "pushed" from the API to the UI. This would allow the UI to show the latest business data as soon as it's changed in the API. This would potentially allow other "real-time" updates such as notifications from the API (eg, think about a chat or messaging feature).
There exist mechanisms to enable data to be pushed from an API to a UI. (In fact, such a mechanism is already used for the Digital Business Card feature.)
However, the pros and cons of the current "pull" vs "push" mechanisms, and the different push mechanisms, need to be considered. (For example, what is the extra load on the API if we keep 1000 or more UIs connected to it at all times?) It's possible that the current pull mechanism, while not ideal, is still the best solution. This SPIKE exists to dig into this and make design recommendations.
Analyzed and reviewed with Olga Oct 24, 2025:
"Current mechanism works but is sloppy. A better mechanism could enable future features but may never be needed." => do long term or never
Activity
OlgaPotiagalova commentedon Oct 6, 2025
@severinbeauvais, please add a description of what needs to be done. Thank you.
severinbeauvais commentedon Oct 8, 2025
@thorwolpert @kialj876 @cameron-eyds @seeker25 Do you guys have any thoughts on the above?
severinbeauvais commentedon Oct 27, 2025
Analyzed and reviewed with Olga Oct 24, 2025:
"Current mechanism works but is sloppy. A better mechanism could enable future features but may never be needed." => do long term or never