Performance

Performance overview

How Raft DB numbers are produced and reported, and a map of the performance pages.

Raft DB is built against numeric targets: a target is a number a suite must reach (for example "at most 16 bytes of overhead per hash table entry", "at least 300,000 durable inserts per second"). Target thresholds live in raftdb-core::targets, so the harness and the requirements cannot drift apart. A failed target is reported as failed and the design is fixed; the target is not moved.

Pages#

PageAnswers
How it was measuredthe method and the result files
The benchmark suiteswhat each of the 15 suites asks and its target
Engine resultsdated results of the engine suites
Server resultswhole-stack results over loopback TCP
Comparison on WindowsYCSB against MongoDB, MySQL, PostgreSQL and SQLite
Comparison on LinuxYCSB against PostgreSQL and MySQL on a Linux server
MySQL front-end against MySQLJDBC measurements of the MySQL protocol front-end
Studio speedfile viewer measurements
Tuningthe settings that change speed
Reading the numbers honestlyrules, caveats and what is not measured

Reading any number here#

Every number names its source. Most are development numbers from one Windows 11 PC (12 logical CPUs, rustc 1.93.0, release build) unless a page says another machine. The targets are to be re-run on a Linux reference machine, which is an open item. Numbers from one run are not a promise about your hardware.