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

Calculate dashboard stats and save to db #320

Open
1 task
DJensen94 opened this issue Jun 4, 2024 · 0 comments
Open
1 task

Calculate dashboard stats and save to db #320

DJensen94 opened this issue Jun 4, 2024 · 0 comments

Comments

@DJensen94
Copy link
Contributor

💡 Summary

Create a new table to hold dashboard statistics. Also create a scan that will fill the table ever X minutes.

Motivation and context

This will allow us to query the pre-calculated statistics for the dashboard so we won't time out running the queries

Implementation notes

Create new dashboard-stats table in the Crossfeed db
Create scan to query the stats and save them to the table every X minutes.
Create endpoint to pull stats to be used by the frontend

Acceptance criteria

How do we know when this work is done?

  • Frontend dashboard is populated from the new dashboard stats table
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