-
Notifications
You must be signed in to change notification settings - Fork 702
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] Support network compression on valkey, with possible algorithms like lz4, zstd, gzip. #1494
Comments
Was looking for exactly the same for my project. Would be great to have this |
Love this idea! @hpatro investigated this a bit in Redis with redis/redis#6809, but that issue was originally more focused on moving away from lzf. |
I like this idea too. For the related topics, we already have #1223. Some questions to discuss:
|
@rohan-changejar , why cannot you compress the payload at the application side? Can you please share if this blocks you from using compression/decompression at the application level. And I think that we should come up with solution that does the compression/decompression by the application and the server has to perform decompression/compression at the server side for read/write commands. I made a design for this problem at the past, if this is the direction I can share it. |
@asafpamzn having network compression eliminates the need for complexity of changing application code and also makes the same data available with and without compression to multiple clients. Considering compression being a task which could impair performance on some systems, having the choice not to use compression will be a major advantage. |
@rohan-changejar , |
It's a good point! Also, how would we maintain these dependencies with time if the dependencies are inside our code base? |
Significant improvement when dealing with huge payloads and reduce network bandwidth costs
With current case, the network usage in cases of huge payload sizes will eventually end up costing significant amounts of money and possible hit on performance too
Configurable network compression parameters
Give an option with parameters which can be enabled and clients like redission which promise support for valkey can leverage this.
Any additional information that is relevant to the feature request.
Although not directly related, posting here some references to network compression being implemented on DBs like mongo
https://www.mongodb.com/developer/products/mongodb/mongodb-network-compression/
The text was updated successfully, but these errors were encountered: