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 option for object store #1544

Merged

Conversation

johbar
Copy link
Contributor

@johbar johbar commented Feb 4, 2024

This PR resolves #1536. It is mainly a copy of how the same was realized for KV.

I would be very happy to see this merged. I am about to use the NATS object store for a large amount of textual data. It seems, S2 compression saves about 50 % of disk storage.

see #1536

Signed-off-by: Johannes Bareuther <40851416+johbar@users.noreply.github.com>
Copy link
Collaborator

@piotrpio piotrpio left a comment

Choose a reason for hiding this comment

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

Looks great, thanks for the contribution!

@piotrpio piotrpio merged commit 1c24aa7 into nats-io:main Feb 8, 2024
1 check passed
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.

Add stream compression option for object store buckets
2 participants