MEME LAUNCHPAD // Solana Mainnet
All articles Solana

The Machinery Behind Solana's Speed

Proof of history, parallel execution and a block propagation trick borrowed from file sharing - plus the costs nobody advertises.

Every blockchain has the same awkward job. A few thousand computers that do not know or trust each other have to agree, over and over, on a single ordered list of what happened. Almost all of the engineering in this field is really about the word ordered.

Solana's answer is unusual because it refuses to treat that as one problem. Ordering, agreement, distribution and execution are pulled apart and each is given its own mechanism. Looked at as a single system it seems like a magic trick. Looked at as four separate machines it is fairly easy to follow.

A clock nobody can fake

Proof of History is the part everyone has heard of and almost nobody describes correctly. It is not a consensus mechanism. It is a clock.

The idea is simple to the point of feeling like a cheat. Take a hash function and feed its output back into itself, endlessly. Because each hash depends on the one before it, the sequence cannot be computed in parallel and cannot be skipped ahead. If someone shows you a long run of those hashes, they have shown you that a certain amount of real computation, and therefore real time, has passed. Transactions get stamped into that sequence as it is produced, so the order of events is recorded inside the data structure rather than negotiated afterwards.

In a conventional design, validators exchange messages to agree on what came first, with rounds and timeouts and all the latency that implies. Here the current leader generates the sequence and everyone else verifies it, and verification splits across cores even though generation cannot. Consensus still sits on top, a stake-weighted voting protocol in the Byzantine fault tolerant tradition, but it argues about which fork to follow rather than about what time it is.

Proof of History is not consensus. It is a clock that no participant can lie about, which turns out to be most of the argument.

Say what you intend to touch

The second mechanism is execution. On most chains, transactions run one at a time because the network cannot know in advance which pieces of state a transaction will read or write. That is discovered only as the code executes, so running two side by side risks both quietly editing the same thing.

Solana requires every transaction to declare its accounts up front, and to mark which of them it intends to write to. This is why Solana transactions look verbose compared with their equivalents elsewhere. The payoff is that the scheduler can inspect a batch, see which transactions overlap and which do not, and hand the non-overlapping ones to different processor cores at the same time. Two people trading unrelated assets have no reason to queue behind each other, so they do not.

Declaring accounts in advance is also what makes local fee markets possible. Congestion around one very popular account can be priced on its own instead of taxing everything else happening that second.

Getting the block to everyone

A fast block is useless if it cannot reach the network in time. Three further pieces address that.

  • Turbine breaks a block into small pieces and sends each piece to a different subset of validators, who relay onward in a tree. The structure is closer to file sharing than to broadcasting, and it means the leader's outbound bandwidth does not have to grow with the number of participants.
  • The leader schedule is known ahead of time, derived from stake, so clients can push transactions straight at the validator that is about to lead rather than into a large shared waiting room. There is no classic global mempool sitting between users and the block.
  • The validator itself is built as a pipeline. Fetching, signature verification, execution and commitment run as stages of an assembly line, in the same spirit as a processor pipeline, so no part of the hardware sits idle waiting for another.

The bill for all of this

None of it is free, and the costs are structural rather than incidental. High throughput plus fast propagation means validators need serious hardware and serious bandwidth, which raises the floor on who can participate independently. Concentration of validators in a small number of hosting providers and regions is a live concern, and one the ecosystem argues about openly.

The network has also had periods of degraded performance and outright halts, generally caused by resource exhaustion when demand spiked in ways the fee mechanism did not absorb. Restarting after a halt requires operators to coordinate with each other, a useful reminder that the social layer is part of the system rather than an embarrassing footnote to it. Much of the work of recent years, on fee markets, transaction admission, stake-weighted quality of service and a second independent validator implementation, has been aimed at that class of failure. Whether it is solved is not something anyone can honestly claim, because the answer only appears under conditions nobody has scheduled.

One last piece of hygiene. Headline transactions per second figures deserve suspicion on every chain, and here in particular, because validators publish votes as ordinary transactions. Counting those inflates the number enormously without describing anything a user experiences. The interesting question was never how many rows fit in a ledger. It is whether a person doing something ordinary gets a confirmation before they lose interest, and how much of the design has to hold together for that to keep being true.