Supported versions

Memorystore for Redis is backed by open source Redis software. Memorystore currently supports Redis versions 6.x, 5.0, 4.0, and 3.2. The default version is Redis 6.x. You can upgrade the version of an instance to any newer version (for example 3.2 to 6.x). For a history of Memorystore for Redis product updates, see the Release notes.

Version support policy

Memorystore for Redis supports one patch version for every major OSS Redis version listed in the Current versions section of this page. The patch is kept up to date on a regular basis during maintenance periods. Memorystore for Redis monitors for any critical patches that need to be applied to your instance. Critical security patches are rolled out outside of the regular maintenance period. See Maintenance policy for more details.

Current versions

This table outlines the current patch levels for the supported Redis versions and when each version was last updated:

Redis major version Patch level Last update
3.0 3.2.13 June 21, 2018
4.0 4.0.14 June 17, 2019
5.0 5.0.7 March 24, 2020
6.x (default) 6.2.0 September 7, 2021

Redis version 4.0

The table below outlines Memorystore support of some major features introduced by OSS Redis version 4.0.

Feature Description Supported in Memorystore for Redis
Cache eviction improvements Supports new Least Frequently Used (LFU) eviction policy. See Redis documentation for more details. Yes, exposed under eviction policy configuration parameters.
Active defragmentation Introduces the ability to defragment memory while Redis is running. Yes, exposed under eviction policy configuration parameters. Default setting: Off.
Redis Modules Redis now allows developers to write modules that can extend the Redis functionalities and implement new data types. No

Redis version 5.0

The table below outlines Memorystore support of some major features introduced by OSS Redis version 5.0.

Feature Description Supported in Memorystore for Redis
Redis streams Redis 5.0 introduces the new Streams data structure. Streams supports basic List functionality, such as XADD and XDEL. Streams also introduces the concept of Consumer Groups, which allow multiple clients to consume different portions of the messages stream. Yes, exposed as a Memorystore for Redis configuration parameter.
Sorted set commands Redis 5.0 introduces the following sorted set commands: ZPOPMAX, ZPOPMIN, BZPOPMAX, BZPOPMIN. These commands push and pop the highest or lowest values stored in your sorted set. Yes
Redis Modules Redis allows developers to write modules that can extend the Redis functionalities and implement new data types. No

Redis version 6.x

The table below outlines Memorystore support of some major features introduced by OSS Redis version 6.x

Feature Description Supported in Memorystore for Redis
Multi-core threaded I/O With Redis 6.x, reads and writes to I/O sockets use multiple threads. Server requests are still single threaded, as in previous Redis versions. Instances with multiple cores may see improved performance due to I/O socket threading. Yes
LCS (Longest Common Subsequence) command The LCS command, which is new to Redis 6.x, allows users to find non-contiguous common elements between strings. Yes
RDB diskless load for replicas Redis 6.x makes diskless loading available for replicas. This allows the replica to load the RDB from the socket instead of the disk, improving performance. For more details, see the Redis 6.0 conf file. Yes
Native traffic encryption Redis 6.0 adds native SSL for encrypting traffic. Memorystore for Redis does not support this feature of OSS Redis version 6.0, however Memorystore offers its own in-transit encryption. No
Access Control Lists (ACLs) Redis ACLs allow you to restrict the users and actions that interact with the Redis instance. No