BR Academy
0%
Solana Architecture and How It Works·Lesson 6 of 43·11 min

Architecture Overview

The concept

Solana’s architecture is a single public ledger, often called a cluster, in which a rotating set of validators produce and vote on blocks, and in which programs (smart contracts) and user data live as accounts in one global state. “Architecture” here means the parts and the path a transaction takes, not a promise about speed. You will meet the performance claims in a later lesson in this module; this lesson is the map.

Start with accounts. On Solana, almost everything is an account: a user’s SOL balance, a token account, a program’s executable bytecode, and the data a program stores. Accounts have an address, an owner (usually a program), a lamport balance (the native unit; one SOL is 1,000,000,000 lamports), and a data blob. Programs are accounts marked executable. This is different from Ethereum’s model, where contract code and storage are packed into a single contract object. The split matters because a Solana transaction must declare, in advance, which accounts it will read or write. The runtime, often discussed under the name Sealevel, uses those declarations to decide which transactions can execute in parallel (their writable sets do not overlap) and which must be serialized.

A transaction is a signed message. It typically includes one or more signatures, a recent blockhash (so it cannot be replayed forever), and one or more instructions. Each instruction names a program and the accounts that instruction will use. There is also a compute budget: programs consume compute units, and a transaction that exceeds its budget fails. Fees and priority fees, which you will study in Modules 3 and 4, attach to this structure; they are not a separate “gas VM” in the Ethereum sense, but they are still a scarce-resource mechanism.

The path from wallet to block looks like a pipeline, and official technical writing uses names for the stages. A user signs in a wallet and submits to a node, usually an RPC (remote procedure call) node rather than a consensus validator. Gulf Stream is the idea that transactions can be forwarded to the upcoming leader before they sit in a large public mempool. The current leader sequences transactions, runs them, and produces a block (an entry or entries tied to a slot). Turbine is the block-propagation protocol: the block is broken into shreds and fan-out to the rest of the validator set, more like a tree than like every validator downloading the full block from one place. Other validators replay the block, vote, and the cluster moves forward under the consensus rules you will study next (Proof of History as a clock, Tower BFT as the voting rule). Storage of the accounts database has been discussed under names such as Cloudbreak; historical ledger data has been discussed under archiver or ledger-tool roles. You do not need to memorize every code name on the first pass. You do need the order: sign and declare accounts, route to a leader, execute, propagate, vote, persist.

Around that core sit several participant types. Consensus validators hold (or are delegated) stake and vote. RPC nodes serve wallets and applications and may or may not vote. Application teams run programs and often their own RPC or indexer infrastructure. Explorers and indexers reconstruct history in a form humans and companies can query. No single company “is” the network, but operations can still concentrate on a few clients, a few RPC providers, or a few large stake pools—the architectural map should show those chokepoints as well as the happy path.

Two practical facts complete the overview. First, Solana addresses are 32-byte public keys, usually shown as base58 strings; they are not Ethereum’s 0x-prefixed addresses, and the two are not interchangeable. Second, the official validator client lineage most operators have run was associated with Solana Labs and later with Anza under the Agave name; a second implementation, Firedancer, has been developed by Jump Crypto to improve performance and client diversity. “The software” is therefore not a single eternal binary. When you read a blog post, check which client and which version it is talking about.

Worked example

Trace one ordinary transfer of SOL from Alice to Bob, and label each hop with the architectural part that handles it.

1. Alice’s wallet builds a transfer instruction for the System Program,
   listing Alice’s account (writable, signer) and Bob’s account (writable).
2. The wallet sets a recent blockhash and Alice signs. The transaction
   now has a declared account list — the runtime can already see that
   this transfer does not write to, say, a particular DEX pool.
3. The wallet sends the transaction to an RPC endpoint, not necessarily
   to a consensus validator she operates.
4. The transaction is forwarded toward the current or upcoming leader
   (Gulf Stream in the design documents).
5. The leader executes the transfer, debiting Alice and crediting Bob
   if the signature, balance, and blockhash checks pass, within the
   compute budget.
6. Shreds of the block propagate via Turbine. Other validators replay
   and vote. After the cluster accepts the slot, explorers show a
   signature and a slot number Alice can check.

Now add one conflict: at the same moment, Carol submits a swap that also needs to write Alice’s token account. The runtime cannot treat Carol’s swap and Alice’s transfer as fully independent if they share a writable account. The architecture’s parallelism is real, but it is conditional on declared, non-overlapping writes. That condition is the whole point of the account-declaration model.

A second mini-example is a failed submit. If Alice’s RPC node is down, the cluster may still be producing blocks; she has an access failure, not necessarily a consensus failure. If the leader or the cluster itself is halted, explorers stall for everyone. Architecture literacy is being able to tell those two failures apart.

Exercise

Draw a one-page architecture diagram and annotate it:

  1. Show wallets, RPC nodes, a leader validator, other voting validators, and an explorer or indexer.
  2. On the path of a transaction, label where account declaration, signature checks, execution, shred propagation, and voting happen. Use official names (Sealevel, Gulf Stream, Turbine) only where you can point to a technical source.
  3. Add a side box: “what this diagram does not guarantee” (uptime, a particular transactions-per-second figure, or a particular fee).
  4. Write five sentences contrasting a Solana account (data + owner + lamports) with an Ethereum-style contract object, and state why a transaction must declare its accounts up front.

Do not invent performance numbers. If you cite a slot time or a client name, add a date and a URL.

Recap

  • Solana’s core architecture is a single account-based state machine: programs and data are accounts, and transactions must declare the accounts they touch so the runtime can schedule work, including parallel work when writes do not overlap.
  • A transaction travels from a wallet through RPC and leader execution, then is propagated and voted on by validators; named stages such as Gulf Stream and Turbine describe parts of that pipeline.
  • Client software (Agave and others such as Firedancer), RPC providers, and explorers are part of the operational map and can fail independently of the mental model of “the chain.”

Resources