Why AWS, Google and Oracle are backing the Valkey Redis fork
The Linux Foundation last week announced that it will host Valkey, a fork of the Redis in-memory data store. Valkey is backed by AWS, Google Cloud, Oracle, Ericsson and Snap.
AWS and Google Cloud rarely back an open-source fork together. Yet, when Redis Labs switched Redis away from the permissive 3-clause BSD license on March 20 and adopted the more restrictive Server Side Public License (SSPL), a fork was always one of the most likely outcomes. At the time of the license change, Redis Labs CEO Rowan Trollope said he âwouldnât be surprised if Amazon sponsors a fork,â as the new license requires commercial agreements to offer Redis-as-a-service, making it incompatible with the standard definition of âopen source.â
Itâs worth taking a few steps back to look at how we got to this point. Redis, after all, is among the most popular data stores and at the core of many large commercial and open-source deployments.
A brief history of Redis
Throughout its lifetime, Redis has actually seen a few licensing disputes. Redis founder Salvatore Sanfilippo launched the project in 2009 under the BSD license, partly because he wanted to be able to create a commercial fork at some point and also because âthe BSD [license] allows for many branches to compete, with different licensing and development ideas,â he said in a recent Hacker News comment.
After Redis quickly gained popularity, Garantia became the first major Redis service provider. Garantia rebranded to RedisDB in 2013, and Sanfilippo and the community pushed back. After some time, Garantia eventually changed its name to Redis Labs and then, in 2021, to Redis.
Sanfilippo joined Redis Labs in 2015 and later transferred his IP to Redis Labs/Redis, before stepping down from the company in 2020. That was only a couple of years after Redis changed how it licenses its Redis Modules, which include visualization tools, a client SDK and more. For those modules, Redis first went with the Apache License with the added Commons Clause that restricts others from selling and hosting these modules. At the time, Redis said that despite this change for the modules, âthe license for open-source Redis was never changed. It is BSD and will always remain BSD.â That commitment lasted until a few weeks ago.
Redisâ Trollope reiterated in a statement what he had told me when he first announced these changes, emphasizing how the large cloud vendors profited from the open-source version and are free to enter a commercial agreement with Redis.
âThe major cloud service providers have all benefited commercially from the Redis open-source project so itâs not surprising that they are launching a fork within a foundation,â he wrote. âOur licensing change opened the door for CSPs to establish fair licensing agreements with Redis Inc. Microsoft has already come to an agreement, and weâre happy and open to creating similar relationships with AWS and GCP. We remain focused on our role as stewards of the Redis project, and our mission of investing in the Redis source available product, the ecosystem, the developer experience, and serving our customers. Innovation has been and always will be the differentiating factor between the success of Redis and any alternative solution.â
Cloud vendors backed Valkey
The current reality, however, is that the large cloud vendors, with the notable exception of Microsoft, quickly rallied behind Valkey. This fork originated at AWS, where longtime Redis maintainer Madelyn Olson initially started the project in her own GitHub account. Olson told me that when the news broke, a lot of the current Redis maintainers quickly decided that it was time to move on. âWhen the news broke, everyone was just like, âWell, weâre not going to go contribute to this new license,â and so as soon as I talked to everyone, âHey, I have this fork â weâre trying to keep the old group together,’â she said. âPretty much everyone was like, âyeah, Iâm immediately on board.â
The original Redis private channel included five maintainers: three from Redis, Olson and Alibabaâs  Zhao Zhao, as well as a small group of committers who also immediately signed on to what is now Valkey. The maintainers from Redis unsurprisingly did not sign on, but as David Nally, AWSâs director for open-source strategy and marketing, told me, the Valkey community would welcome them with open arms.
Olson noted that she always knew that this change was a possibility and well within the rights of the BSD license. âIâm more just disappointed than anything else. [Redis] had been a good steward in the past, and I think community is kind of disappointed in the change.â
Nally noted that âfrom an AWS perspective, it probably would not have been the choice that we wanted to see out of Redis Inc.â But he also acknowledged that Redis is well within its rights to make this change. When asked whether AWS had considered buying a license from Redis, he gave a diplomatic answer and noted that AWS âconsidered a lot of thingsâ and that nothing was off the table in the teamâs decision-making.
âItâs certainly their prerogative to make such a decision,â he said. âWhile we have, as a result, made some other decisions about where weâre going to focus our energy and our time, Redis remains an important partner and customer, and we share a large number of customers between us. And so we hope they are successful. But from an open-source perspective, weâre now invested in ensuring the success of Valkey.â
Itâs not often that a fork comes together this quickly and is able to gather the support of this many companies under the auspice of the Linux Foundation (LF). Thatâs something that previous Redis forks like KeyDB didnât have going for them. But as it turns out, some of this was also fortuitous timing. Redisâs announcement came right in the middle of the European version of the Cloud Native Computing Foundationâs KubeCon conference, which was held in Paris this year. There, Nally met up with the LFâs executive director, Jim Zemlin.
âIt ruined KubeCon for me, because suddenly, I ended up in a lot of conversations about how we respond,â he said. â[Zemlin] had some concerns and volunteered the Linux Foundation as a potential home. So we went through the process of introducing Madelyn [Olson] and the rest of the maintainers to the Linux Foundation, just to see if they thought that it was going to be a compatible move.â
Whatâs next?
The Valkey team is working on getting a compatibility release out that provides current Redis users with a transition path. The community is also working on an improved shared clustering system, improved multi-threaded performance and more.
With all of this, itâs not likely that Redis and Valkey will stay aligned in their capabilities for long, and Valkey may not remain a drop-in Redis replacement in the long run. One area Redis (the company) is investing in is moving beyond in-memory to also using flash storage, with RAM as a large, high-performance cache. Thatâs why Redis recently acquired Speedb. Olson noted that there are no concrete plans for similar capabilities in Valkey yet, but didnât rule it out either.
âThere is a lot of excitement right now,â Olson said. âI think previously weâve been a little technologically conservative and trying to make sure we donât break stuff. Whereas now, I think thereâs a lot of interest in building a lot of new things. We still want to make sure we donât break things but thereâs a lot more interest in updating technologies and trying to make everything faster, more performant, more memory dense. [âŠ] I think thatâs sort of what happens when a changing of the guard happens because a bunch of previous maintainers are now basically no longer there.â