-
Notifications
You must be signed in to change notification settings - Fork 23.5k
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
[NEW] Add zstd support #11742
Comments
for many use cases, specifically for simple strings (SET and GET, HSET and HGET commands), it makes much more sense to compress these at the client side and benefit from reduced network load. i.e. unless redis needs to process that data like doing GETRANGE or LCS. please explain what's your use case for that and why this is not preferred. |
Sure! Client-side compression requires changes on the client-side. Server-side compression could be enabled transparently to the clients.
Maybe but why in this case you already have the documentation regarding the compression in Redis documentation? :) Here is a quote from https://docs.redis.com/latest/ri/memory-optimizations/#compress-values
|
ok, you're right, if we mention one, we might as well mention the other, but then i would wonder where does it end. maybe the right thing is to drop the mention of Snappy and put some general text. |
Client-side compression is a valid practice. Redis itself has no special support for it, and therefore this information isn't included in the project's docs. The Enterprise docs apparently include some information about this pattern - @zamazan4ik, please suggest this improvement to https://github.com/RedisLabs/redislabs-docs/edit/master/content/ri/memory-optimizations.md |
The problem/use-case that the feature addresses
Use a cheap algorithm for built-in compression in Redis to reduce memory usage.
Description of the feature
Add built-in
zstd
support to Redis. If having built-in compression is against Redis philosophy, could you please at least mentionzstd
algorithm as a recommended way to implement compression here: https://docs.redis.com/latest/ri/memory-optimizations/ ?If it's already supported - could you document it, please?
Alternatives you've considered
Try to use external modules like https://github.com/chadnickbok/redis-zstd-module but it's a riskier way since 3rd party modules have worse support, could be outdated, etc.
The text was updated successfully, but these errors were encountered: