Server results
Whole-stack results of the server suite over loopback TCP, with the dates and the changes between runs.
The server suite (net.rs) starts raftdb-server and drives it over loopback TCP with 4 clients and 4 shards. Source of all rows: the project's benchmark results log. Machine: Windows 11 dev PC, 12 logical CPUs, rustc 1.93.0, release build. Clients and server share the machine.
| Date | Run | Durable inserts | Point reads | Other |
|---|---|---|---|---|
| 2026-11-09 | 400k docs, windows of 512 | 1.21M/s (target 300k) | 5.56M/s (target 2M) | throughput only, no latency percentiles |
| 2026-11-09 | filters, 1M docs | 0.94-1.29M/s | 4.5-5.8M/s | filter count scan 57.2M docs/s (target 50M); page of 100 as JSON 2,178/s |
| 2026-11-09 | index, 1M docs | - | - | create ordered index 40 ms; {"id":N} 163/s by scan, 12,696/s through the index (78x; target 10k/s) |
| 2026-11-09 | sorted, 1M docs | - | - | ORDER BY age DESC, _key LIMIT 100 24.8/s (target 20); ORDER BY _key LIMIT 100 OFFSET 500000 1.09/s |
| 2026-11-11 | after D66 (table behind a read-write lock, reads on the connection's thread) | 2.08M/s | 4.95M/s | indexed point query 15.8k/s; sorted top-100 23.7/s; scan 56.6M docs/s; JSON page of 100 2,099/s |
| 2026-11-11 | after D68 (look before a blocking receive; system allocator) | 1.99M/s | 4.30M/s | indexed point query 17.7k/s; sorted top-100 22.4/s; scan 88.3M docs/s; JSON page of 100 2,114/s |
All targets passed in the 2026-11-11 runs: durable inserts 300k, point reads 2M, indexed point query 10k/s, sorted top-100 20/s, filter count scan 50M docs/s. The sorted top-100 is close to its target (22.4 against 20).
The scan figure moves from run to run on this machine (56.6M and 88.3M docs/s on the same suite two runs apart on 2026-11-11; 37.2M and 40.5M in earlier versions). Treat a single figure as a range.
In-process time of the MySQL front-end's reads (2026-11-11)#
The filterbench measurement of raftdb-mysql, no socket, allocation cache against system allocator:
| Operation | Before | After |
|---|---|---|
| key read | 0.83 us | 0.15 us |
| count over an index range of 60 rows | 24.1 us | 12.5 us |
| page of those 60 documents | 50.4 us | 16.5 us |
| page of 51 rows by a range of the key | 32.9 us | 10.7 us |