Skip to content

Latest commit

 

History

History
490 lines (390 loc) · 25.7 KB

RESULTS.md

File metadata and controls

490 lines (390 loc) · 25.7 KB

SoliKV benchmark results

SoliKV against KiviDB 1.2 and Redis 8.10 (2026-11-07)

Servers: SoliKV at ce5bd25 (default 16 shards, fat LTO, one codegen unit), KiviDB 1.2.0 (the release's kividb-linux-x86_64 binary, default build), Redis 8.10.3 built from source (jemalloc). Settings, every server: AOF on, appendfsync everysec, no RDB save points, automatic AOF rewrite at the defaults, everything else at its defaults (Redis io-threads 1, KiviDB's own thread count). KiviDB has no flag for the fsync policy or save points; the harness checks with CONFIG GET that its defaults match and refuses to run otherwise. Data directories on tmpfs. Machine: AMD Ryzen 9 9950X (16 cores, 32 threads, two CCDs), 125 GiB RAM, Rocky Linux 10, kernel 6.12. Servers pinned to one CCD (0-7,16-23), redis-benchmark and the load generator to the other (8-15,24-31), over loopback. Method: three rounds alternating the three servers, a fresh server for every suite, median shown; the best value of each row in bold. redis-benchmark 8.10.3 and benches/loadgen. Reproduce with benches/versus.py and BENCH_SERVER_CPUS/BENCH_CLIENT_CPUS (see README.md).

Versions

Server Version Flags
SoliKV solikv 0.4.3 --save ''
KiviDB 1.2 kividb 1.2.0 —
Redis 8.10 Redis 8.10.3 —

Standard commands — 50 clients, 200k ops (req/s)

Command SoliKV KiviDB 1.2 Redis 8.10
PING INLINE 180.2K/s 179.5K/s 180.0K/s
PING MBULK 181.3K/s 179.2K/s 179.9K/s
SET 178.7K/s 177.1K/s 185.5K/s
GET 179.7K/s 178.9K/s 180.7K/s
INCR 178.9K/s 177.1K/s 183.2K/s
LPUSH 177.8K/s 176.1K/s 187.1K/s
RPUSH 177.8K/s 175.3K/s 185.7K/s
LPOP 178.6K/s 176.2K/s 185.4K/s
RPOP 178.9K/s 176.2K/s 185.5K/s
SADD 178.9K/s 177.0K/s 180.5K/s
HSET 177.6K/s 176.1K/s 185.7K/s
ZADD 178.1K/s 175.1K/s 180.5K/s
MSET 173.8K/s 173.2K/s 174.5K/s

Pipelined — P=16, 50 clients, 2M ops (req/s)

Command SoliKV KiviDB 1.2 Redis 8.10
SET 2.57M/s 1.31M/s 1.62M/s
GET 2.60M/s 2.56M/s 2.53M/s
INCR 2.56M/s 1.22M/s 1.81M/s
LPUSH 2.52M/s 1.20M/s 1.61M/s
SADD 2.58M/s 1.29M/s 2.47M/s
HSET 2.55M/s 1.04M/s 1.47M/s
ZADD 2.55M/s 1.04M/s 2.22M/s

One hot key — redis-benchmark --threads 6 -c 96 -P 32 -n 20000000 (req/s)

Command SoliKV KiviDB 1.2 Redis 8.10
SET 6.15M/s 1.31M/s 1.86M/s
GET 10.00M/s 13.32M/s 3.81M/s
INCR 5.33M/s 1.23M/s 2.16M/s
LPUSH 5.33M/s 1.23M/s 1.86M/s
HSET 5.00M/s 1.05M/s 1.74M/s
ZADD 5.00M/s 1.07M/s 2.75M/s

Targeted workloads

Workload SoliKV KiviDB 1.2 Redis 8.10
SETBIT growing a 10 MB bitmap (100k calls) 75.6 ms 26.99 s 87.4 ms
APPEND building a 10 MB string (20k calls) 16.7 ms 1.60 s 24.9 ms
ZRANK, 200k-member sorted set 994.5K/s 8.2K/s 1.24M/s
ZRANGE 10 members deep in a 200k sorted set 623.7K/s 12.9K/s 709.4K/s
Full ZSCAN, 50k members 14.1 ms 264.4 ms 19.7 ms
Full HSCAN, 50k fields 12.8 ms 116.6 ms 13.1 ms
SINTER 100k-member set with 100-member set 103.0K/s 775/s 96.4K/s
SPOP until a 100k set is empty 67.4 ms 85.8 ms 99.4 ms
One MSET of 10k pairs 2.32 ms 2.41 ms 2.54 ms
One RPUSH of 100k elements 9.30 ms 11.0 ms 9.15 ms
One DEL of 1000 keys 154 µs 144 µs 131 µs

