Throughput numbers are easy to inflate in a lab. Our target was different: sustain high throughput on hardware a solo validator can afford, under realistic contention. This post explains the three ideas that got us to 48,000 TPS on a 16-core machine with 64GB of RAM.
Optimistic concurrency control
Every transaction in a block is executed speculatively in parallel against a multi-version state store. Reads and writes are tracked per transaction. When a transaction reads a value later overwritten by a lower-indexed transaction, it is re-executed. In practice fewer than 4% of transactions need a second pass, even during popular token launches.
A state cache built for hot accounts
- Pre-fetch accounts declared in transaction access lists.
- Execute all transactions speculatively across worker threads.
- Validate read sets in block order and schedule re-executions.
- Commit the final write set and compute the state root incrementally.
kronos-node bench
--workload mainnet-replay
--blocks 18000000..18010000
--threads 16
--report ./bench-report.json