Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bring in Temporal for asset price refreshing #74

Open
itsjoeoui opened this issue Nov 24, 2024 — with Linear · 1 comment
Open

Bring in Temporal for asset price refreshing #74

itsjoeoui opened this issue Nov 24, 2024 — with Linear · 1 comment
Assignees

Comments

Copy link
Member

itsjoeoui commented Nov 24, 2024

Build a workflow that takes in the user's ID and triggers an activity for each stock/crypto that this user owns to refresh its price.

RefreshPrice (workflow)

  • RefreshAndUpdateAccount (activity): this will be triggered n times
  • UpdateOverallSnapshot (activity): this will only trigger when all RefreshAndUpdateAccounts are completed, so we only update the overall once instead of n times.
Copy link

linear bot commented Nov 24, 2024

@itsjoeoui itsjoeoui self-assigned this Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant