Skip to content

Fix Ingester Query Latency Spikes#461

Merged
annanay25 merged 3 commits intografana:masterfrom
joe-elliott:ingester-read-spikes
Jan 18, 2021
Merged

Fix Ingester Query Latency Spikes#461
annanay25 merged 3 commits intografana:masterfrom
joe-elliott:ingester-read-spikes

Conversation

@joe-elliott
Copy link
Copy Markdown
Collaborator

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
Copy Markdown
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.

2 participants