Valkey is an open-source, in-memory, key-value data store. The Linux Foundation forked Valkey from Redis 7.2 in 2024 after Redis Inc. changed the Redis license to a non-open-source model. Valkey preserves the original BSD license and full protocol compatibility.
For Magento, Valkey and Redis are interchangeable. Existing Redis clients, Magento configuration, and monitoring tools work with Valkey without code changes. The swap is a single binary replacement.
Adobe Commerce officially recommends Valkey 8 as the default cache and session store. Redis 7.2 remains wire-compatible and still works, but Adobe tests newer patches against Valkey.
On our managed hosting, Valkey 8 runs as a drop-in replacement for Redis. Sessions, object cache, and full page cache tags live in memory for sub-millisecond response times.
Adobe-Recommended
Valkey 8 is the cache Adobe tests against for every current Magento patch. New patches ship with Valkey as the reference store.
Open Source BSD
Valkey is Linux Foundation governed under the BSD license. No vendor lock-in, no surprise license changes, community-driven development.
Redis-Compatible
Valkey speaks the Redis protocol. Existing Redis clients, configurations, and monitoring tools work without code changes. Zero migration cost.
Why Adobe Chose Valkey
In March 2024, Redis Inc. relicensed Redis under a non-open-source dual license. The Linux Foundation forked the last open-source version (Redis 7.2.4) into Valkey. Adobe Commerce now tests against Valkey 8 as the primary cache in its current release cycle.
Adobe-Recommended
Valkey 8 is the cache Adobe tests against for every current Magento patch. New patches ship with Valkey as the reference store.
Open Source BSD
Valkey is Linux Foundation governed under the BSD license. No vendor lock-in, no surprise license changes, community-driven development.
Redis-Compatible
Valkey speaks the Redis protocol. Existing Redis clients, configurations, and monitoring tools work without code changes. Zero migration cost.
Valkey vs Redis for Magento
Migrating from Redis to Valkey
For a store on Redis 7.2 or newer, the migration is a maintenance-window swap. Stop Redis, start Valkey 8 on the same port, keep the same config file.
Ready for Valkey on Managed Hosting?
Our AWS managed hosting runs Valkey 8 preconfigured with Varnish, OpenSearch, and CloudFront. Blue-green deployments, tested rollbacks, and zero-downtime Magento upgrades.
FAQs
Valkey is an open-source, in-memory key-value data store maintained by the Linux Foundation. It was forked from Redis 7.2 in March 2024 after Redis Inc. changed the Redis license to a non-open-source model. Valkey keeps the original BSD license and full protocol compatibility with Redis clients.
Yes. Valkey implements the Redis RESP wire protocol. Every Redis client library (phpredis, predis, Node.js redis, Python redis-py) works against Valkey without modification. Configuration files, persistence formats (RDB, AOF), and replication protocols are identical.
For Magento, this means env.php stays the same. The cache-backend entries that pointed to Redis continue to work pointed at Valkey.
Adobe Commerce now ships with Valkey 8 as the reference in-memory store. Adobe tests every patch and security release against Valkey. The choice is driven by license predictability (Valkey is BSD, Redis is now dual-licensed), ecosystem alignment (AWS, Google, Oracle use Valkey), and performance improvements in Valkey 8.
Redis 7.2 remains wire-compatible and works with current Magento releases. But going forward, the Magento ecosystem converges on Valkey.
From Redis 7.2 or newer: stop Redis, install Valkey 8, point it to the same port and config file, start Valkey. Magento requires no changes. Session storage and cache data can be either migrated using an RDB dump or simply flushed and repopulated.
From Redis 7.1 or older: upgrade Redis to 7.2 first (minor config tweaks), then swap to Valkey 8.
On managed Magento hosting, the provider handles the swap in a blue-green deployment with zero downtime.
Yes. AWS added Valkey as an ElastiCache engine type in October 2024. Valkey nodes are available alongside Redis and Memcached, with up to 20% lower pricing on Valkey engine type compared to equivalent Redis nodes (per AWS announcement). Amazon MemoryDB also added Valkey support in the same window.
Our Magento Redis page still applies. Every Redis feature (in-memory storage, sub-millisecond latency, master-replica topology, AOF persistence) works identically on Valkey because Valkey is a fork of Redis 7.2. This page exists to explain the Valkey shift and the migration path for stores planning an upgrade.
No. Because Valkey 8 is wire-compatible with Redis 7.2, it runs as a drop-in replacement on older Magento versions as well. Magento's cache backend speaks the Redis protocol, which Valkey implements. Stores on older Magento versions can switch the cache to Valkey without waiting for a Magento upgrade.