Back to Blog

Inside the Parallel Execution Engine

10 min read

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

  1. Pre-fetch accounts declared in transaction access lists.
  2. Execute all transactions speculatively across worker threads.
  3. Validate read sets in block order and schedule re-executions.
  4. 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
NEWSLETTER

Signal, not noise

One email a month with protocol releases, research, and governance highlights. Unsubscribe anytime.

We never share your email. No spam, ever.