Memorystore for Valkey is backed by open source Valkey software. Memorystore supports Valkey versions 7.2 and 8.0. The default version is Valkey 7.2.
You can only choose the instance version when creating an instance. After an instance is created, the Valkey version can't be changed.
Current versions
This table shows the supported Valkey versions and when each version was last updated:
Valkey major version | Last update |
---|---|
7.2 | August 30, 2024 |
8.0 | October 2, 2024 |
Valkey version 8.0
The following table outlines Memorystore support of some major features introduced by Valkey 8.0:
Feature | Description |
---|---|
Asynchronous I/O threading for performance boost | This feature significantly improves performance by enabling parallel processing between the main thread and I/O threads. It offloads I/O tasks to the I/O threads, allowing them to run concurrently with the main thread, and optimizes memory access through efficient command batching. |
Reliability improvement for cluster scaling operations | This feature significantly improves the reliability and automation of the Valkey cluster re-sharding process by addressing failures during slot migration. These improvements prevent data loss and cluster inconsistencies, ensuring a more resilient system when failures occur. |
Enhanced memory efficiency through key embedding in the main dictionary | This enhancement significantly improves memory efficiency by embedding keys directly within dictionary entries, eliminating the need for separate key pointers. This change reduces memory overhead and enhances performance, particularly for large datasets. |
Improved Pub/Sub efficiency by using lightweight cluster messages | This feature introduces a new lightweight cluster message type to enhance the efficiency of Pub/Sub message propagation within a Valkey cluster. The new message type significantly reduces the overhead by minimizing the amount of node information included in each message. |
Valkey version 7.2
The following table outlines Memorystore support of some major features introduced by Valkey 7.2:
Feature | Description |
---|---|
New command | Introduces the WAITAOF command that blocks the client until a specified number of Redises have synced all previous write commands to the AOF on disk. |
Memory optimization | Memory usage is significantly reduced for small list-type and set-type keys, with further optimizations for large sets. Memory management for cluster bus links with many pending messages is improved, and incremental reclamation of OS page cache for RDB files enhances memory efficiency. |
Performance optimization | Performance improvements include faster ZRANGE replies with integer scores and optimized double replies, particularly for sorted sets. Multi-key commands in cluster mode now execute more efficiently, and workloads without pipelining see improved command processing. |