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

Fix Ingester Query Latency Spikes #461

Merged
merged 3 commits into from
Jan 18, 2021

Conversation

joe-elliott
Copy link
Member

What this PR does:
Reduces the locking range on the block mutex during an active traces flush. This significantly improves Ingester query latency:

image

I was surprised to not immediately see similar improvement at the query frontend. However, I did find that the impact of querier scaling is now much more apparent with the ingester fix:

image

First annotation is the new ingester being deployed. Second annotation is scaling the queriers to 10.

Checklist

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

Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
Copy link
Contributor

@annanay25 annanay25 left a comment

Choose a reason for hiding this comment

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

lgtm!

@annanay25 annanay25 merged commit cd754f0 into grafana:master Jan 18, 2021
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.

None yet

2 participants