Skip to content

Lower the impact of low-priority queries #2484

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

Merged
merged 3 commits into from
Aug 8, 2022

Conversation

dominiklohmann
Copy link
Member

@dominiklohmann dominiklohmann commented Aug 3, 2022

This changes low-priority queries to be less meaningful for scheduling: Only 1/25th of a regular query, and 1/100th of a query used for partition transformations. I'm hoping that this reduces the timeouts for compaction we've been seeing while many queries were active.

📝 Checklist

  • All user-facing changes have changelog entries.
  • The changes are reflected on vast.io, if necessary.
  • The PR description contains instructions for the reviewer, if necessary.

🎯 Review Instructions

Run it to see if we still run into timeouts under stress. I deployed this on Callisto and the changes were visible as soon as compaction triggered the next time (after 1h with our current configuration). This is working nicely.

@dominiklohmann dominiklohmann added the performance Improvements or regressions of performance label Aug 3, 2022
@dominiklohmann dominiklohmann requested a review from lava August 3, 2022 07:56
This changes low-priority queries to be less meaningful for scheduling: Only
1/25th of a regular query, and 1/100th of a query used for parititon
transformations. I'm hoping that this reduces the timeouts for compaction we've
been seeing while many queries were active.
@dominiklohmann dominiklohmann force-pushed the story/sc-35405/query-prio-adjustment branch from 5b6d648 to 2be2a50 Compare August 3, 2022 08:44
@dominiklohmann dominiklohmann force-pushed the story/sc-35405/query-prio-adjustment branch from 68c1605 to e994fbe Compare August 3, 2022 10:56
@dominiklohmann dominiklohmann force-pushed the story/sc-35405/query-prio-adjustment branch from e994fbe to 99bb04f Compare August 3, 2022 10:58
@dominiklohmann dominiklohmann added blocked Blocked by an (external) issue and removed rc labels Aug 3, 2022
@dominiklohmann dominiklohmann removed the blocked Blocked by an (external) issue label Aug 8, 2022
@dominiklohmann dominiklohmann merged commit 72639ad into master Aug 8, 2022
@dominiklohmann dominiklohmann deleted the story/sc-35405/query-prio-adjustment branch August 8, 2022 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Improvements or regressions of performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants