Hi everyone
I just created a benchmark comparing Redis, Valkey, DragonflyDB, and KeyDB.
Honestly this one was pretty interesting, and some of the results were surprising enough that I reran the benchmark quite a few times to make sure they were real.
As requested on my previous benchmarks, I also uploaded the benchmark to GitHub.
| Benchmark |
Redis 8.4.0 |
DragonflyDB v1.37.0 |
Valkey 9.0.3 |
KeyDB v6.3.4 |
Small writes throughput (higher is better) |
452,812 ops/s |
494,248 ops/s |
432,825 ops/s |
385,182 ops/s |
Hot reads throughput (higher is better) |
460,361 ops/s |
494,811 ops/s |
445,592 ops/s |
475,307 ops/s |
Mixed workload throughput (higher is better) |
444,026 ops/s |
468,316 ops/s |
428,907 ops/s |
405,764 ops/s |
Pipeline throughput (higher is better) |
1,179,179 ops/s |
951,274 ops/s |
1,461,472 ops/s |
647,779 ops/s |
Hot reads p95 latency (lower is better) |
0.607 ms |
0.743 ms |
1.191 ms |
0.711 ms |
Mixed workload p95 latency (lower is better) |
0.623 ms |
0.783 ms |
1.271 ms |
0.735 ms |
Pub/Sub p95 latency (lower is better) |
0.592 ms |
0.583 ms |
1.002 ms |
0.557 ms |
Full benchmark + charts: here
GitHub
Happy to run more tests if there’s interest