Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eugenioclrc/redis-gzip
https://github.com/eugenioclrc/redis-gzip
Last synced: 27 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/eugenioclrc/redis-gzip
- Owner: eugenioclrc
- Created: 2018-12-02T00:39:16.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-02-11T13:26:08.000Z (almost 3 years ago)
- Last Synced: 2024-10-27T23:39:30.923Z (2 months ago)
- Language: JavaScript
- Size: 130 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# redis-gzip
Implementacion de redis que autocomprime el contenidoInspirado por
http://labs.octivi.com/how-we-cut-down-memory-usage-by-82/> ## Compress your data!
###It’s a big win if you compress data before saving to Redis.> In one of our Redis instance we store mid-large json objects. Thanks to PHP gzcompress function which internally uses ZLIB library we were able to reduce memory usage by 82% – from about 340 GB to 60 GB. Due to that, now we need only one server with 64GB of RAM instead of having instance with 512 GB which would be likely 3 times more expensive. It was the way we could scale up and avoid premature horizontally scaling.In one of our Redis instance we store mid-large json objects. Thanks to PHP gzcompress function which internally uses ZLIB library we were able to reduce memory usage by 82% – from about 340 GB to 60 GB. Due to that, now we need only one server with 64GB of RAM instead of having instance with 512 GB which would be likely 3 times more expensive. It was the way we could scale up and avoid premature horizontally scaling.
### Uso
``````