Latency seen by other clients

Measurement SoliKV KiviDB 1.2 Redis 8.10
GET p99.9 during BGSAVE (1M keys, 16 clients) 344 µs 85 µs 168 µs
GET worst during BGSAVE 2.04 ms 1.21 ms 1.60 ms
GET p99.9 while SAVE runs 289 µs 90 µs 143 µs
GET worst while SAVE runs 62.4 ms 1.97 ms 327.1 ms
SET p99.9 refilling after FLUSHALL of 1M keys 1.81 ms 2.37 ms 1.29 ms
SET worst refilling after FLUSHALL 84.7 ms 9.62 ms 5.40 ms
Other keys, worst, BGSAVE with a 2M-element list 1.49 ms 10.7 ms 710 µs
Other keys, worst, BGREWRITEAOF with a 2M-element list 2.04 ms 9.07 ms 606 µs

Housekeeping

Measurement SoliKV KiviDB 1.2 Redis 8.10
Expired keys still counted 3 s after 200k keys expired, idle server 0 0 0

Reading these numbers

  • Writes: SoliKV leads every pipelined write by about 2× (SET 2.57M/s against 1.31M/s, HSET and ZADD 2.5× ahead) and every hot-key write by 4–5× (SET 6.15M/s against 1.31M/s). KiviDB's writes are also below Redis 8.10 here. Pipelined, SoliKV is at the single redis-benchmark process's ceiling (GET is level at about 2.6M/s for all three), so its margin may be larger.
  • Reads: level pipelined; on one hot key KiviDB leads (13.3M/s against 10.0M/s for SoliKV, 3.8M/s for Redis).
  • Large values are KiviDB's weak spot: growing a 10 MB bitmap with SETBIT takes 27 s against 76 ms, APPEND to 10 MB 1.6 s against 17 ms, SINTER and ZRANK on large sets are 100× slower — each command appears to do work proportional to the value's size.
  • Snapshots are KiviDB's strength: GET p99.9 during BGSAVE 85 µs against 344 µs for SoliKV, and its worst GET while SAVE runs is 2 ms against 62 ms for SoliKV and 327 ms for Redis.
  • Refill after a FLUSHALL of 1M keys is still SoliKV's weak spot: worst SET 85 ms against 9.6 ms for KiviDB and 5.4 ms for Redis.
  • Hot-key figures are coarse: -n 20000000 finishes in 1.5–4 s on this machine, and redis-benchmark reports a duration rounded to a quarter second, hence the round numbers (10.00M, 6.15M, 5.33M) and roughly ±10% resolution.
  • Not KiviDB's own setup: its published figures (21M GET/s at pipeline 16) are with persistence off, on a 32-core Graviton server with the load generator on a second machine. This run keeps AOF on, as in the Redis comparison below, and shares one machine.

SoliKV against Redis 7.4 and Redis 8.10 (2026-10-01)

Servers: SoliKV at 49ff314 (claude/audit-fixes, default 16 shards, and --solo), Redis 7.4.11 and Redis 8.10.2, all built from source on this machine (Redis with its default jemalloc). Settings, every server: AOF on, appendfsync everysec, no RDB save points, automatic AOF rewrite at the defaults, everything else at its defaults (Redis io-threads 1). Data directories on tmpfs. Machine: AMD Ryzen 7 255 (16 threads), 27 GiB RAM, Linux 7.2; client and server on the same host over loopback. Method: three rounds alternating the four servers, a fresh server for every suite, median shown; the best value of each row in bold. redis-benchmark 7.4.2 and benches/loadgen. Reproduce with benches/versus.py (see README.md).

Versions

Server Version Flags
SoliKV solikv 0.4.3 --save ''
SoliKV --solo solikv 0.4.3 --solo --save ''
Redis 7.4 Redis 7.4.11 —
Redis 8.10 Redis 8.10.2 —

