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

Improve Sequencing Queries #1368

Merged
merged 4 commits into from
Mar 18, 2024
Merged

Conversation

Mythicaeda
Copy link
Contributor

Description

Refactors the Hasura queries used in the sequencing server to be faster and the DB queries to not join on unnecessary tables.

Verification

Manually testing the queries gave a time increase from ~17s with the old Hasura queries to ~1s with the new queries.
The DB queries are negligibly faster (66ms vs 55ms). These timings came from running the queries against the Clipper dev venue that was having the issue.

Documentation

No docs need to be updated

Future work

Mythicaeda and others added 4 commits March 18, 2024 09:31
TODO: correctly sum `start_time` and `end_time`
* Using the span to calculate an activityInstance's 'startTime' and 'endTime'
@Mythicaeda Mythicaeda added fix A bug fix sequencing Anything related to the sequencing domain labels Mar 18, 2024
@Mythicaeda Mythicaeda requested a review from goetzrrGit March 18, 2024 19:30
@Mythicaeda Mythicaeda requested a review from a team as a code owner March 18, 2024 19:30
@Mythicaeda Mythicaeda requested a review from cohansen March 18, 2024 19:30
@Mythicaeda Mythicaeda merged commit b10c72a into develop Mar 18, 2024
6 checks passed
@Mythicaeda Mythicaeda deleted the refactor/improve-sequencing-queries branch March 18, 2024 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix A bug fix sequencing Anything related to the sequencing domain
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Very slow to load sequences in UI
3 participants