Updated May 2026  |  Redis 8.0  |  Valkey 8.1  |  Memcached 1.6.x

Redis vs Memcached vs Valkey: A 2026 Decision Guide

Memcached if it's truly just a cache. Redis if you need anything more. Valkey if SSPL or AGPLv3 blocks you. Here's the matrix.

Compare features in depthSee the license timelineI need code examples

At a glance: which wins per need

Quick decision tool

Verdict
Redis

Sessions need persistence + replication. Memcached restart wipes all sessions. Redis (or Valkey) is the only safe choice.

230%
RPS gain
Valkey 8.0 vs 7.2 on Graviton3
Valkey blog (vendor)
~25%
Memcached edge
on simple GET/SET at high concurrency
DevGenius March 2026
28%
Memory saving
Valkey 8.1 vs Redis 8.0 at 50M sorted-set entries
Momento benchmark
~800k
Redis ops/sec
batched 10-op pipeline on AWS c6i.2xlarge
DevGenius March 2026
15,000
Aiven servers
migrated to Valkey in 3 months (2024)
Valkey blog
May 2025
Redis + AGPLv3
Redis 8.0 tri-licensed: RSALv2 / SSPL / AGPLv3
Redis blog
License saga:Redis BSD (2009) → SSPL+RSALv2 (Mar 2024) → +AGPLv3 (May 2025)|Valkey forked BSD (Apr 2024, Linux Foundation)|Memcached BSD always, never moved|Full timeline →

The 2026 state of play

Redis 8.0 (May 2025)

Redis is now tri-licensed: RSALv2, SSPLv1, and AGPLv3. The AGPLv3 addition (May 2025) makes Redis OSI-compliant again for the first time since March 2024 but AGPLv3's network copyleft is uncomfortable for many commercial shops. Redis 8.0 adds vector sets (HNSW-based similarity search for AI/RAG), hash field TTL, and vendor-claimed latency improvements up to 78% on bitmaps. Benchmark vendor-sourced numbers with your own workload before committing.

Memcached 1.6.x (BSD, never moved)

Memcached has been BSD-licensed since 2003 and never changed. Actively maintained in 2026. Facebook runs the world's largest Memcached deployment. Its lane is narrow but real: multi-threaded raw GET/SET throughput, simple ephemeral page caching, lower per-item memory overhead. If your only need is a fast, simple, ephemeral cache and you need BSD permissiveness, Memcached still earns its place.

Valkey 8.1 (BSD, early 2026)

The Linux Foundation fork of Redis 7.2.4, backed by AWS, Google Cloud, Oracle, and Ericsson. Launched April 2024 when Redis dropped BSD. Valkey 8.0 redesigned threading for ~30-35% throughput improvement and 230% RPS gain over 7.2 on Graviton3. Valkey 8.1 shows ~28% lower memory at 50M sorted-set entries vs Redis 8.0 (Momento benchmark, independent). Drop-in replacement for Redis 7.2 workloads. AWS ElastiCache and Google Memorystore now both default to Valkey for new deployments.

Full license timeline →Benchmark data with sources →Should you use Valkey instead? →

The Redis license timeline (2009-2026)

The license saga is the deciding factor for many 2026 teams. 7 events, sourced.

Full timeline →
2009
Redis launches under BSD
Mar 21, 2024
Redis drops BSD for SSPLv1 + RSALv2
Mar 28, 2024
Linux Foundation forks Valkey from Redis 7.2.4 BSD
Aug 2024
Aiven migrates 15,000 servers to Valkey
Nov 2024
Antirez rejoins Redis Inc
May 1, 2025
Redis 8.0: tri-licensed RSALv2 / SSPL / AGPLv3
2026
Valkey 8.1 in wide production; AWS + GCP default to Valkey

Benchmark snapshot (2024-2026, sourced)

Every number labelled vendor-sourced or independent. Full data on /benchmarks.

WorkloadWinnerDeltaSource type
Simple GET/SET, high concurrencyMemcached~20-25% throughput edgeIndependent
Batched 10-op pipelineRedis~7% edge (800k vs 750k ops/sec)Independent
Memory at 50M sorted-set entriesValkey 8.128% lower (3.77 GB vs 4.83 GB)Independent
Multi-threaded I/OValkey 8.030-35% throughput gainIndependent
Valkey 8.0 vs 7.2 RPSValkey 8.0230% improvement (vendor claim)Vendor
Redis 8.0 latency improvementsRedis 8.0Up to 78% bitmap latencyVendor

Source: DevGenius March 2026 (AWS c6i.2xlarge), Momento (AWS c8g.2xlarge Graviton4), Valkey blog (AWS c7g.4xlarge Graviton3). Vendor-sourced numbers labelled; replicate with your workload before committing.

Use cases: who wins what

Real-world named users (Facebook / Memcached, Twitter / Redis, Aiven / Valkey). Full matrix at /use-cases.

Session StoreRedis

Sessions need persistence + replication. Memcached restart wipes all sessions. Redis RDB/AOF + master-replica = safe sessions. Valkey works equally well.

Used by: Twitter (legacy Redis), Stack Overflow (Redis)
Full guide →
Pure Cache LayerMemcached

Multi-threaded, ~20-25% throughput edge on simple GET/SET (DevGenius 2026). Lower per-item memory overhead. Simple by design. Facebook runs the world's largest Memcached deployment.

Used by: Facebook, YouTube, Wikipedia, LiveJournal
Full guide →
Pub/SubRedis or Valkey

Memcached has no pub/sub. Redis SUBSCRIBE/PUBLISH fire-and-forget, or Redis Streams for persistent consumer groups. Valkey supports both equivalently.

Used by: Discord (Redis pub/sub), Slack (Redis)
Full guide →

Frequently asked questions

Is Redis better than Memcached?

Better at different things. Memcached wins on raw GET/SET throughput at high concurrency (DevGenius 2026: ~20-25% edge, AWS c6i.2xlarge) and lower per-item memory overhead. Redis wins on data types, persistence, replication, pub/sub, clustering, and security. For 80%+ of new projects in 2026, Redis or Valkey is the right call. The Memcached lane is real but narrow: simple ephemeral page caching, no persistence requirement, no structured data.

Is Redis still open source in 2026?

Partially. After the March 2024 SSPL/RSALv2 switch, the OSI did not recognise Redis as open source. May 2025 added AGPLv3 as a third option (tri-license). AGPLv3 is OSI-approved open source, but its network copyleft ("if you run a modified version as a service, you must publish the source") is uncomfortable for many commercial products. Valkey remains BSD-3 permissive with no strings. Memcached has always been BSD.

Should I migrate from Redis to Valkey?

If your license review flags SSPL or AGPLv3 as a problem, yes. Valkey is a drop-in replacement for Redis 7.2.4 baseline commands and is fully RESP-compatible. If you need Redis 8.0 features (vector sets, hash field TTL) that Valkey has not yet shipped, stay on Redis. If you are on AWS ElastiCache or Google Memorystore, check whether you are already on Valkey by default (likely yes for new clusters since late 2024). See the full guide at /valkey-vs-redis.

Full FAQ (15 questions) →

Related engineering decisions

Monorepo vs Polyrepo

Polyglot teams making cache decisions are often making repo layout decisions too.

Rust vs Go

Redis clients differ in Rust vs Go ergonomics. Language and cache layer decisions are linked.

CI/CD Cost Calculator

Migrating to Valkey in CI/CD staging compounds test run costs. Calculate the real cost.

Tech Stack Cost

Cache layer choice is one node in the broader stack-cost question.