blog.rust.gay

Redict is deprecated, and Valkey won the fork war

Redict is done. Drew DeVault announced on 17 November that the project is officially deprecated and that Redict 7.3.6 is the final release. The fork of Redis was created after Redis's 2024 license change, with the goal of giving the Redis diaspora a copyleft alternative that could not be pulled out from under its users. It did not build a sustainable community. DeVault now recommends that Redict users switch to Valkey, the permissively licensed Redis fork supported by the Linux Foundation.

That recommendation is the interesting part. Redict was not abandoned because it was technically bad. It was abandoned because the conditions that justified it changed. Valkey attracted the community and the backing. Redis returned to a copyleft license. A fork that exists to apply pressure on a vendor has a hard time surviving when the pressure works, or when a better-funded alternative takes the same role. Redict's end is a case study in the difference between a license strategy and a community strategy.

A fork born from a license fight

Redis changed its license in 2024, moving away from the permissive BSD license that had made it a default choice for caching, queues, and session stores. The change triggered a familiar sequence: cloud providers and users worried about vendor control, a group of contributors forked the last permissive version, and a foundation was set up to hold the trademark and the project. Valkey was the Linux Foundation's answer. Redict was DeVault's answer, and it took a different bet: copyleft.

The bet was not unreasonable. A copyleft license is designed to prevent exactly the kind of rug-pull that motivated the fork. If a company takes the code, modifies it, and distributes it, the changes have to stay open. That protects users from a vendor that wants to capture the ecosystem. Redict's pitch was that the Redis community should rally around a copyleft project rather than accept a permissive fork that could, in theory, be captured later.

But a license is not a community. A fork needs maintainers, releases, security responses, documentation, packaging, cloud integrations, and a stream of users who are willing to bet their production systems on it. Valkey had the Linux Foundation, backing from major cloud providers, and a permissive license that made it easy for vendors to adopt. Redict had a principled position and a small team. In the end, the market chose the option with more institutional support.

Why Redict lost

DeVault's own explanation is candid. He says Redict was not able to build a sustainable community because Valkey succeeded and because Redis returned to a copyleft license. Those are two different kinds of defeat. Valkey won the adoption contest. Redis removed the original grievance by going back to an open license. Either one would have made Redict's life harder. Both together made its position untenable.

The Redis return is the more subtle part. If Redis is once again open source and copyleft, the case for a separate copyleft fork weakens. Users who cared about the license can go back to the original project. Users who cared about governance can go to Valkey. Redict sits in the middle: more principled than Valkey on licensing, less established than Redis, and without a foundation or a large vendor ecosystem. That is not a comfortable place for a database.

DeVault also advises against switching back to Redis. His argument is that Redis uses a contributor license agreement, or CLA, which would facilitate another rug-pull if the company has a bad financial quarter. That is an opinion, not a proven prediction. A CLA is a legal tool that gives the project owner more flexibility to relicense contributions. Whether that flexibility is used badly depends on the owner's incentives and governance. But the concern is legitimate: the original license change is exactly the kind of event that a CLA makes easier to repeat.

Valkey's permissive license has the opposite trade-off. It makes adoption easy, including by competitors, but it does not prevent a future fork or a vendor from taking the code in a proprietary direction. The Linux Foundation's governance is the safeguard there, not the license. That is a different bet from Redict's, and for now it is the bet most of the ecosystem has made.

The migration is intentionally boring

The practical advice is refreshingly small. DeVault says Redict and Valkey are mutually compatible. If you install from a package manager, install Valkey and move the config file:

mv /etc/redict.conf /etc/valkey.conf

If you use containers, pull the Valkey container instead and make sure it runs with the appropriate config file. That is the whole migration for many deployments. The data model, the protocol, and most client libraries are the same. The fork was designed to be compatible, and Valkey inherited that compatibility.

Boring is good here. A database migration is usually a project: dump and restore, verify persistence, test replication, check modules, update monitoring, and roll back if something breaks. A package rename and a config move is a much smaller blast radius. That is a testament to how conservative the Redis ecosystem has been about compatibility, and to how little Redict changed the surface area.

But "simple" does not mean "risk-free." Before switching, check the things that are easy to forget: persistence settings, replication topology, ACLs, TLS certificates, slow-query logging, and any Redis modules that may not be available in Valkey. Check your client library's version and its handling of cluster topology. If you use Redis as a queue or a lock service, test the failure modes, not just the happy path. The config file move is the first step, not the whole migration.

What a fork needs to survive

