Benchmarks Caches
Candidates
Redis vs Valkey vs Dragonfly
Tick the candidates you care about and the charts, winners and table redraw for just them: same run, same rig, same samples. Winners come from the numbers alone; the story is in the post.
Small value throughput
Winner Dragonfly (0.3 ms)
Large value throughput
Winner Dragonfly (1.4 ms)
Pipeline effect
Test 1 Pipeline depth 1
SET/GET mix at pipeline depth 1 (reuses small-value throughput data) (HIGHER ops/s = BETTER)
Test 2 Pipeline depth 30
SET/GET mix at pipeline depth 30 (HIGHER ops/s = BETTER)
Winner Dragonfly (12,794,200.7 ops/s)
Memory efficiency
Winner Dragonfly (112.8 MB)
Test conditions: rig, corpus, protocol
- Machine
- AWS c7g.metal (engine) + c7g.4xlarge (client)
- Chip
- AWS Graviton3
- Cores
- 64 physical (engine)
- Memory
- 128 GiB (engine), 32 GiB (client)
- OS
- Ubuntu 24.04 LTS arm64 (arm64)
- Runtime
- Docker (redis:8.8.2, valkey/valkey:9.1.1, dragonflydb/dragonfly:v1.40.1); memtier_benchmark 2.5.1; RESP2, no TLS
Rig
- Warmups
- 2 unmeasured passes
- Measured
- 10 passes per tool
- Process
- Container per engine, network_mode host; Dragonfly 64 proactor threads on 64 physical cores, Redis and Valkey single-threaded I/O (default io-threads 1); 16 GiB maxmemory for all three
- Cache
- Preloaded keyspace, 100% hit ratio on GET workloads; working sets sized below 50% of maxmemory; eviction flags set for parity of intent, never triggered
- Output
- memtier_benchmark 2.5.1: ops/s, p50/p99/p99.9 latency, client CPU per 10 s pass; memory via INFO MEMORY and cgroup RSS delta
Protocol
Scorecard
| Candidate | Small value throughput (ms, lower is better) | Large value throughput (ms, lower is better) | Pipeline effect (ops/s, higher is better) | Memory efficiency (MB, lower is better) |
|---|---|---|---|---|
| Redis | 2.1 ms | 3.5 ms | 1,454,560.3 ops/s | 158 MB |
| Valkey | 2.1 ms | 3.6 ms | 1,344,402.9 ops/s | 163 MB |
| Dragonfly | 0.3 ms | 1.4 ms | 12,794,200.7 ops/s | 112.8 MB |
Redis is a registered trademark of Redis Ltd. Valkey is a trademark of The Linux Foundation. Dragonfly is a trademark of DragonflyDB Ltd.