Skip to Content
PerformanceBenchmarks & Comparisons

KalamDB Benchmarks & Comparisons

KalamDB is built for fast SQL and realtime application state. This is the home for measured throughput, latency, regression reports, and comparisons with other databases. Every result belongs to a particular workload, version, and machine.

Published KalamDB performance

The existing same-machine comparison with TrailBase and PocketBase measured KalamDB on an Apple M5 Pro with 24 GB RAM and concurrency 16:

WorkloadKalamDB resultHow to interpret it
1,000,000 HTTP point reads17.331 seconds, about 57,700 reads/sAggregate throughput, calculated as operations divided by elapsed time
100,000 individual HTTP inserts6.377 seconds, about 15,700 inserts/sOne HTTP operation per row; no multi-row batching
Point-read p95349 microsecondsTail latency reported for this particular run

These are the published August 14, 2026 results for KalamDB v0.5.6-rc.0, not a measurement of the current release. KalamDB had the fastest total point-read time in that run; TrailBase had the fastest insert time. The comparison used different public APIs and authorization paths, including DBA access for KalamDB. Read the full methodology and fairness limits alongside the numbers.

SQL throughput and realtime scaling

Live queries push changes instead of repeatedly polling. Multi-Raft clustering distributes shard leadership and serves subscriptions across nodes. These mechanisms support scalable application workloads, but SQL requests per second, committed writes per second, and subscriber deliveries per second are different measurements.

A realtime result should report subscriber count, fan-out, payload size, filter/RLS shape, initial-snapshot time, change-delivery latency, reconnect behavior, CPU, and memory over the entire run. The HTTP point-read result above does not establish a realtime fan-out limit. Publish a measured realtime report here when that workload has been run.

Benchmark reports

Synced benchmark HTML reports

These links point to the exact copied HTML reports served from this site under /benchmark/results. The table keeps the newest synced report per KalamDB version.

VersionRun atPassed/TotalDurationDeltaHTML report
0.5.6-rc.0Aug 14, 2026, 4:41 PM
UTC
38/38
All benchmarks passed
3m 41s
Measured Benchmark Time: 221,106 ms
3.5% slower
vs 0.5.3-rc.1
Open HTML report
/benchmark/results/bench-2026-08-14-164101-0-5-6-rc-0.html
0.5.3-rc.1Jun 17, 2026, 1:16 PM
UTC
38/38
All benchmarks passed
3m 34s
Measured Benchmark Time: 213,668 ms
8% faster
vs 0.5.2-rc.1
Open HTML report
/benchmark/results/bench-2026-06-17-131609-0-5-3-rc-1.html
0.5.2-rc.1Jun 2, 2026, 5:23 PM
UTC
38/38
All benchmarks passed
3m 52s
Measured Benchmark Time: 232,156 ms
2.3% faster
vs 0.4.3-rc.4
Open HTML report
/benchmark/results/bench-2026-06-02-172356-0-5-2-rc-1.html
0.4.3-rc.4May 5, 2026, 2:50 PM
UTC
38/38
All benchmarks passed
3m 58s
Measured Benchmark Time: 237,663 ms
5.7% faster
vs 0.4.2-rc.3
Open HTML report
/benchmark/results/bench-2026-05-05-145041-0-4-3-rc-4.html
0.4.2-rc.3Apr 26, 2026, 6:40 PM
UTC
38/38
All benchmarks passed
4m 12s
Measured Benchmark Time: 252,149 ms
15.5% faster
vs 0.4.2-rc1
Open HTML report
/benchmark/results/bench-2026-04-26-184014-0-4-2-rc-3.html
0.4.2-rc1Apr 11, 2026, 4:19 PM
UTC
38/38
All benchmarks passed
4m 59s
Wall Clock Duration: 298,543 ms
62% faster
vs 0.4.1-beta
Open HTML report
/benchmark/results/bench-2026-04-11-161937-0-4-2-rc1.html
0.4.1-betaMar 13, 2026, 1:18 PM
UTC
37/37
All benchmarks passed
13m 6s
Wall Clock Duration: 785,950 ms
9.3% slower
vs 0.3.0-alpha2
Open HTML report
/benchmark/results/bench-2026-03-13-131845-0-4-1-b.html
0.3.0-alpha2Feb 24, 2026, 6:42 PM
UTC
35/37
2 failed
11m 59s
Wall Clock Duration: 719,244 ms
No baseline
Oldest listed run
Open HTML report
/benchmark/results/bench-2026-02-24-184201-0-3-0-a2.html

Each row links to a saved HTML artifact. The version and timestamp identify the run; passed/total and duration describe that suite. Duration deltas are meaningful only when the workload, hardware, and configuration are comparable. Open the artifact to inspect individual measurements rather than treating total suite duration as QPS.

Reproduce a comparison

The comparison harness lives in benchv2/comparison in the KalamDB repository:

BASH
cd KalamDB/benchv2/comparison./scripts/download-binaries.sh./scripts/run-all.sh

Follow the complete comparison instructions, including run-order rotation. Record the exact server and harness revisions, data sizes, transport, concurrency, durability, authentication, RLS, storage tier, and hardware. Keep failures and recovery periods in the reported time series.

Publish a new result

For internal benchmark HTML/JSON artifacts, the site has a synchronization command:

BASH
# From the KalamSite checkout; reads ../KalamDB/benchv2/resultspnpm sync:benchmarks

Review the resulting artifact changes before publishing: synchronization replaces the site’s benchmark-results directory with that source set. Preserve historical reports in the source directory first. The report table discovers the saved artifacts.

For a new comparison, add a methodology-and-results page under the benchmarking section, link it from this hub, and include raw artifacts and reproduction commands. Publish successes and tradeoffs: repeated runs, median and tail latency, throughput, memory, and errors are more useful than a single fastest number. Do not imply a comparison with PostgreSQL or another database until that system has actually been measured under the stated conditions.

Next step

Read the database comparison →

Reference: Query planning and EXPLAIN.