Video in progress

In 2024 the Redis license changed and the Valkey fork appeared. How do you make the decision for your organization between Redis, Valkey or a managed service?

Facts first: from Redis 7.4 it moved to RSALv2/SSPLv1, an AGPLv3 option was added from Redis 8, and Valkey is a BSD-licensed fork split from 7.2.4. Then I decide based on which features we use, who operates it (us or a managed provider), the price and the legal requirements.

📖 Answer

A short history. In March 2024, Redis Inc. moved new versions from BSD to the dual license RSALv2/SSPLv1, which are not open source in the OSI sense. In response, Valkey appeared under the Linux Foundation: a fork of Redis 7.2.4, BSD-3, backed by companies such as AWS, Google and Oracle. In 2025, with Redis 8, AGPLv3 was added as a third option, and the former Redis Stack modules (JSON, search, time series, probabilistic structures) became part of the main distribution.

This is how I frame the questions for the decision:

  1. The legal side: running Redis inside our own service is usually not a problem under RSAL; the restriction is on selling it to others as a "Redis service". AGPL is banned by internal policy at many companies. This question should be settled with the lawyers once and written down.

  2. Which features we need: for a plain cache, sessions, locks and Streams, the commands at the Redis 7.2 level are the same in both. If we depend on the newer features in Redis 7.4+ or Redis 8 (for example, built-in search and JSON), moving to Valkey takes work. On the platform I make "the set of commands that works on both engines" the standard, and anything engine-specific is agreed separately.

  3. Who operates it: on managed services (ElastiCache, Memorystore and others), providers are offering Valkey options at lower prices, which adds up to real money on a large fleet. If we run it ourselves, the speed of patches and security fixes, community activity and, if needed, commercial support matter.

  4. Compatibility and risk: Lettuce, Jedis, Redisson and Spring Data Redis work with both, because the protocol is the same. But over time the two projects are drifting apart. So before moving: a full regression run on staging, a load test, trying to load the RDB into the new engine, and a rollback plan.

In practice many organizations do this: in the managed environment they create new clusters on Valkey, while the few services that need Redis-specific features stay on Redis. What matters is documenting the decision and revisiting it every 1-2 years, because this market is still changing.