Changelog
Previously, the validator’s transaction processing was single-threaded (a known limitation in earlier versions like the Luzid demos), effectively bottlenecking execution to a single CPU core regardless of the hardware available. This release removes that constraint, unlocking significant performance gains for high-throughput applications like ephemeral rollups and on-chain gaming.
Key Feature: Multi-Threaded Scheduler* PR: #589 by @bmuddha
- What it does: The validator can now execute multiple transactions simultaneously across available CPU cores. Instead of processing transactions strictly one by one (serial execution), the scheduler identifies independent transactions—those that do not touch the same account states—and schedules them to run in parallel.
- Technical Impact:
- Parallelism: Leveraging the underlying SVM (Solana Virtual Machine) capabilities, the scheduler manages Read/Write locks on accounts. Transactions acting on different accounts (e.g., two different players moving in a game) are no longer blocked by each other.
- Throughput (TPS): Drastically increases the potential Transactions Per Second (TPS) by utilizing the full compute power of the host machine.
- Latency: Reduces queue times during high-load scenarios, as the validator can clear the mempool much faster.
Full Changelog: v0.4.2...v0.5.0