Skip to content

Benchmarks ​

What kernable's own measurements found, with the scripts that make them (bench/ in the repository) and their full results. Every number depends on the machine: measure on your own before you size anything.

Backup and restore ​

From continuous backup.

Measured with bench/backup-drill.sh on a 2-core cloud server, the backup in object storage in the same region (results in bench/results-2026-11-07-backup-drill.txt): a kernel on a store of 200,000 commands takes 200 commands a second, and at a random moment the kernel, the follower and the clients are killed together.

Segments every 5 sSegments every 1 s
Commands stored but not in the backup126 (0.6 s); 759 (3.8 s) in another run127 (0.6 s)
Restore of about 206,000 events, 250 MB, verify included63 s68 s
From the restore's start until a kernel on it answers64 s69 s

A store five times as large (1,006,043 events, 1.17 GB) lost 559 commands (2.8 s) and was back after 319 s: the way back grows with the store, about linearly. So the point in time a restore reaches is at most --segment-seconds and an upload behind the loss. The restore's time grows with the store: most of it goes to applying the records and checking every signature (on every core).

A standby ​

From Run a standby.

Every write waits for one more round trip: to the standby, its own flush, and back. Measured on one Apple M2 Max with both kernels on the same machine and disk, a Rust worker, 1 KB payloads, wait: committed (bench/replication.sh, results in bench/results-2026-11-03-m2max-replication.txt):

Store, durabilityAlone, 1 clientWith a standby, 1 clientAlone, 64 clientsWith a standby, 64 clients
SQLite, full167/s84/s3,094/s659/s
SQLite, full, standby normal161/s153/s3,042/s2,018/s
SQLite, normal2,823/s1,702/s7,154/s4,090/s

With full durability on one disk, the two kernels' flushes queue behind each other; the row with a normal standby shows the cost without that, which is closer to two machines with their own disks. Measure on your own machines before you size them.

Partitions ​

From Share tenants across kernels.

Every partition commits on its own, so throughput grows with partitions on machines of their own. Measured on one Apple M2 Max (12 CPUs, one SSD), where every partition also brings its worker and a load generator of 64 clients, so all of them share the same CPUs and disk (bench/partitions.sh, results in bench/results-2026-11-03-m2max-partitions.txt):

Store, durability1 partition234
SQLite, normal7,008/s10,279/s11,820/s12,287/s
SQLite, full3,052/s3,042/s3,675/s4,062/s

On one machine, two partitions give about 1.5 times one; beyond that the shared CPUs and disk are the limit, not kernable. Measure your own machines.