Redis vs Valkey
Redis: The in-memory data structure server that became the default cache, now with search, JSON and vectors built in. Valkey: The Linux Foundation's BSD-licensed fork of Redis, now the default engine on AWS and Google Cloud.
key differences
- Licensing: Redis is open source (copyleft) (Tri-license: AGPLv3, RSALv2 or SSPLv1 (Redis 8+)); Valkey is open source (permissive) (BSD 3-Clause).
- Only Redis has secondary indexes, full-text search, vector search, json.
choose redis for
- +Application and database query caching
- +Session storage and user tokens
- +Rate limiting and distributed locks
- +Leaderboards and counters
best at · Cache, Sessions, Queue
choose valkey for
- +Replacing Redis OSS without license concerns
- +Application caching and session storage
- +Rate limiting, counters and leaderboards
- +Pub/sub fan-out and Streams-based queues
best at · Cache, Sessions, Queue
Redis vs Valkey: FAQ
What is the difference between Redis and Valkey?
Redis: The in-memory data structure server that became the default cache, now with search, JSON and vectors built in. Valkey: The Linux Foundation's BSD-licensed fork of Redis, now the default engine on AWS and Google Cloud. Licensing: Redis is open source (copyleft) (Tri-license: AGPLv3, RSALv2 or SSPLv1 (Redis 8+)); Valkey is open source (permissive) (BSD 3-Clause). Only Redis has secondary indexes, full-text search, vector search, json.
When should I choose Redis over Valkey?
Choose Redis for application and database query caching; session storage and user tokens; and rate limiting and distributed locks. Choose Valkey for replacing Redis OSS without license concerns; application caching and session storage; and rate limiting, counters and leaderboards.
Is Redis or Valkey more popular?
Redis ranks #2 on the WhichDB Score (84.3/100) and Valkey ranks #16 (58.0/100). Popularity is not fit: check the requirements that matter for your project.
Are Redis and Valkey open source?
Yes. Redis is open source. License: Tri-license: AGPLv3, RSALv2 or SSPLv1 (Redis 8+). Yes. Valkey is open source. License: BSD 3-Clause.