Matt Asay
Contributing Writer

The exciting new world of Redis

opinion
Dec 23, 20246 mins
DatabasesGenerative AINoSQL Databases

With its founder returning and new developments in generative AI, the company is forging a different future than its Valkey fork.

forked paths forking paths trails
Credit: keywest3

If youโ€™re a developer who wants the most feature-rich, high-performance version of Redis, your choice is clear: Redis and not a fork. If you have the time and inclination to dabble in ideological debates about open source licensing, well, you might make another choice. But if youโ€™re just trying to get your job done and want a great database that historically was primarily a cache but today offers much more, youโ€™re going to opt for Redis and not its fork, Valkey.

So argues Redis CEO Rowan Trollope in an interview. โ€œIt is unquestionable that Redis, since we launched Redis 8.0 with all the capabilities from Redis Stack, is just a far more capable platform,โ€ he says. He substantiates the claim by cataloging โ€œa whole bunch of thingsโ€ that Valkey doesnโ€™t offer, at least not at parity: vector search, a real-time indexing and query engine, probabilistic data types, JSON support, etc. (Note that some vendors, like Google Cloud, have started to fill in some of these blanks, at least in pre-GA releases, like Googleโ€™s Memorystore.)

Thatโ€™s all CEO-speak, right? What would a serious technologist say about Redis? It might be difficult to find a more credible Redis expert than Redis founder Salvatore Sanfilippo who recently returned to the Redis community (and company) he left in 2020. Why return? Among other reasons, Sanfilippo wants to help shape Redis for a world awash with generative AI. In his words, โ€œRecently I started to think that sorted sets can inspire a new data type, where the score is actually a vector.โ€ Trollope says, โ€œRedis has a real opportunity to emerge as a core part of the genAI infrastructure stack.โ€ Discussions about licensing, Trollope notes, might be fun โ€œpopcorn fodderโ€ that fixates on the past, but the real focus should be on Redisโ€™ future as an integral part of the AI stack.

Forking for the wrong reasons

We live in a weird time when a few trillion-dollar companies get away with pleading poverty, arguing that they should be gifted a wealth of open source software without helping sustain its success. โ€œSomehow Amazon and Google positioned themselves as the open sourceโ€“friendly companies, which seems to be the opposite of reality,โ€ Trollope tells me. In response, companies like Redis have gone through all sorts of licensing and packaging gymnastics (e.g., Redis Stack) to try to remain open to everyone except the clouds that threatened their ability to continue building and releasing open source software.

Did Redis manage this process perfectly? No. As Trollope tells me, โ€œWe didnโ€™t effectively communicate with the community about our motivations and what we were doing and why we were doing it.โ€ He continues, โ€œIโ€™m sure we can do things differently and better, and thatโ€™s our goal going forward.โ€ For his part, Sanfilippo writes, โ€œI donโ€™t believe that openness and licensing are only what the OSI [Open Source Initiative] tells us they are,โ€ but rather โ€œa spectrum of things you can and canโ€™t do.โ€ Itโ€™s a nuanced view on a nuanced topic that too often gets painted in black and white.

Though portrayed as motivated by ideological differences over open source versus closed source software, ultimately AWS and Google forked Redis to further their business needs. Named Valkey, this Redis fork isnโ€™t Redis, however much Valkeyโ€™s commercial backers cling to the โ€œRedis compatibleโ€ tagline, and it will become more distinct over time. Thatโ€™s a good thing. After all, Valkey has developers like Madelyn Olson who can turn it into something amazing. Recently, for example, AWS made significant improvements to Valkeyโ€™s scalability and memory efficiency. This will play out like AWSโ€™s fork of Elasticsearch, OpenSearch, which is becoming a compelling product in its own right and not just a pale shade of Elasticsearch. Itโ€™s a great thing when the clouds create, rather than copy, open source.

Ultimately, very few developers care about open source ideological debates. As Trollope suggests, โ€œIf youโ€™re the average developer, what you really care about is capability: Does this thing offer something unique and differentiated โ€ฆ that I need in my application?โ€ On that note, he continues, โ€œPound for pound, weโ€™ve been able to drive innovation dramatically more quickly than Valkey has.โ€ Even if you disagree with that assessment, itโ€™s hard to overlook just how differently Redis and the Valkey community see their futures, which brings us back to Sanfilippo and AI.

A different future for Redis

The Valkey development community isnโ€™t focused on building and positioning it for generative AI workloads. Redis, by contrast, definitely hopes to ensure Redisโ€™s place in the modern AI-centric stack. In such a world, debates about Redis licensing are โ€œinteresting but not that helpful,โ€ Trollope argues. What really matters is whether developers can easily use Redis to build something awesome.

Sanfilippo, for his part, isnโ€™t new to AI. โ€œI wrote my first [neural network] library in 2003 and was totally shocked by how powerful and cool the whole concept was,โ€ he writes. But โ€œnow, at the end of 2024, Iโ€™m finally seeing incredible results in the field. Things that looked like sci-fi a few years ago are now possible.โ€ Although impressed by large language models such as Claude, Sanfilippo is actively working on novel approaches to Redis, like vector sets, which is โ€œexactly the idea of sorted sets, but with multi-dimensional scores (embeddings!) and K-NN [k-nearest neighbor] matches.โ€

Itโ€™s a cool way to bring a very Redis flavor to generative AI. But among Sanfilippoโ€™s interest in exploring โ€œnew ideas that can be exciting,โ€ itโ€™s hard to think of anything more exciting than Redisโ€™s founder coming back to help shepherd its future. Imagine youโ€™re an outsider without any knowledge of the past few years of licensing debates and youโ€™re placing bets on the Redis-esque product most likely to win over developers. Against that backdrop, if โ€œyou take a guy like Salvatore now being a key contributor and leader of Redis, look, Iโ€™d make that bet every day of the week,โ€ argues Trollope. Many developers likely will too.

Matt Asay

Matt Asay runs developer marketing at Oracle. Previously Asay ran developer relations at MongoDB, and before that he was a Principal at Amazon Web Services and Head of Developer Ecosystem for Adobe. Prior to Adobe, Asay held a range of roles at open source companies: VP of business development, marketing, and community at MongoDB; VP of business development at real-time analytics company Nodeable (acquired by Appcelerator); VP of business development and interim CEO at mobile HTML5 start-up Strobe (acquired by Facebook); COO at Canonical, the Ubuntu Linux company; and head of the Americas at Alfresco, a content management startup. Asay is an emeritus board member of the Open Source Initiative (OSI) and holds a JD from Stanford, where he focused on open source and other IP licensing issues. The views expressed in Mattโ€™s posts are Mattโ€™s, and donโ€™t represent the views of his employer.

More from this author