In this article
- Redis vs Valkey vs DragonflyDB at a glance
- What to check before you choose
- Redis vs Valkey: licence and release record
- DragonflyDB: the licence and the published figures
- Benchmarks compared: what the published figures show
- Which to pick?
- FAQ
- Is Redis open source again?
- What licence does Valkey use?
- Is DragonflyDB faster than Redis?
- Does DragonflyDB use an open-source licence?
- Should I move from Redis to Valkey?
Redis, Valkey and DragonflyDB now sit under three different licence arrangements. Redis offers three licence options from version 8, Valkey is a BSD 3-Clause project, and DragonflyDB uses its own source-available licence. This comparison sets out the licence terms, the release record and the throughput figures each vendor publishes, so you can see which claims are checked and which are not.
Short answer: if you need a permissive licence with no vendor licence change to plan around, Valkey’s BSD 3-Clause is the simplest term to read. If you already run Redis 7.2 or earlier under BSD 3-Clause, check which Redis version you are on before you upgrade, because the licence options changed from Redis 7.4 and again from Redis 8. DragonflyDB’s published throughput figures are large, but the page gives no versions and no test date, so treat them as a starting point for your own test rather than a verdict.
Redis vs Valkey vs DragonflyDB at a glance
| Project | Licence (as published) | Dated release fact | Vendor throughput claim | Read it as |
|---|---|---|---|---|
| Redis | RSALv2, SSPLv1 or AGPLv3 from Redis 8 (user picks one) | AGPLv3 option added from Redis 8 (Redis blog, 2025-05-01) | Not compared on the Redis side in this article | Check which licence option applies to your version |
| Valkey | BSD 3-Clause | Valkey 8.0.0 generally available on 2024-09-16 | None published in the sources read | Permissive licence; no vendor throughput claim to test |
| DragonflyDB | Dragonfly Source-Available License (DSAL) | Page undated | Up to 25x Redis on an undated page; versions and test date not stated | Vendor figures; run your own workload before you rely on them |
What to check before you choose
- Licence terms. Read the licence text for the exact version you will run. Redis licence options differ by version, and DSAL terms differ from BSD 3-Clause.
- Version pinning. Check whether the benchmark or claim names the versions tested. The DragonflyDB comparison page does not name any.
- Hardware and workload. The Dragonfly page names AWS c6gn.16xlarge instances and YCSB default workloads. Your cache or queue may behave differently.
- Migration path. Confirm the commands and modules you use behave the same on the engine you move to before you switch. The sources used here do not test that for any workload.
Redis vs Valkey: licence and release record
Redis’s licence options from Redis 8 are RSALv2, SSPLv1 and AGPLv3. The Redis licence page lists 7.2 and earlier as BSD-3-Clause, and 7.4 as RSALv2 or SSPLv1. Redis’s own blog post introducing AGPLv3 gives its publication date as 2025-05-01 and says AGPL is added starting with Redis 8.
Valkey’s repository COPYING file reads “BSD 3-Clause License” with the copyright line “Copyright (c) 2024-present, Valkey contributors”. Valkey 8.0.0 became generally available on 2024-09-16, according to the Valkey blog. For a team choosing a base licence, that is the clearest difference: the Valkey repository states BSD 3-Clause in a plain file, while the Redis options depend on the version you run.
Licence terms are not a legal opinion. For any decision that carries a legal duty, such as a contract that restricts source disclosure or a product that is redistributed, check with counsel.
The licence history explains why the choice is harder than it used to be. Redis’s own licence page lists BSD-3-Clause for 7.2 and earlier, so a team that stayed on those versions has one set of terms. Teams that upgraded to 7.4 or to Redis 8 have to read the option they chose for that version. A team that runs both old and new Redis nodes, or that mixes Redis and Valkey in different services, has to track three sets of terms at once. That is an operational cost even when each licence is clear on its own.
Two questions help a team decide what to write down. First, which version is in production today, and which licence governs that exact version. Second, whether the team will ever redistribute the software, offer it as a hosted service to customers, or modify it. Hosted-service use and modification are the cases where the copyleft and source-available terms differ most from a permissive licence. Record the answers in the architecture decision record so the next engineer does not have to rebuild the reasoning from the licence pages.
DragonflyDB: the licence and the published figures
DragonflyDB’s repository LICENSE.md names the Dragonfly Source-Available License (DSAL). The file does not contain a clause that converts the code to an OSI-approved licence after a set period, so do not assume one. Read the full text before you plan a deployment or any redistribution.
The DragonflyDB comparison page reports three headline results on AWS c6gn.16xlarge instances with YCSB default workloads: SET about 125k ops/s on Redis against 3.1M on Dragonfly, GET about 240k against 4.2M, and an 80/20 mixed workload about 185k against 3.7M. The table shows 25x, 17x and 20x. The page’s hero chart shows a different GET figure for Redis (130k) and Dragonfly (3800k), so the two figures on the same page do not match.
The page does not name the Redis, Valkey or Dragonfly versions it used, does not name the memtier or YCSB settings in full, and shows no test date. The full benchmark report is behind a form, and its teaser repeats a 25x figure against Redis “on identical hardware”, 2.4x to 4.6x against Valkey as core counts grow, and up to 45% less memory for sorted sets. These are DragonflyDB’s own claims. This article did not reproduce them.
Benchmarks compared: what the published figures show
There is no independent benchmark of Redis, Valkey and DragonflyDB on the same hardware and the same version set in the primary sources used here. So the article makes no claim about which engine is faster in your workload. What it can say is narrower: the largest published ratios come from one vendor’s page, the page leaves out the details needed to repeat them, and the numbers are not dated.
For a fair comparison, use the same instance type, the same client tool and the same key size and mix as production, and record the versions of all three engines. Run each test long enough to pass warm-up. Report the median and p99 latency alongside peak operations per second.
Peak operations per second is the figure most vendor pages lead with, and it is the figure most sensitive to the client. A pipelined load generator with many connections can push a server far past the request rate a real application sends. A single-connection test measures something else. The figure that matters for a checkout page or a session store is usually latency under the real request mix, at the real connection count, with the real persistence settings turned on. Persistence and replication settings also change results, and the DragonflyDB page names only the instance type and workload, not a full configuration.
The same reasoning applies to the ratios. A 25x figure on one instance family, in one workload, against one set of versions, says little about a different instance family or a different read-write mix. It is a reason to run a test, not a reason to switch. Keep the vendor figure in the decision file with its source and date, and replace it with your own result when you have one.
Which to pick?
By licence need. Choose Valkey when BSD 3-Clause is the requirement. Choose Redis when you need the Redis product itself and can accept the licence option you select for your version. Choose DragonflyDB only after reading DSAL in full and running your own workload.
By team size. A small team that wants the simplest licence to read should start with Valkey. A larger organisation with a legal review should review the licence options for each Redis version before a standard is set. A team looking for throughput on large multi-core instances should test DragonflyDB against its own workload first.
FAQ
Is Redis open source again?
Redis 8 adds AGPLv3 as one of three licence options, alongside RSALv2 and SSPLv1. Redis’s own licence page says the user selects one of the three. Whether that counts as open source depends on which option you pick and on your use. Check the licence page for the version you run.
What licence does Valkey use?
The Valkey repository COPYING file states the BSD 3-Clause License.
Is DragonflyDB faster than Redis?
DragonflyDB publishes figures that are much higher than Redis on its own comparison page. Those figures do not name the versions or the test date, and no independent benchmark in the sources used here confirms them. Test with your own workload.
Does DragonflyDB use an open-source licence?
Its repository LICENSE.md names the Dragonfly Source-Available License (DSAL). Read the full text before you deploy or redistribute it.
Should I move from Redis to Valkey?
Move only after you confirm that the commands and modules you use behave the same on Valkey, and after your legal review of the licence change is complete. The sources used here do not test compatibility for your workload.



