MemcachedvsValkey
Two self-hosted projects, compared on the numbers selfhost.directory tracks live: score, popularity, release cadence and setup effort.
| Memcached | Valkey | |
|---|---|---|
| Score | 71/100 | 81/100 |
| Rank in category | #1 of 1 in Caching | #2 of 38 in Databases |
| GitHub stars | 14 311 | 27 827 |
| Stars, last 30 days | +14 | +369 |
| Stable releases, 12 months | 0 | 28 |
| Latest release | — | 9.2.0 · 19 Nov 2026 |
| Setup | Moderate | Easy |
| Official Docker image | No | Yes |
| License | BSD-3-Clause | BSD-3-Clause |
| Main language | C | C |
Which one should you pick?
Valkey scores 81/100 against 71/100 for Memcached, so it is the safer default.
Valkey ships more often: 28 stable releases in the past year, against 0 for Memcached.
If you want the quickest setup, Valkey is easier to run; Memcached needs more configuration.
Valkey is growing faster right now (+369 stars in 30 days).
Key differences
- Only Valkey ships an official Docker image.
- Platforms only Memcached lists: Build from Source.
- Platforms only Valkey lists: Docker, Linux, macOS, Source.
- Features only Memcached lists: Atomic commands, Built-in proxy, Data replication, Distributed cache scaling and 10 more.
- Features only Valkey lists: Access control lists (ACL), Append-only file persistence, Asynchronous replication, High availability with Sentinel and 9 more.
- Both offer: TLS Encryption.
Memcached details →Valkey details →
Swap a project
Keep Memcached, compare it with
Keep Valkey, compare it with