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

Compression Updates #961

Merged
merged 13 commits into from
Sep 15, 2021
Merged

Compression Updates #961

merged 13 commits into from
Sep 15, 2021

Conversation

joe-elliott
Copy link
Member

@joe-elliott joe-elliott commented Sep 15, 2021

What this PR does:

  • Adds S2 compression type (should experiment with this for the WAL compression)
  • Updates snappy to use klauspost for improved performance
  • Update klauspost dependency
  • Fixed backend block benchmark

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]>
Signed-off-by: Joe Elliott <[email protected]>
Signed-off-by: Joe Elliott <[email protected]>
Signed-off-by: Joe Elliott <[email protected]>
@joe-elliott joe-elliott merged commit b89f2ae into grafana:main Sep 15, 2021
@joe-elliott joe-elliott mentioned this pull request Sep 20, 2021

// PutWriter places back in the pool a CompressionWriter
func (pool *S2Pool) PutWriter(writer io.WriteCloser) {
pool.writers.Put(writer)

Choose a reason for hiding this comment

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

Maybe add a writer.Close() to ensure it is flushed.

joe-elliott added a commit to joe-elliott/tempo that referenced this pull request Sep 21, 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.

3 participants