Standard commands — 50 clients, 200k ops (req/s)

Command SoliKV SoliKV --solo Redis 7.4 Redis 8.10
PING INLINE 118.3K/s 119.3K/s 119.2K/s 119.7K/s
PING MBULK 116.3K/s 120.2K/s 117.7K/s 120.0K/s
SET 117.1K/s 120.1K/s 119.8K/s 120.0K/s
GET 116.6K/s 118.3K/s 118.6K/s 120.1K/s
INCR 119.3K/s 118.5K/s 118.6K/s 119.7K/s
LPUSH 112.1K/s 119.4K/s 116.8K/s 119.7K/s
RPUSH 113.2K/s 115.4K/s 119.5K/s 119.2K/s
LPOP 115.7K/s 122.0K/s 119.1K/s 119.8K/s
RPOP 117.4K/s 118.8K/s 120.0K/s 120.3K/s
SADD 116.1K/s 119.2K/s 117.8K/s 119.8K/s
HSET 115.4K/s 119.0K/s 118.1K/s 120.0K/s
ZADD 118.6K/s 120.1K/s 119.0K/s 119.6K/s
MSET 117.8K/s 121.1K/s 118.1K/s 118.9K/s

Pipelined — P=16, 50 clients, 2M ops (req/s)

Command SoliKV SoliKV --solo Redis 7.4 Redis 8.10
SET 1.75M/s 1.56M/s 1.32M/s 1.17M/s
GET 1.75M/s 1.82M/s 1.78M/s 1.77M/s
INCR 1.73M/s 1.60M/s 1.45M/s 1.31M/s
LPUSH 1.52M/s 1.41M/s 1.22M/s 1.18M/s
SADD 1.69M/s 1.47M/s 1.73M/s 1.81M/s
HSET 1.73M/s 1.26M/s 1.10M/s 1.07M/s
ZADD 1.70M/s 1.23M/s 1.71M/s 1.65M/s

One hot key — redis-benchmark --threads 6 -c 96 -P 32 -n 20000000 (req/s)

Command SoliKV SoliKV --solo Redis 7.4 Redis 8.10
SET 3.64M/s 2.00M/s 1.54M/s 1.35M/s
GET 5.71M/s 2.76M/s 3.07M/s 3.07M/s
INCR 3.48M/s 2.05M/s 1.74M/s 1.60M/s
LPUSH 2.28M/s 1.40M/s 1.43M/s 1.35M/s
HSET 3.20M/s 1.63M/s 1.31M/s 1.27M/s
ZADD 2.96M/s 1.60M/s 2.28M/s 2.10M/s

Targeted workloads

Workload SoliKV SoliKV --solo Redis 7.4 Redis 8.10
SETBIT growing a 10 MB bitmap (100k calls) 114.0 ms 104.5 ms 131.8 ms 134.1 ms
APPEND building a 10 MB string (20k calls) 34.7 ms 23.6 ms 45.3 ms 46.5 ms
ZRANK, 200k-member sorted set 538.0K/s 607.4K/s 619.7K/s 609.7K/s
ZRANGE 10 members deep in a 200k sorted set 373.1K/s 407.6K/s 439.8K/s 437.9K/s
Full ZSCAN, 50k members 21.1 ms 21.6 ms 37.0 ms 31.0 ms
Full HSCAN, 50k fields 19.9 ms 17.4 ms 24.1 ms 20.5 ms
SINTER 100k-member set with 100-member set 73.6K/s 73.6K/s 63.1K/s 65.3K/s
SPOP until a 100k set is empty 118.6 ms 117.4 ms 151.5 ms 153.9 ms
One MSET of 10k pairs 3.92 ms 3.80 ms 3.68 ms 4.09 ms
One RPUSH of 100k elements 14.5 ms 13.4 ms 14.9 ms 14.6 ms
One DEL of 1000 keys 234 µs 204 µs 221 µs 203 µs

Latency seen by other clients

Measurement SoliKV SoliKV --solo Redis 7.4 Redis 8.10
GET p99.9 during BGSAVE (1M keys, 16 clients) 843 µs 803 µs 573 µs 745 µs
GET worst during BGSAVE 2.80 ms 18.4 ms 5.08 ms 3.41 ms
GET p99.9 while SAVE runs 774 µs 600 µs 651 µs 807 µs
GET worst while SAVE runs 80.6 ms 357.3 ms 551.1 ms 445.1 ms
SET p99.9 refilling after FLUSHALL of 1M keys 5.37 ms 14.3 ms 2.20 ms 1.95 ms
SET worst refilling after FLUSHALL 79.9 ms 62.1 ms 4.86 ms 6.03 ms
Other keys, worst, BGSAVE with a 2M-element list 4.59 ms 4.39 ms 1.30 ms 1.69 ms
Other keys, worst, BGREWRITEAOF with a 2M-element list 2.71 ms 3.26 ms 1.70 ms 2.34 ms

Housekeeping

Measurement SoliKV SoliKV --solo Redis 7.4 Redis 8.10
Expired keys still counted 3 s after 200k keys expired, idle server 0 0 0 0

Reading these numbers

  • One command at a time, a single redis-benchmark process saturates near 120K req/s before any of the servers does; the four are within noise of each other.
  • One hot key is where SoliKV's design shows: network I/O and command parsing run on every core, and only execution is serialized on the key's shard. Redis runs everything on one thread (io-threads 1, its default). SoliKV is 1.4–2.7× Redis 8.10 there; --solo, which has Redis' shape, lands at the same level as Redis. Redis' io-threads option was not tried.
  • Pipelined, the single benchmark client is again close to its limit (GET is level everywhere). SoliKV leads on SET, INCR, LPUSH and HSET; Redis leads on SADD and matches on ZADD.
  • Data structures are comparable. SoliKV is faster growing strings (SETBIT, APPEND), on full ZSCAN, SINTER and SPOP; Redis is 13–15% faster on ZRANK and 17–18% faster on deep ZRANGE than SoliKV's default mode.
  • Snapshots: Redis forks for BGSAVE and BGREWRITEAOF; SoliKV saves in steps under each shard's lock. With 1M small keys, SoliKV's worst GET during BGSAVE is the lowest of the four (2.8 ms against 3.4–5.1 ms), with p99.9 slightly higher (0.80–0.84 ms against 0.57–0.75 ms). Next to a 2M-element list, other keys of that shard see up to 4.6 ms on SoliKV against 1.3–1.7 ms on Redis. SAVE blocks every Redis client for the whole save (worst 445–551 ms here); SoliKV's SAVE holds one shard at a time in its default mode (worst 81 ms).
  • Refill after a FLUSHALL of 1M keys is SoliKV's weak spot: worst SET 62–80 ms against 5–6 ms for Redis, p99.9 5–14 ms against about 2 ms.
  • Client and server share one 16-thread CPU and the desktop was in use during the run (load average 3–6), spread evenly by alternating the servers. On a real disk, AOF-heavy numbers would be lower for every server.

Audit fixes: before and after (2026-10-01)

Before: main at 6645a90 (0.4.3). After: claude/audit-fixes at 7109ba1. Machine: AMD Ryzen 7 255 (16 threads), 27 GiB RAM, Linux 7.2; client and server on the same host over loopback. Builds: both with rbuild --faithful kv (lto = "fat", codegen-units = 1, mimalloc). Server flags (both): --bind 127.0.0.1 --appendonly true --appendfsync everysec, default 16 shards, data directory on tmpfs. Method: three rounds alternating before and after, a fresh server for every suite, median shown. redis-benchmark 7.4.2 built from source; a Go load generator for the targeted workloads.

Targeted workloads

Workload Detail Before After Speedup
Growing a bitmap with SETBIT 100k SETBITs at rising offsets, 10 MB at the end 40.96 s 105.3 ms ×389
ZRANGE by index, deep 10 members from rank 100k–190k of 200k 3.2K/s 405.5K/s ×126
Building a string with APPEND 20k appends of 512 B, 10 MB at the end 2.89 s 23.0 ms ×126
A full ZSCAN sorted set of 50k members, COUNT 100 2.59 s 20.7 ms ×125
SINTER, large with small 100k-member set with a 100-member set 0.9K/s 75.5K/s ×81
ZRANK random members of a 200k-member sorted set 7.9K/s 583.0K/s ×74
A full HSCAN hash of 50k fields, COUNT 100 698.4 ms 18.4 ms ×38
Emptying a set with SPOP 100k members, one SPOP at a time 275.6 ms 113.6 ms ×2.4
One RPUSH of 100k elements a single 1.3 MB command 15.4 ms 12.0 ms ×1.3
One MSET of 10k pairs a single 10k-pair command 4.25 ms 3.31 ms ×1.3
DEL of 1000 keys keys spread over all shards 234 µs 211 µs ×1.1

