Quick revision
The short answer
We separate two questions: internal use, where licence changes rarely restrict us, and offering Redis-compatible services to customers, where the terms matter a lot and legal must review the current licences. Then we compare Redis, Valkey and cloud-managed variants on compatibility, the features we actually use, roadmap, support and cost; keep clients portable on the standard protocol through Lettuce or Jedis; pilot the alternative on non-critical caches with compatibility tests and migrate by class of use; and treat the whole episode as a supply-chain governance case with licence tracking and re-evaluation triggers.
What to remember
In this answer, we saw how to decide a direction after Redis moved from BSD to source-available licences, Valkey was forked under the Linux Foundation, and Redis added an AGPL option. We separated internal use from the managed offering, where legal review of current terms comes first, compared Redis, Valkey and managed variants on compatibility, features we use, roadmap, support and cost, kept clients portable through standard commands and a compatibility test suite, planned a reversible migration piloted on non-critical caches and moved by class of use, and turned the episode into ongoing supply-chain governance.
Your turn
Answer it aloud as you would in the interview, or type your answer below. Then show one part at a time and compare.
We separate two questions: internal use, where licence changes rarely restrict us, and offering Redis-compatible services to customers, where the terms matter a lot and legal must review the current licences. Then we compare Redis, Valkey and cloud-managed variants on compatibility, the features we actually use, roadmap, support and cost; keep clients portable on the standard protocol through Lettuce or Jedis; pilot the alternative on non-critical caches with compatibility tests and migrate by class of use; and treat the whole episode as a supply-chain governance case with licence tracking and re-evaluation triggers.
Why this question is asked
For most of its life Redis was simply BSD-licensed open source and nobody in procurement thought about it. In 2024 Redis moved to source-available licences, the Valkey fork appeared under the Linux Foundation, and later Redis added an AGPL option. A company running hundreds of instances, and selling a managed offering on top, suddenly has a strategic decision to make. Interviewers ask this leadership question to see whether we can separate legal, technical and commercial concerns, avoid both panic and inertia, and keep the decision reversible. In this answer, we will recap what changed, separate internal and external use, compare the options, keep the technical path portable, plan the migration, and set up governance so the next change does not surprise us.
1A Quick Recap of What Changed
Until 2024, Redis was released under the permissive BSD licence, which lets anyone use, change and offer it as a service. In 2024 Redis switched new releases to a dual source-available licence model, which keeps the code visible and free for most users but restricts offering Redis itself as a competing managed service. In response, a group of contributors and cloud vendors forked the last BSD version as Valkey, governed by the Linux Foundation and still BSD-licensed. Later, Redis added the AGPL, an approved open-source licence with strong obligations for anyone offering modified software over a network, as another option.
Licence details have shifted more than once, so the first rule is that we work from the current text of each licence and our legal team's reading of it, not from blog posts or this summary.
2Separating Internal Use From the Managed Offering
Most of our hundreds of instances run caches, sessions and queues inside our own products. Using Redis internally to run our own services is generally not what the new restrictions target. For that estate, the licence change is mostly a question of future roadmap and cost, not of legal exposure.
The managed offering is different. Selling a Redis-compatible service to customers is exactly the case source-available licences restrict, and AGPL obligations apply when users interact with modified software over a network. Here legal must review the terms, and the realistic options are a commercial agreement with Redis, building the offering on Valkey, or using a cloud provider's variant under its terms. That decision has revenue at stake and comes first.
- Do we offer Redis-compatible services to customers?YesLegal review of current terms firstNoInternal use: focus on technical fit and cost
- Which features do we depend on?inventory: core commands, modules, search, vector
- Do Valkey or managed variants support them?YesPilot the alternativeNoStay, or pay for commercial terms
- Pilot on non-critical caches passes?YesMigrate class by classNoRecord why and set a re-evaluation trigger
4 steps in order. Play them, or step through them one at a time.
3Comparing the Options
We compare Redis, Valkey and the cloud-managed variants on concrete criteria. Compatibility: core commands and the protocol are largely shared, since Valkey forked from Redis 7.2, but behaviour has started to diverge in newer versions. Features we use: if our products depend on search, JSON or vector capabilities bundled in newer Redis releases, the alternatives may lack them or offer different implementations, so the inventory decides much of the answer. Roadmap and community: who maintains each, how quickly security fixes ship. Support: whether we need a vendor contract. Cost: licences or support fees against migration effort.
| Criterion | Redis | Valkey | Cloud-managed variant |
|---|---|---|---|
| Licence model | source-available or AGPL | BSD | provider's terms |
| Core command compatibility | reference | high, diverging slowly | high, check the version |
| Search, JSON, vector | bundled in newer releases | check per feature | check per provider |
| Commercial support | from Redis | from vendors and clouds | included |
| Fit for our managed offering | needs a commercial agreement | permissive licence | limited by provider |
4Keeping the Technical Path Portable
Whatever we choose, we keep our applications able to move. Spring services talk to Redis through Spring Data Redis with Lettuce or Jedis, using the standard protocol and commands, which work with Redis, Valkey and most managed variants. We avoid relying on distribution-only features, such as a module available in only one of them, without an explicit approval that records the lock-in we accept.
A compatibility test suite makes this real. It runs our services' integration tests, through Testcontainers, against each candidate server image: the exact commands, Lua scripts, cluster behaviour and client settings we use. When a test fails on one distribution, we know precisely which feature ties us to it.
Check the image names and tags available at the time; the point is that the suite runs unchanged against every candidate.
5A Reversible Migration Plan
If we decide to move some or all of the estate, we do it in steps that can be undone. First a pilot on non-critical caches, where a problem costs a cold cache and nothing else: we run the alternative for a few weeks and compare latency, memory, errors and operational effort. Then we migrate by class of use: caches, then rate limits, then sessions, then queues, each with its own success criteria and rollback, which for Redis-to-Valkey is usually a configuration change pointing clients back.
The managed offering follows its own plan with customer communication, compatibility guarantees and a period of running both. We never migrate everything at once because licence news created urgency.
6Treating It as a Supply-Chain Governance Case
The broader lesson is that infrastructure dependencies carry licence risk just like libraries. We keep an inventory of licences for all infrastructure software, not only code dependencies, with owners and the products that depend on each. We define triggers for re-evaluation, such as a licence change, a change of project governance, a feature we depend on moving to a different licence, or a security support gap. When a trigger fires, the owner runs this same process. The Redis change then becomes the first use of a process, not a one-off scramble.
7Follow-up questions
What would make you pay for commercial support?
A dependency on features only one vendor provides and supports, such as specific search or vector capabilities in a core product; the managed offering needing licence rights that only a commercial agreement grants; or an internal team too small to handle security fixes and upgrades across hundreds of instances. If support costs less than the engineering time and risk it removes, paying is the sensible decision.
Should we fork or self-maintain a version ourselves?
Rarely. Maintaining a database fork means tracking security fixes, testing upgrades and keeping clients compatible, which is a full-time team's work. Joining an existing community fork such as Valkey, or paying a vendor, spreads that cost. Self-maintenance makes sense only for very specific needs and very large estates.
How do we stop teams from adopting distribution-only features?
Make it a reviewed decision: a short architecture decision record that names the feature, the distributions supporting it and the cost of leaving. Combined with the compatibility test suite in CI, teams see quickly when a change ties them to one server, and the platform team can approve it consciously.
8Conclusion
In this answer, we saw how to decide a direction after Redis moved from BSD to source-available licences, Valkey was forked under the Linux Foundation, and Redis added an AGPL option. We separated internal use from the managed offering, where legal review of current terms comes first, compared Redis, Valkey and managed variants on compatibility, features we use, roadmap, support and cost, kept clients portable through standard commands and a compatibility test suite, planned a reversible migration piloted on non-critical caches and moved by class of use, and turned the episode into ongoing supply-chain governance.
Open with
I would first separate two questions. For our internal instances, running caches, sessions and queues for our own products, the licence change rarely restricts us, so the decision is mostly technical and commercial.
Then, if they want more
For the managed offering, where we sell a Redis-compatible service, the terms matter a lot, so legal reviews the current licences, Redis's source-available and AGPL options, Valkey's BSD licence, or a provider's terms, before anything else.
Then I compare Redis, Valkey and cloud-managed variants on compatibility, the features we actually use, especially modules like search, JSON and vector, roadmap and governance, support and cost. To keep the choice open, our services stay portable: standard protocol and commands through Lettuce or Jedis via Spring Data Redis, and no distribution-only features without an approved decision record.
A compatibility test suite runs our integration tests against each candidate server with Testcontainers. If we move, I pilot the alternative on non-critical caches for a few weeks, compare latency, memory and operational effort, then migrate by class of use, caches first, queues last, each with a rollback.
Finally I treat it as supply-chain governance: an inventory of infrastructure licences with owners, and triggers like licence or governance changes that force a re-evaluation.
About this answer
- Last updated
- 12 November 2026
- Versions it names
- Redis 7
- Checked
- Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the documentation below. What the checks cover
- Where the question comes from
- Written by Scrivio for practice. It is not taken from an interview.
- Official documentation
- Redis documentation
Report an issue with this answer
Copy the line below and send it to the author with what you found. It carries the address of this page.
Issue with "In 2024 Redis moved from the BSD license to source-available licenses, the Valkey fork...": https://scrivio-interview-library.netlify.app/databases/redis/4bc0950b26/