Skip to content

SPIKE: design for async dashboard updates #24949

Closed

Description

@severinbeauvais

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.

Activity

  1. added
    Entities Team
    on Dec 13, 2024
  2. OlgaPotiagalova commented on Oct 6, 2025

    @OlgaPotiagalova
    Collaborator

    @severinbeauvais, please add a description of what needs to be done. Thank you.

  3. severinbeauvais commented on Oct 8, 2025

    @severinbeauvais
    CollaboratorAuthor

    @thorwolpert @kialj876 @cameron-eyds @seeker25 Do you guys have any thoughts on the above?

  4. severinbeauvais commented on Oct 27, 2025

    @severinbeauvais
    CollaboratorAuthor

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Entities Teamtechdebt

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions