Performance

Reading the numbers honestly

The rules behind Raft DB's published numbers and a list of what is not measured yet.

Rules#

  1. Report the host, the Rust version and the commit with every number. The result JSON of each run contains them.
  2. Use percentiles for latency, not only averages, and data larger than the cache for scans.
  3. A target that fails is reported as failed and the design is fixed; the target is not moved.
  4. Compare with other databases on the same machine with published scripts. The harness is Raft DB's own and is not part of the download; the raw results are kept by the project and are not published here.

Caveats that apply to the comparisons#

  • One run per cell and no variance; differences under about 15 % are noise.
  • Clients and servers share the CPU of one machine.
  • Other databases ran with default settings (MySQL and PostgreSQL buffer of 128 MB); a tuned comparison is future work.
  • SQLite runs inside the benchmark process, so its read figures are not comparable.
  • The PostgreSQL and MongoDB columns of the second Windows table were not re-measured.
  • The MySQL version differs between the Windows (9.7.1) and Linux (8.4.6) runs.

Not measured yet#

  • Targets on the Linux reference machine (open item).
  • Latency percentiles of the server suite (throughput only so far).
  • CPU, memory and disk bytes per operation; thread sweeps; data larger than memory; kill-and-restart durability under load.
  • A key-range scan in the YCSB binding for Raft DB (workload E).
  • The Studio's launch time, download size and 10 million row scroll targets.

Where numbers can go stale#

The results log is dated. Later commits changed the numbers (for example the server suite on 2026-11-09 against 2026-11-11). When a page here and the project's benchmark records disagree, the records are the source.

See also#