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

Grpc zstd compression for ingester client #10411

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

deniszh
Copy link
Contributor

@deniszh deniszh commented Jan 12, 2025

What this PR does

This PR implementing zstd grpc compression support between distributors and ingesters.

Context: although S2 looks like better candidate for generic GRPC compression (see my tests), I tested another implementation of ZSTD compressor, and found out that it achieves 20% better compression than S2 in exchage of 40% of CPU, which is still better then gzip.

Please note, that enabling ZSTD compression for other components still cause noticeable memory consumption increase, so, I implemented it only for ingester, where I do not see such effect.

Which issue(s) this PR fixes or relates to

Fixes #8522

Checklist

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

@deniszh deniszh requested review from tacole02 and a team as code owners January 12, 2025 15:10
@deniszh
Copy link
Contributor Author

deniszh commented Jan 12, 2025

Not sure why tests are failing, don't think it's caused by my change...

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.

zstd compression support between distributors and ingesters
2 participants