One hot key — redis-benchmark --threads 6 -c 96 -P 32 -n 20000000, AOF on

Command Before After Change Before, runs After, runs
SET 2.96M/s 3.81M/s +29% 3.08 · 2.96 · 2.22 3.81 · 3.81 · 3.81
INCR 1.40M/s 3.48M/s +148% 1.40 · 1.40 · 1.38 3.48 · 3.48 · 3.33
HSET 2.05M/s 3.33M/s +63% 2.05 · 2.05 · 2.05 3.33 · 3.33 · 3.33
ZADD 2.35M/s 3.20M/s +36% 2.86 · 2.35 · 2.35 3.20 · 3.20 · 3.20
LPUSH 3.33M/s 2.50M/s −25% 2.76 · 3.33 · 3.33 2.58 · 2.50 · 2.28

Latency seen by other clients while saving

Measurement Setup Before After
BGSAVE, worst GET 1M keys over 16 shards, 16 clients 14.1 ms 3.27 ms
BGSAVE, GET p99.9 1M keys over 16 shards, 16 clients 2.43 ms 795 µs
SAVE, worst GET other clients while SAVE runs 200.0 ms 74.2 ms
SAVE, GET p99.9 other clients while SAVE runs 2.46 ms 664 µs
BGSAVE in --solo mode, worst GET 1M keys, single-threaded engine 1.21 ms 1.51 ms
BGSAVE in --solo mode, GET p99.9 1M keys, single-threaded engine 181 µs 275 µs
Refill after FLUSHALL, worst SET 1M keys flushed, then 16 clients write 220.9 ms 88.1 ms
Refill after FLUSHALL, SET p99.9 1M keys flushed, then 16 clients write 8.66 ms 4.16 ms
BGSAVE of a 2M-element list, worst GET/LPUSH on other keys of that shard 15.7 ms 1.99 ms
BGSAVE of a 2M-element list, p99.9 GET/LPUSH on other keys of that shard 66 µs 217 µs

Expired keys still resident 3 s after 200k keys with a 200 ms TTL expired, idle server: 190,201 → 0.

Standard commands — 50 clients, 200k ops

Command Before After Change
PING INLINE 122.8K 122.2K −0.4%
PING MBULK 122.3K 121.1K −1.0%
SET 122.9K 121.1K −1.5%
GET 122.5K 122.4K −0.1%
INCR 122.1K 122.3K +0.2%
LPUSH 121.7K 122.0K +0.2%
RPUSH 122.1K 121.1K −0.8%
LPOP 123.3K 122.3K −0.8%
RPOP 122.2K 121.5K −0.6%
SADD 124.7K 121.1K −2.8%
HSET 122.3K 121.7K −0.5%
ZADD 122.5K 122.9K +0.4%
MSET 121.2K 122.6K +1.2%

Pipelined — P=16, 50 clients, 2M ops

Command Before After Change
SET 1.78M 1.78M +0.0%
GET 1.81M 1.78M −1.7%
INCR 1.70M 1.76M +3.8%
LPUSH 1.75M 1.77M +1.0%
SADD 1.80M 1.78M −1.2%
HSET 1.76M 1.79M +1.8%
ZADD 1.79M 1.77M −1.1%

