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

[Project] Optimize database queries #358

Open
kmcginnes opened this issue May 8, 2024 · 0 comments
Open

[Project] Optimize database queries #358

kmcginnes opened this issue May 8, 2024 · 0 comments
Assignees
Labels
exploration Issues related to graph exploration, node & edge details, neighbor expansion, etc performance Issues relating to performance reliability Issues relating to improvements in reliability search Issues related to search functionality

Comments

@kmcginnes
Copy link
Collaborator

kmcginnes commented May 8, 2024

We can trace many reliability and performance issues to sub-optimal database queries. Here, we attempt to tackle some of the most impactful database queries in the app.

Plan

The general approach is to reduce the complexity of the database queries we are performing. At the same time, we can defer performing some of the queries until the user interacts with the UI that requires that data.

Also, by using TanStack Query for the database queries we can regain caching of the queries. This will also provide good options for automatic and manual retries.

Related Issues

Tasks

Addresses

Consider

These issues may be partially or completely solved by the effort in this issue.

@kmcginnes kmcginnes added search Issues related to search functionality performance Issues relating to performance reliability Issues relating to improvements in reliability exploration Issues related to graph exploration, node & edge details, neighbor expansion, etc labels May 8, 2024
@kmcginnes kmcginnes added this to the Release 1.9.0 milestone May 8, 2024
@kmcginnes kmcginnes changed the title Optimize database queries [Project] Optimize database queries May 13, 2024
@kmcginnes kmcginnes self-assigned this May 24, 2024
@kmcginnes kmcginnes removed this from the Release 1.9.0 milestone Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exploration Issues related to graph exploration, node & edge details, neighbor expansion, etc performance Issues relating to performance reliability Issues relating to improvements in reliability search Issues related to search functionality
Projects
No open projects
Status: 🏗 In progress
Development

No branches or pull requests

1 participant