Memcached vs Valkey

Memcached and Valkey compared field by field from their catalog records. Both are listed under In-Memory Key-Value & Caches.

AttributeMemcachedValkey
MaintainerThe Linux Foundation
CategoriesIn-Memory Key-Value & CachesIn-Memory Key-Value & Caches
Statusactiveactive
LicenseBSD-3-ClauseBSD-3-Clause
Open source (OSI)YesYes
First release20032024
Latest stable version1.6.46 (Nov 28, 2026)9.2.1 (Nov 26, 2026)
Deploymentself-hosted, managedself-hosted, managed
Wire compatibilitymemcachedredis
Query languagesRedis commands, Lua
Written inCC
Radar ringadopttrial
Last verifiedDec 3, 2026Dec 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:

  1. memcached.org memcached.org
  2. github.com/memcached/memcached github.com
  3. github.com/memcached/memcached/blob/master/LICENSE github.com
  4. docs.memcached.org docs.memcached.org
  5. en.wikipedia.org/wiki/Memcached en.wikipedia.org
  6. memcached.org/about memcached.org
  7. valkey.io/download valkey.io
  8. linuxfoundation.org/press/linux-foundation-launches-open-source-valkey-community linuxfoundation.org
  9. github.com/valkey-io/valkey github.com

Found an error? See how to report a correction.