12 ms·
redis does have some built-in features that automatically compact data. [0] I'm sure reddit has considered this, but worth noting. [0] https://redis.io/topics/
by cookiecaper 10y ago
redis does have some built-in features that automatically compact data. [0] I'm sure reddit has considered this, but worth noting.
[0] https://redis.io/topics/memory-optimization https://redis.io/topics/memory-optimization
- sgmansfield 10y agoclient-side compression works out better for a couple of reasons: 1. You use less bandwidth in/out of the box. This matters in AWS because your bandwidth is (relatively) limited. 2. Your CPU usage to (de)compress is distributed over a larger fleet. The clients spend the CPU time, not the cache servers.