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

Query Performance Improvements #498

Merged
merged 33 commits into from
Feb 11, 2025
Merged

Query Performance Improvements #498

merged 33 commits into from
Feb 11, 2025

Conversation

bigabig
Copy link
Member

@bigabig bigabig commented Feb 11, 2025

drastic reduction in the number of queries/requests by utilizing

  1. stale time to keep query results longer
  2. mutation results to update frontend state, instead of refetching after a mutation
  3. normalized state. I introduced "Maps", i.e. Record<number, CodeRead>..., to have fast access to server state and reduce the number of queries

@bigabig bigabig merged commit 0dccb98 into main Feb 11, 2025
3 of 4 checks passed
@bigabig bigabig deleted the improve-tags-codes branch February 11, 2025 10:23
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

Successfully merging this pull request may close these issues.

1 participant