Valkey is an open-source fork of Redis, maintained by the Linux Foundation. After Redis changed its license, Valkey continues the BSD-3 open-source tradition.
What You Get for Free
- Full Redis compatibility — drop-in replacement
- BSD-3 license — truly open source
- Linux Foundation — backed by AWS, Google, Oracle
- All Redis features — strings, lists, sets, hashes, streams
- Clustering — built-in horizontal scaling
- Pub/Sub — real-time messaging
- Lua scripting — server-side logic
Quick Start
docker run -p 6379:6379 valkey/valkey
Use Like Redis
valkey-cli
> SET user:1 '{"name":"Alice"}'
> GET user:1
> HSET session:abc user_id 1 expires 3600
> EXPIRE session:abc 3600
Migration from Redis
Valkey is a drop-in replacement. Just:
- Replace
redis-serverwithvalkey-server - Replace
redis-cliwithvalkey-cli - No code changes needed
Valkey vs Redis
| Feature | Valkey | Redis |
|---|---|---|
| License | BSD-3 (open) | SSPL (restrictive) |
| Maintainer | Linux Foundation | Redis Ltd |
| Compatible | 100% | Baseline |
Need caching setup? Check my work on GitHub or email spinov001@gmail.com for consulting.
Top comments (0)