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

Switch default ingester_client grpc compression from gzip to snappy #522

Merged
merged 3 commits into from
Feb 16, 2021

Conversation

mdisibio
Copy link
Contributor

@mdisibio mdisibio commented Feb 11, 2021

What this PR does:
Switches the default compression for ingester_client from gzip to snappy. This is primarily used for distributor->ingester traffic, but also for querier->ingester.

Internal testing shows that snappy outperforms gzip:

  • 53% reduction in distributor cpu
  • 12% reduction in ingester cpu
  • 10% reduction in Push latency
  • Minor improvements to mem usage (working set)

Which issue(s) this PR fixes:
n/a

Checklist

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

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!

@mdisibio mdisibio merged commit 8470bff into grafana:master Feb 16, 2021
@mdisibio mdisibio deleted the grpc-default-snappy branch May 27, 2021 13:28
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