An in-memory data store that is API-compatible with Redis and Memcached, aiming to be a drop-in replacement for both.
valkey-io/valkey
A high-performance, Redis-compatible key-value data structure server forked from Redis, aimed at caching and realtime workloads.
Open-source alternative to:Redis
- Stars
- 27,486
- Forks
- 1,387
- Open issues
- 937
- Last commit
- 9 hours ago
What is it?
Valkey is a data structure server that mainly serves key/value workloads. It supports a broad set of native data structures and offers an extensible plugin system for adding new structures and access patterns. It was forked from Redis before Redis changed to source-available licensing.
The project builds on Linux, macOS, and BSD systems on both little-endian and big-endian architectures, in 32-bit and 64-bit variants. Optional features include TLS, RDMA (experimental), systemd integration, and Zstandard compression for streaming RDB and replication, selected at build time through a Makefile or CMake.
Valkey ships with a command-line client, valkey-cli, and a test suite covering integration, unit, module API, Sentinel, and Cluster scenarios.
Key features
- 01Supports a wide range of native data structures.
- 02Extensible plugin system for new data structures and access patterns.
- 03Optional TLS support, built in or as a module.
- 04Experimental RDMA support on Linux.
- 05Redis-compatible command names and symlinks for redis-cli and redis-server.
Use cases
- Caching layer for web applications and services.
- Realtime workloads that need fast key/value access.
- Migrating existing Redis deployments to an open-source fork.
Quick start
- 1
Build Valkey from source with the Makefile
make - 2
Start the server with the default configuration
cd src ./valkey-server - 3
Connect with the command-line client in another terminal
./valkey-cli
Things to know
- Building from source requires a C toolchain and make, and TLS or RDMA support needs extra system libraries.
- RDMA support is experimental and only works on Linux.
In collections
Topics
FAQ
- What is valkey?
- A high-performance, Redis-compatible key-value data structure server forked from Redis, aimed at caching and realtime workloads. Valkey is a data structure server that mainly serves key/value workloads. It supports a broad set of native data structures and offers an extensible plugin system for adding new structures and access patterns. It was forked from Redis before Redis changed to source-available licensing.
- Is valkey free to use? What license does it have?
- valkey is open source under the BSD-3-Clause license. Check the license terms before using it in commercial products.
- Is valkey still maintained?
- Actively maintained. The last commit to valkey was on Oct 22, 2026.
- What can I use valkey for?
- Caching layer for web applications and services. Realtime workloads that need fast key/value access. Migrating existing Redis deployments to an open-source fork.
- How do I install valkey?
- Build Valkey from source with the Makefile: make Start the server with the default configuration: cd src ./valkey-server Connect with the command-line client in another terminal: ./valkey-cli
- Where can I get valkey?
- The source code and installation instructions are on GitHub: https://github.com/valkey-io/valkey
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
An in-memory data store used as a cache, data structure server, document store, vector database, and message broker.
A low-latency caching server written in C that speaks Memcache, Redis/Valkey, HTTP and Postgres protocols, and can be embedded as a single C file.
A Redis- and Valkey-compatible in-memory key-value server written in Rust, with built-in full-text and vector search.
Java client for Valkey and Redis that adds distributed collections, locks, queues, and services on top of the base commands.
A Node.js key-value storage library with TTL expiry and pluggable backends such as Redis, MongoDB, SQLite and PostgreSQL.