Verification of Amazon ElastiCache for Valkey 9.1's "Up to 20% Memory Reduction for Strings Under 128 Bytes"
武田隆志2026.08.26
- * Valkey 9.1's memory reduction for strings under 128 bytes is determined by total size of robj+key+TTL+value, not just value length
- * Version 9.0 uses 64-byte threshold, 9.1 uses 128-byte threshold with 8-byte ptr field reuse, allowing up to 72 bytes longer embedded values
- * Single key shows 20% reduction, but 1 million keys show 13.9% reduction due to shared hash table overhead