Reading these numbers

  • Targeted workloads are where data structures changed: in-place strings, order-statistic sorted sets, cursor-based scans that no longer clone the collection, set operations that iterate the smallest input.
  • Standard and pipelined redis-benchmark saturate the single benchmark client before either server, so those tables show that nothing regressed, not server capacity. Differences of ±3% are noise.
  • Hot-key throughput is reported by redis-benchmark in steps of its 0.25 s timer, about 4% at 20M operations, which is why several runs repeat the same value.
  • Hot-key LPUSH is the one regression (−25%). The new server compacts its AOF automatically (--auto-aof-rewrite-percentage 100). Each rewrite must save the single 20M-element list, and writers to that key wait for it. With --auto-aof-rewrite-percentage 0 the same test measured 3.08M/s against 2.58–2.67M/s for the old server in the same session. The old server never compacted its AOF; that is also why it applied writes twice on restart.
  • --solo BGSAVE rows come from a separate run (three alternating rounds, fresh servers, scenario alone). The old server's low figures there came from a data race: block_in_place handed the only worker to a second thread while both touched the unsynchronized store. Fixed in the audit's first phase.
  • SAVE, worst GET is a single sample per run and is inflated for both servers by the scenarios that run before it on the same server. Run alone (three alternating rounds, fresh servers) it measured 2.6–2.8 ms after against 4.2–6.0 ms before, with GET p99.9 at 0.81–0.85 ms against 2.50–2.72 ms.
  • The old server had no working BGREWRITEAOF, so rewrite latency with a huge key is not compared. On the new server, the worst GET/LPUSH on other keys of that shard during a rewrite of a 2M-element list was 0.9 ms (17.6 ms in an earlier, noisier run).
  • The 2026-07-16 table below reported pipelined SET at +57% over Redis 7.0. That comparison was not like-for-like: the old server replied before its AOF bytes were written (they were only queued), while Redis writes its AOF buffer before replying.
  • Cluster mode, replication and TLS throughput were not measured.

To reproduce: python3 benches/compare.py BEFORE AFTER results/ then python3 benches/report.py results/. See README.md for requirements.


Historical: 0.4.1 vs Redis (2026-07-16)

Date: 2026-07-16
Machine: AMD Ryzen 7 255 (16 threads), 27 GiB RAM, Linux x86_64
Tooling: redis-benchmark (Redis 7.0.15 package), oha
Builds: cargo build --release (SoliKV 0.4.1) vs Redis 7.0.15

Configuration

Server Port Persistence
SoliKV 6390 (RESP), 5030 (REST) AOF on, appendfsync everysec
Redis 6381 AOF on, appendfsync everysec, RDB save disabled

Both bound to 127.0.0.1. Warmup: 50k SET+GET before measurement.

Standard commands — 200k ops, 50 clients

Command SoliKV+AOF Redis 7.0+AOF Delta
PING 109K req/s 108K req/s +0.6%
SET 106K req/s 108K req/s −1.5%
GET 108K req/s 108K req/s +0.8%
INCR 108K req/s 108K req/s tied
LPUSH 108K req/s 108K req/s −0.5%
RPUSH 108K req/s 108K req/s −0.6%
LPOP 108K req/s 109K req/s −0.5%
RPOP 109K req/s 108K req/s +0.4%
SADD 108K req/s 108K req/s −0.6%
HSET 107K req/s 108K req/s −1.0%
ZADD 108K req/s 108K req/s +0.2%
MSET (10 keys) 108K req/s 105K req/s +2.3%

Exact rps (from redis-benchmark -q):

SoliKV: PING 108637  SET 106045  GET 108460  INCR 107759
        LPUSH 107933 RPUSH 107701 LPOP 108284 RPOP 108578
        SADD 107817  HSET 107066  ZADD 108108  MSET 107585

Redis:  PING 107991  SET 107701  GET 107643  INCR 107759
        LPUSH 108460 RPUSH 108342 LPOP 108873 RPOP 108167
        SADD 108460  HSET 108167  ZADD 107875  MSET 105208

Pipeline — P=16, 500k ops, 50 clients

Command SoliKV+AOF Redis 7.0+AOF Delta
SET 1.60M req/s 1.02M req/s +57%
GET 1.63M req/s 1.62M req/s +1.0%
SoliKV: SET 1602564  GET 1633987
Redis:  SET 1020408  GET 1618123

Sustained load — 1M SET, 50 clients

Metric SoliKV+AOF Redis 7.0+AOF
Throughput 108K req/s 108K req/s
p50 latency 0.239 ms 0.239 ms
p99 latency 0.447 ms 0.447 ms
max latency (200k sample) 8.3 ms 0.66 ms

REST API — oha, 10s, keep-alive

Operation Connections Throughput
GET /kv/:key 100 485K req/s
PUT /kv/:key 100 449K req/s
PUT /kv/:key 200 489K req/s

How to reproduce

