Valkey: When Redis Gets a Permissive License
You know that feeling when your team loves Redis but hates the licensing shift? Well, meet Valkey.
It's a high-performance fork of Redis that keeps the same speed and APIs, but under a fully permissive license (BSD-3-Clause). No drama. No restrictions. Just the in-memory data store you already know, with a cleaner future.
What It Does
Valkey is an in-memory key-value store that can act as a database, cache, message broker, and queue. It supports strings, hashes, lists, sets, sorted sets, bitmaps, hyperloglogs, geospatial indexes, and streams. Basically, if you've used Redis, you've used Valkey — they're nearly identical in functionality.
The big difference? License. Valkey is fully open source under BSD-3, meaning you can use it in commercial products, fork it, or embed it without worrying about copyleft or restrictive clauses.
Why It’s Cool
- Drop-in replacement. Your existing Redis code and configurations work with Valkey. No changes needed.
- Same performance. It's built directly from the Redis codebase, so you get those sub-millisecond response times.
- Open governance. The project is community-driven under the Linux Foundation, so no single company controls its future.
- Future-proofed. If you're building something that might need to be commercialized or shared, permissive licensing removes a headache.
How to Try It
# Clone the repo
git clone https://github.com/valkey-io/valkey.git
cd valkey
# Build it
make
# Run it
src/valkey-server
That's it. Your existing Redis clients (like redis-cli or ioredis) will connect directly. You can also use their Docker image:
docker run -p 6379:6379 valkey/valkey
No migration script. No config changes. Just point your app at the new server.
Final Thoughts
Valkey is exactly what it says on the tin — a Redis fork that gives you freedom. If you're starting a new project or migrating an existing one, this is worth a serious look. The team behind it is responsive, the community is growing, and the license is the kind that makes lawyers smile.
And honestly? If you've ever been burned by a SaaS company changing its license terms, you'll appreciate having a permissive alternative that does the same job.
Follow @githubprojects for more open source deep dives.
Repository: https://github.com/valkey-io/valkey