Redis vs Memcached vs Valkey: 2026 Benchmark Data, Sourced
Memcached wins simple GET/SET at high concurrency. Redis wins batched and structured operations. Valkey 8.x wins memory efficiency vs Redis 8.x. Numbers below, sourced.
memtier_benchmark or redis-benchmark on your real data before committing.Benchmark 1: Simple GET/SET throughput
IndependentHardware: AWS c6i.2xlarge, 256-byte values | Source: DevGenius March 2026 production benchmark
Caveat: Single hardware profile, 256-byte values. Your workload may differ. No Valkey number in this benchmark.
Benchmark 2: Batched / pipelined operations
IndependentHardware: AWS c6i.2xlarge, 10-op pipelines | Source: DevGenius March 2026 production benchmark
Caveat: Batch size matters. Smaller batches (1-2 ops) favour Memcached; larger batches (10+) favour Redis.
Benchmark 3: Rails cache backend
IndependentHardware: Rails 7.x application server, AWS | Source: Medium: Rails Cache Store Benchmarks Redis vs Memcached 2026
Caveat: Workload-shape dependent. Rails has a specific access pattern (small values, high concurrency). Django and Node benchmarks show different splits.
Benchmark 4: Valkey 8.0 RPS gain over Valkey 7.2
VendorHardware: AWS c7g.4xlarge Graviton3, 16 vCPU | Source: Valkey blog: 2024 Year of Valkey
Caveat: Vendor-sourced. The threading redesign benefits multi-core instances most. On single-core or lower concurrency workloads, the gain is smaller.
Benchmark 5: Valkey 8.1 vs Redis 8.0 memory efficiency
IndependentHardware: AWS c8g.2xlarge Graviton4, 8 vCPU, 50M sorted-set entries | Source: Momento: Valkey vs Redis Memory Efficiency at Hyperscale
Caveat: Independent benchmark, Momento publishes Valkey-compatible managed products (Momento Cache). Neither system sustains 1M RPS on this single 8-vCPU instance. Scale hardware for production load.
Benchmark 6: Valkey multi-threaded I/O
IndependentHardware: Multi-core instances | Source: Better Stack 2026 comparison
Caveat: Multi-core instance dependent. On single-core instances, Valkey's threading provides little advantage.
Benchmark 7: Redis 8.0 latency improvements
VendorHardware: Vendor hardware (not disclosed) | Source: Redis blog: Redis 8 GA
Caveat: Vendor-sourced. Redis 8.0 vs Redis 7.x comparison only (not vs Valkey or Memcached). Hardware not disclosed. 'Up to' figures represent peak conditions.
Synthesis table
| Workload | Winner | Source type | Approx delta |
|---|---|---|---|
| Simple GET/SET, high concurrency | Memcached | Independent | ~20-25% throughput |
| Batched 10-op pipeline | Redis | Independent | ~7% |
| Rails cache layer | Memcached | Independent | ~20% ops/sec, lower latency |
| Memory at 50M sorted-set entries | Valkey 8.1 | Independent | ~28% lower |
| Multi-threaded I/O (multi-core) | Valkey | Independent | ~30-35% |
| Valkey 8.0 vs 7.2 RPS | Valkey 8.0 | Vendor | 230% (vendor claim) |
| Redis 8.0 vs 7.x latency | Redis 8.0 | Vendor | Up to 78% (vendor claim) |
What the numbers do not tell you
Every benchmark is workload-shaped. A 256-byte simple GET/SET benchmark on a c6i.2xlarge says nothing about your 4KB session blobs, your sorted-set leaderboard under 50k concurrent users, or your pub/sub fan-out to 200 subscribers. The performance delta between Redis and Memcached is real but smaller than the license delta for many 2026 teams. Run your own benchmark with memtier_benchmark before deciding.