DEV Community

Alex Spinov
Alex Spinov

Posted on

Valkey Has a Free Redis Fork Maintained by the Linux Foundation

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
Enter fullscreen mode Exit fullscreen mode

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
Enter fullscreen mode Exit fullscreen mode

Migration from Redis

Valkey is a drop-in replacement. Just:

  1. Replace redis-server with valkey-server
  2. Replace redis-cli with valkey-cli
  3. 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)