Skip to content

Refactor task retrieval logic in TaskDAL to improve performance#1255

Merged
CollinBeczak merged 2 commits into
mainfrom
Refactor-task-retrieval
Jul 15, 2026
Merged

Refactor task retrieval logic in TaskDAL to improve performance#1255
CollinBeczak merged 2 commits into
mainfrom
Refactor-task-retrieval

Conversation

@CollinBeczak

@CollinBeczak CollinBeczak commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Replaced the slow SQL query for fetching project details with a more efficient method using the challenge manager. Additionally, optimized cache handling for new tasks to skip unnecessary lookups, enhancing overall performance and reducing latency.

seemingly makes challenge build speed 2x-3x faster. (At least locally goes from 4,000 tasks per 10 seconds to 10,000 tasks per 10 seconds on challenge build)

Replaced the slow SQL query for fetching project details with a more efficient method using the challenge manager. Additionally, optimized cache handling for new tasks to skip unnecessary lookups, enhancing overall performance and reducing latency.
@CollinBeczak
CollinBeczak requested a review from jake-low July 13, 2026 17:09
@sonarqubecloud

Copy link
Copy Markdown

@jake-low jake-low left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed this code as best I can. Looks good from what I can tell (though there are some Scala-isms in here that are above my level of understanding TBH). Nonetheless, feel free to merge.

@CollinBeczak
CollinBeczak merged commit eba98bd into main Jul 15, 2026
9 checks passed
@CollinBeczak
CollinBeczak deleted the Refactor-task-retrieval branch July 15, 2026 21:43
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.

2 participants