A fork needs three things that a license cannot provide: a release cadence, a security process, and a distribution channel. Valkey had all three. The Linux Foundation provided neutral governance and a legal home. Cloud providers that depend on Redis had a strong incentive to support a permissive alternative. Package maintainers could replace a Redis package with a Valkey package without asking users to change their applications.

Redict had a release cadence and a security process, but it did not have the same distribution. A small project can publish tarballs and containers, but it cannot match the reach of a foundation-backed fork that is packaged by distributions and offered by cloud providers. Distribution is not a marketing detail. It is how a database reaches the people who will run it in production. If a fork is not in the package manager, most users will never try it.

The third missing ingredient is a reason to stay. Redict's reason was copyleft. That is a strong reason for a certain kind of user, but it is not a daily operational benefit. Valkey offered compatibility, a familiar protocol, and a broad ecosystem. Redis offered the original project and a return to an open license. Redict offered a principle. Principles matter, but they do not answer the question a platform team asks on Monday morning: which package do we deploy, and who fixes it when it breaks?

The migration is not only a config file

The config file move is the visible part of the migration, and it is likely to work for a simple deployment. The invisible parts are the ones that cause incidents. Persistence is the first. If you use RDB snapshots or AOF, verify that the Valkey package reads the same files and writes them in a format your backup tooling understands. Test a restore, not just a start. A database that starts with an empty data set because the persistence path changed is worse than one that refuses to start.

Replication is the second. Check the replication topology, the authentication credentials, and the TLS configuration. If you use Sentinel or Cluster, confirm that the Valkey version supports the same topology and that your clients can discover the new nodes. A package rename does not automatically migrate a cluster's metadata. The third is modules. Redis modules are binary extensions, and a fork may not support every module or every version. If your application depends on a module for search, JSON, or time series, check compatibility before you move.

The fourth is observability. Dashboard queries, alert rules, and log parsers may contain the string redis or point at a Redis-specific metric name. Valkey aims for compatibility, but the operational surface is larger than the protocol. A migration plan that only covers the server process will leave you blind when something goes wrong. Update the dashboards before the cutover, not after.

What this says about forks

Forks are often described as a last resort. Redict shows they are better understood as a negotiating tactic with a limited shelf life. A fork can force a vendor to change course, preserve a license, or give users a credible exit. It can also create a permanent alternative if the vendor does not respond. But the fork has to build its own institutions if it wants to outlast the fight. Redict did not.

Valkey did. It had a foundation, a broad contributor base, and a license that made it easy for cloud providers to offer managed services. That combination is hard to replicate. It also explains why the "winner" is not necessarily the most technically ambitious project. Valkey's advantage was governance and distribution, not a rewrite.

There is a lesson here for other open-source projects facing a license change. The first question is not "what license should the fork use?" It is "who will maintain this in five years, and why will users trust them?" A copyleft license can be part of the answer, but it cannot substitute for maintainers, releases, and a governance structure that survives the original dispute. Redict had a clear principle. It did not have a durable organization.

What to do now

If you run Redict, plan the move to Valkey. Start with a staging environment, verify persistence and replication, and run your application's test suite against the new package. Check your container images for a pinned Redict base and update the tag. If you use a managed service, ask the provider which fork it runs and when it plans to support Valkey. If you maintain a client library, add Valkey to your compatibility matrix.

Test the rollback as carefully as the migration. If Valkey passes your staging tests, keep the Redict package and config available until the new deployment has survived a full traffic cycle. A rollback that requires rebuilding a container from scratch under incident pressure is not a rollback plan. Record the exact versions, config paths, and data-file locations on both sides, and make sure the on-call engineer can find them without reading the migration ticket.

If you are still on Redis, this is a good moment to review your license and governance assumptions. The project is open source again, but the CLA and the history are still there. That does not mean you must migrate. It means you should know what you are depending on, and have an exit plan that does not require a rewrite.

For the broader ecosystem, the watch item is Valkey's long-term governance. A permissive license and a foundation are a good start, but they do not guarantee that the project will stay neutral or that a future acquisition will not change the calculus. The Redis fork war is over for now. The question is whether the winner can avoid the same pressures that created the fork in the first place.

The bottom line

Redict's end is not a verdict on copyleft. It is a verdict on a fork that had a principle but not an institution. Valkey won because it combined a permissive license with a foundation, a contributor base, and distribution. The practical move for Redict users is a careful migration to Valkey, with persistence, replication, and rollback tested before the cutover. The strategic lesson is that a license can start a fork, but only governance and maintenance can keep it alive.

Sources


← back to posts