Skip to content

Compression Updates#961

Merged
joe-elliott merged 13 commits intografana:mainfrom
joe-elliott:s2-snappy
Sep 15, 2021
Merged

Compression Updates#961
joe-elliott merged 13 commits intografana:mainfrom
joe-elliott:s2-snappy

Conversation

@joe-elliott
Copy link
Copy Markdown
Collaborator

@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 <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
@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)
Copy link
Copy Markdown

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