-
Notifications
You must be signed in to change notification settings - Fork 327
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
Feature Request: Compression #331
Comments
Just came across this PR that allows SncRedisBundle to explicitly select a serializer. Choosing igbinary might result in significant data compression savings about ~50% according to many benchmarks like this drupal discussion. |
👍 This would be a great addition. |
Using gzip may hold up to 80% memory saving, I implemented it in the Drupal Redis module. Until now, it never affected performance, but on many system hold a huge memory save. |
Seems to be solved by today's release v 2.1.1 by selecting Igbinary serializer, this PR by @yellow1912 adding this great option #411 |
You're welcome, wasn't aware of this issue or I'd have pinged you 😄 If you see viable improvements by all means send a PR! |
I have been pondering the best place to request this, threads on redis discussions suggest within the app code to be the best place.
Compression of values can save at least 50% RAM in my Symfony app tests. Is this something SncRedisBundle can handle especially when Redis is used as a cache?
A see a few potential issues, though like if many App servers are connecting to a central Redis then they all must have the same compression library and version installed.
Thoughts?
The text was updated successfully, but these errors were encountered: