Lab Head to head · database benchmark

Valkey vs Redis benchmark: Valkey 9.2.0 against Redis 8.12.0 on the same work

Valkey 9.2.0 and Redis 8.12.0, each the newest release of its newest line, measured on the same machine with the same work in one run, so both meet the same conditions.

  • Last run Nov 26, 2026
  • Compared Redis 8.12.0 and Valkey 9.2.0
  • Setup one machine, the same work

See the results How we tested Raw data (JSON)

Every workload, every version

Median of the rounds, ± the spread between them. Green and amber cells differ by 10% or more from the first value of a row with a clear change; the last column compares Valkey 9.2.0 with Redis 8.12.0.

Every result: the median of each run and the change from Redis 8.12.0 to Valkey 9.2.0
WorkloadRedis 8.12.0Valkey 9.2.0Redis 8.12.0 → Valkey 9.2.0
SET, 52 clients, 1M requests1,500 ms ±3.2%1,483 ms ±2.4% no clear difference
GET, 52 clients, 1M requests1,456 ms ±3.7%1,462 ms ±3.7% no clear difference
SET in 16-command pipelines, 10M requests1,280 ms ±1.6%1,319 ms ±1.5% no clear difference
GET in 16-command pipelines, 10M requests1,177 ms ±3.2%1,192 ms ±2.1% no clear difference
LPUSH, 52 clients, 1M requests1,485 ms ±2.8%1,442 ms ±2.5% no clear difference
SET of 4 KB values, 1M requests1,740 ms ±0.6%1,736 ms ±2.3% no clear difference

Measured Nov 26, 2026 on our own machine. How we tested · Raw data (JSON)

How we tested

  • ProcessorAMD Ryzen 7 7800X3D (8 cores, 16 threads)
  • Memory32 GB RAM
  • SystemWindows 11 Pro, Docker Desktop (WSL 2)
  • ContainersDocker Engine 29.9.3

What we ran

  • Redis 8.12.0 redis:8.12.0 sha256:3c4881844c64…
  • Valkey 9.2.0 valkey/valkey:9.2.0 sha256:1c2b25b09f35…

Self-test Redis 8.12.0 against Redis 8.12.0 in two containers: the largest difference was 1.6%, none of them clear.

Method

  • Median of 11 rounds after 1 warm-up round; the product that starts each round rotates
  • Each is the newest release of its newest line on 2026-11-26, run as it ships, both in one run
  • Both run the same script, redis-lab.sh, with each server's own benchmark tool and default settings
  • The server in its container on loopback, persistence off, default settings otherwise; a fresh server each round
  • Its own benchmark tool: 4 processes of 13 clients, 100,000 random keys; a warm-up pass of a tenth before each timed pass, timed by the clock around it
Reproduce it
Commands
cat redis-lab.sh | docker run --rm -i --network none --read-only --cpus 8 --memory 6g --user 10001:10001 --tmpfs /tmp:exec --tmpfs /home/check:exec,size=4g,uid=10001 -e HOME=/home/check -w /home/check redis:8.12.0 sh -s
cat redis-lab.sh | docker run --rm -i --network none --read-only --cpus 8 --memory 6g --user 10001:10001 --tmpfs /tmp:exec --tmpfs /home/check:exec,size=4g,uid=10001 -e HOME=/home/check -w /home/check valkey/valkey:9.2.0 sh -s
The script: https://thestacksentinel.com/lab/scripts/redis-lab.sh.txt (save it as redis-lab.sh)

Limits

  • Each server is driven by the benchmark tool its image ships (valkey-benchmark began as a fork of redis-benchmark), so the client side is not one and the same program.
  • One machine: an 8-core desktop CPU under Windows 11 and WSL 2; a Linux server may behave differently.
  • Loopback in one container: no network between client and server, so these numbers are the server's work, not a data centre's.
  • Default server settings except persistence; a tuned server (I/O threads, memory policy) may differ.

Raw data (JSON) · How we test

Official pages on Redis 8.12.0 and Valkey 9.2.0