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

Key/Value and Object Store compression #214

Merged
merged 3 commits into from
Nov 16, 2023
Merged

Key/Value and Object Store compression #214

merged 3 commits into from
Nov 16, 2023

Conversation

mtmk
Copy link
Collaborator

@mtmk mtmk commented Nov 15, 2023

@mtmk mtmk requested a review from caleblloyd November 15, 2023 22:47
@mtmk mtmk mentioned this pull request Nov 15, 2023
@caleblloyd
Copy link
Collaborator

Looks like Deno uses Compression with the actual Compression options in the config. Which makes more sense if there will ultimately be multiple Compression options to choose from

@caleblloyd
Copy link
Collaborator

@mtmk
Copy link
Collaborator Author

mtmk commented Nov 16, 2023

Looks like Deno uses Compression with the actual Compression options in the config. Which makes more sense if there will ultimately be multiple Compression options to choose from

I think there was a discussion about it and ADR says it should be bool also Go and Java using bool. Not sure why deno is different also rust looks the same as well. huh?!

@mtmk
Copy link
Collaborator Author

mtmk commented Nov 16, 2023

Turns out it should be bool.

@caleblloyd
Copy link
Collaborator

Naming wise - I would expect the Config param to be something like bool EnableCompression. This conveys that I am turning on a feature called "compression". Versus IsCompressed conveys that some data I will put in this stream is already compressed

But for the Status param IsCompressed is fine

What do the other Clients call the Config param? Or is there a matching Stream Config param name that we should align?

@mtmk
Copy link
Collaborator Author

mtmk commented Nov 16, 2023

What do the other Clients call the Config param? Or is there a matching Stream Config param name that we should align?

Go is using 'Compression' and 'IsCompressed'. ADR is the same.

Copy link
Collaborator

@caleblloyd caleblloyd left a comment

Choose a reason for hiding this comment

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

LGTM

@mtmk mtmk merged commit 222eaeb into main Nov 16, 2023
9 checks passed
@mtmk mtmk deleted the kv-obj-compression branch November 16, 2023 18:20
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