Redis-compatible stores with data in and beyond RAM

Valkey, Redis, KeyDB, Dragonfly, Garnet, Kvrocks, Pika, Lavik and TidesKV on the same 6 CPUs, with 20 GB of data in RAM and 38/64 GB on a 32 GB server: compressed swap (zram, zswap), client-side compression, SSD tiering. Log-normal value sizes, two rounds per point, every configuration checked for correctness. Measured with kvbench.

AI-generated results. This benchmark was designed, run and analyzed with an AI assistant (Claude). Results were spot-checked by a person, but not every number and explanation has been verified in detail, and they may contain mistakes. All code and raw data are published on GitHub; please open an issue if you find a problem. The first version of this report (older host, first protocol) is archived at /v1/.

What each server was allowed to use

ResourceLimit (every result on this page)
Server CPUs6 logical CPUs (3 cores + hyperthreads), pinned, for every server; not the whole machine
ThreadsValkey / Redis "1 thread" (their default) use 1 main thread, about 1 of the 6 CPUs; "io-threads 6" spread I/O over 6 threads; KeyDB 4 server threads; Dragonfly 6 proactor threads; Garnet .NET thread pool; Kvrocks / TidesKV 6 workers; Pika 4 network + 6 worker threads; Lavik 6 shards
Client6 logical CPUs (shared with the OS), kvbench 6 threads x 12 connections, one request in flight per connection (pipelined: 8); loopback TCP
RAMwhole host: 31.4 GB visible (main host), 32.1 GB (old host); no per-server limit
Main hostAMD EPYC 4245P (Zen 5), 6 cores / 12 threads, boost off, 2 x NVMe, Ubuntu 26.04, kernel 7.0
Old hostIntel Xeon E-2286G (2019), 6 cores / 12 threads, turbo off, 2 x SATA SSD (fixed-size values only)

Key findings

Main host (AMD EPYC 4245P, NVMe), log-normal value sizes unless noted. Throughput at full load, uniform access, mean of two rounds. All servers ran on the same 6 logical CPUs (see the limits above).

Explore the results

Throughput is the mean of the two rounds; ‡ = the rounds differ by more than 15% (label shows both). ¹ = one round only (the server failed in the other). † = client CPUs >90% busy, a lower bound. Latency values are the mean of the two rounds' p99 / p99.9; hover a bar for both rounds.

Correctness

After the timed rounds, every GET for 2 minutes was compared with the last SET sent for that key; a missing key counts as a failure.

Notes