# Build
cargo build --release -p solikv-server

# SoliKV (AOF everysec)
./target/release/solikv \
  --bind 127.0.0.1 --port 6390 --rest-port 5030 \
  --dir /tmp/solikv-bench --appendonly true --appendfsync everysec \
  --protected-mode no

# Redis (AOF everysec, no RDB)
redis-server --port 6381 --bind 127.0.0.1 --dir /tmp/redis-bench \
  --appendonly yes --appendfsync everysec --save "" --protected-mode no --daemonize yes

# RESP suite
./scripts/bench_compare.sh 50 200000 6390 6381

# REST
env -u NO_COLOR oha -z 10s -c 100 --no-tui http://127.0.0.1:5030/kv/benchkey

vs Redis 8.6.2 (2026-07-16, same host)

SoliKV release vs redis:8-alpine (host network, AOF everysec both sides, RDB disabled).
50 clients; standard n=200k; pipeline P=16 n=500k.

Standard commands

Command SoliKV Redis 8.6.2 Delta
PING 109K 107K +1.8%
SET 108K 109K −1.4%
GET 108K 108K +0.5%
INCR 109K 110K −0.7%
LPUSH 107K 109K −2.6%
RPUSH 106K 110K −3.1%
LPOP 107K 109K −2.1%
RPOP 107K 110K −2.4%
SADD 107K 108K −1.3%
HSET 107K 110K −2.6%
ZADD 106K 108K −1.8%
MSET (10 keys) 105K 106K −0.6%

Exact rps:

SoliKV:  PING 108519 SET 107759 GET 108225 INCR 108814
         LPUSH 106667 RPUSH 106157 LPOP 106781 RPOP 107181
         SADD 106724 HSET 106895 ZADD 106440 MSET 105430

Redis8:  PING 106610 SET 109290 GET 107643 INCR 109589
         LPUSH 109469 RPUSH 109529 LPOP 109111 RPOP 109769
         SADD 108167 HSET 109769 ZADD 108342 MSET 106101

Pipeline (P=16)

Command SoliKV Redis 8.6.2 Delta
SET 1.56M 0.87M +80%
GET 1.59M 1.55M +2.9%
SoliKV: SET 1562500  GET 1592357
Redis8: SET  869565  GET 1547988

Sustained 1M SET

SoliKV Redis 8.6.2
Throughput 108K req/s 110K req/s (−1.5%)

Takeaways vs Redis 8 (multi-shard default)

  • Single-command path: Redis 8 is slightly ahead on most writes (~1–3%); still within noise for many ops.
  • Pipeline SET: SoliKV remains far ahead (~+80%); Redis 8’s pipelined write path did not close that gap vs Redis 7 on this machine.
  • Pipeline GET: essentially tied (+3%).
  • Docker port-publish (bridge NAT) understates Redis 8; use --network host for fair loopback benches.

vs Redis 8.6.2 — solo mode (--solo)

Solo mode is Redis-shaped: 1 shard, no mutex, 1 Tokio worker. Best match for classic redis-benchmark (single-core fight).

Config: SoliKV --solo + AOF everysec; Redis 8 host-net + AOF everysec. 50 clients, 200k ops (standard), P=16 500k (pipeline). Date 2026-07-17.

Workload SoliKV --solo Redis 8.6.2 Delta
PING 103K 98K +5%
SET 103K 102K +0.8%
GET 102K 104K −1.7%
INCR 103K 112K −9%
Pipeline SET (P=16) 1.45M 0.93M +56%
Pipeline GET (P=16) 1.60M 1.61M ~tie

Without AOF (cache mode), solo SET/GET matched Redis 8 exactly at ~105K on this host.

./target/release/solikv --solo --bind 127.0.0.1 --port 6390 \
  --appendonly true --appendfsync everysec --protected-mode no --dir /tmp/solo

Notes

  • Standard single-command throughput is network/client bound for both servers (~108K with 50 clients on this host); differences of ±2–3% are often noise.
  • Pipeline SET is where SoliKV’s batch fast-path shows up (large win vs Redis 7 and Redis 8).
  • SoliKV max latency can spike higher on long SET runs (AOF/expiry under the shard mutex); p50 is competitive.
  • Re-run after hardware or version changes; do not treat absolute req/s as portable across machines.