Memcached vs Valkey
Memcached and Valkey compared field by field from their catalog records. Both are listed under In-Memory Key-Value & Caches.
| Attribute | Memcached | Valkey |
|---|---|---|
| Maintainer | The Linux Foundation | |
| Categories | In-Memory Key-Value & Caches | In-Memory Key-Value & Caches |
| Status | active | active |
| License | BSD-3-Clause | BSD-3-Clause |
| Open source (OSI) | Yes | Yes |
| First release | 2003 | 2024 |
| Latest stable version | 1.6.46 (Nov 28, 2026) | 9.2.1 (Nov 26, 2026) |
| Deployment | self-hosted, managed | self-hosted, managed |
| Wire compatibility | memcached | redis |
| Query languages | Redis commands, Lua | |
| Written in | C | C |
| Radar ring | adopt | trial |
| Last verified | Dec 3, 2026 | Dec 3, 2026 |
Summaries
Memcached
Open-source, multithreaded in-memory key-value cache that stores small opaque values such as query results, sessions or rendered fragments to reduce load on primary databases. It has no persistence or replication built in; clients spread keys across nodes with consistent hashing. Its simple text and binary protocols are also implemented by other systems.
adopt A proven, simple choice for pure look-aside caching; pick Redis or Valkey instead when data structures, persistence or replication are needed.
Valkey
Open-source in-memory key-value data store hosted by the Linux Foundation, forked from Redis 7.2.4 after Redis changed its license in 2024. It keeps data structures such as strings, hashes, lists, sets, sorted sets and streams in memory and speaks the Redis protocol, so most Redis clients work unchanged. It is used for caching, session storage, queues and real-time counters, and is offered as a managed service by several cloud providers.
trial A permissively licensed, Redis-compatible option with strong cloud-provider backing; worth trialing as a drop-in cache or replacement for Redis 7.x.
Sources
Last verified:
- memcached.org memcached.org
- github.com/memcached/memcached github.com
- github.com/memcached/memcached/blob/master/LICENSE github.com
- docs.memcached.org docs.memcached.org
- en.wikipedia.org/wiki/Memcached en.wikipedia.org
- memcached.org/about memcached.org
- valkey.io/download valkey.io
- linuxfoundation.org/press/linux-foundation-launches-open-source-valkey-community linuxfoundation.org
- github.com/valkey-io/valkey github.com
Found an error? See how to report a correction.