Deep dive into our decision to build natively on Solana V4 and how it enables sub-millisecond execution.
The Latency Problem
In cryptocurrency trading, milliseconds matter. The difference between a profitable arbitrage opportunity and a missed trade often comes down to execution speed. When we analyzed our trading performance on standard Solana infrastructure, we found that 60% of our failed trades were due to latency — not strategy quality.
Why Standard RPC Isn't Enough
Most Solana applications interact with the blockchain through RPC (Remote Procedure Call) nodes. While this is perfectly adequate for DeFi applications, wallet interactions, and NFT marketplaces, it introduces several layers of latency that are unacceptable for high-frequency trading.
The standard RPC flow involves JSON serialization, HTTP transport, queue processing, and response deserialization — each adding precious milliseconds to the round trip.
Our V4 Native Approach
Instead of going through the RPC layer, we built our execution engine to communicate directly with Solana V4 validators using the native wire protocol. This eliminates multiple serialization steps and network hops.
Key technical decisions:
Direct TPU Communication
We maintain persistent UDP connections to validator Transaction Processing Units (TPUs), bypassing the RPC entirely for transaction submission.
Pre-compiled Transaction Templates
For common trading operations, we pre-compile transaction templates at startup. When an execution signal arrives, we only need to fill in the variable parameters (price, amount, accounts) rather than constructing the entire transaction from scratch.
Predictive Leader Schedule
By maintaining our own copy of the leader schedule and predicting upcoming leaders, we can route transactions to validators just before they begin producing blocks.
The Results
The performance improvements were dramatic: median execution latency dropped from 340ms to 18ms, and our trade success rate increased from 87% to 99.2%. More importantly, our strategy capture rate — the percentage of identified opportunities we successfully execute — improved from 34% to 91%.
What's Next
We're currently working on even deeper integration with Solana V4's new features, including native account compression for more efficient state management and parallel transaction processing for multi-leg trades.


