Appearance
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 s | Segments every 1 s | |
|---|---|---|
| Commands stored but not in the backup | 126 (0.6 s); 759 (3.8 s) in another run | 127 (0.6 s) |
| Restore of about 206,000 events, 250 MB, verify included | 63 s | 68 s |
| From the restore's start until a kernel on it answers | 64 s | 69 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, durability | Alone, 1 client | With a standby, 1 client | Alone, 64 clients | With a standby, 64 clients |
|---|---|---|---|---|
SQLite, full | 167/s | 84/s | 3,094/s | 659/s |
SQLite, full, standby normal | 161/s | 153/s | 3,042/s | 2,018/s |
SQLite, normal | 2,823/s | 1,702/s | 7,154/s | 4,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, durability | 1 partition | 2 | 3 | 4 |
|---|---|---|---|---|
SQLite, normal | 7,008/s | 10,279/s | 11,820/s | 12,287/s |
SQLite, full | 3,052/s | 3,042/s | 3,675/s | 4,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.
