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

Remove pool goroutines from all components that don't need it #4484

Merged
merged 4 commits into from
Jan 2, 2025

Conversation

joe-elliott
Copy link
Member

@joe-elliott joe-elliott commented Dec 20, 2024

What this PR does:
A few improvements that I wanted to keep out of #4483

  • Set pool workers and queue len to 0 in all components that are not queriers. This just spins up dead goroutines for no reason.

image

  • Complete all inflight jobs on ingester shutdown but refuse to do any new jobs. This should improve shutdown/restart time.

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Signed-off-by: Joe Elliott <[email protected]>
Signed-off-by: Joe Elliott <[email protected]>
Signed-off-by: Joe Elliott <[email protected]>
Signed-off-by: Joe Elliott <[email protected]>
@joe-elliott
Copy link
Member Author

Removed change to shutdown b/c a rollout was showing no improvement.

@joe-elliott joe-elliott changed the title Ingester improvements Remove pool goroutines from all components that don't need it Dec 20, 2024
@joe-elliott joe-elliott merged commit 472a16a into grafana:main Jan 2, 2025
16 checks passed
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.

3 participants