Book a free call

How Is Solana Put Together? A Look at Its Architecture

Solana's speed comes from its architecture: a clock built into the chain, parallel processing and a clear split between code and data. Here is how the parts fit.

Hertiv engineering teamReviewed by a senior engineer
7 min read
How Is Solana Put Together? A Look at Its Architecture
On this page

Short answer

Solana's architecture is a set of parts that work together to order and confirm transactions fast: validators run the network, proof of history stamps each transaction with a time, and a parallel runtime executes transactions that do not touch the same accounts. Programs hold the code while separate accounts hold the data, and apps reach the network through RPC nodes that read and write the ledger.

What is Solana's architecture?

Solana's architecture is the design of a public blockchain built for many small transactions at low cost. It splits the work of a blockchain into separate parts — ordering, voting, execution, storage and access — so each part can be fast on its own instead of waiting on the others.

The parts fit together in layers. Validators run the software and agree on the order of transactions. A built-in clock called proof of history stamps each transaction with a time. A parallel runtime runs transactions that do not touch the same accounts at the same time. Programs hold the code, and accounts hold the data. Apps reach all of this through RPC nodes.

LayerWhat it does
ConsensusProof of history and proof of stake order and confirm blocks
ExecutionSealevel runs transactions in parallel when accounts do not overlap
NetworkTurbine and Gulf Stream move blocks and transactions between validators
StorageAccounts hold program data, balances and ownership records
AccessRPC nodes are the doorway apps use to read and write the chain

The split matters because each layer can change without rebuilding the rest. A team can improve how blocks spread without touching how programs run, and a new app can read the chain without running a validator. The rest of this guide walks through each layer in turn.

How do validators and clusters fit together?

Validators are computers that run Solana's software, vote on blocks and keep a copy of the ledger. Anyone can run one, but the hardware bar is high: a validator needs a fast processor, plenty of memory and a reliable connection, because it must keep up with a chain that produces a new block about every 400 milliseconds.

Validators work in clusters, which are separate copies of the network. Mainnet is the live network where real value moves. Devnet and testnet are test networks where developers try code with tokens that have no value. A program tested on devnet must be deployed separately to mainnet, and the two never share state.

A leader schedule decides which validator builds each block. Validators take turns as leader for short slots, and the rest vote on the block the leader proposes. Voting weight comes from stake: SOL holders delegate tokens to a validator, and the validator's vote counts in proportion to its stake. A validator that votes badly or goes offline earns less, so keeping the machine healthy is part of the job.

What is proof of history, and how does it order transactions?

Proof of history is a cryptographic clock built into Solana that records the passage of time between events. It works as a chain of hashes: each step takes the previous output, adds new data, and produces the next output. Because the sequence can only be computed in order, anyone can check that one event happened after another.

The clock removes a round of coordination. On most chains, validators must agree on both the order of transactions and whether they are valid. On Solana, proof of history settles the order first, so validators spend their effort on voting and execution instead of arguing about what happened first.

Proof of history does not replace consensus. Validators still vote on blocks through proof of stake, and a block is final only once enough stake has voted for it. The clock simply gives every validator the same timeline to vote on. For the basic idea of the chain, the what is Solana guide explains the clock and the fast agreement it makes possible.

How does Solana move blocks and transactions so fast?

Solana moves data fast because it avoids two common bottlenecks: waiting for a shared pool of pending transactions, and sending whole blocks to every validator. Two parts of the design handle this: Gulf Stream forwards transactions, and Turbine spreads blocks.

Gulf Stream removes the mempool. Instead of sending a transaction to a pool and waiting for a validator to pick it up, a client sends it straight to the validator scheduled to lead the next block. That validator already knows its turn is coming, so it can start processing the transaction before its slot begins.

Turbine spreads blocks in pieces. The leader breaks a block into small shreds and sends different shreds to different validators, which pass them on to their neighbours. Each validator rebuilds the block from the shreds it receives, so the leader never has to send the whole block to every machine.

Together with Sealevel, the parallel runtime, these parts let the network handle many transactions at once. The guide to building on Solana shows how programs use this speed in practice.

How do programs and accounts work?

On Solana, programs and data live apart. A program is code deployed on the chain, and it holds no data of its own. All data lives in accounts, which are records with an owner, a balance and a block of bytes. When a transaction runs, it lists the program and the accounts the program may read or write.

This split makes programs small and reusable. One token program can serve every token on the chain, because each token's supply and balances live in separate accounts. A program can also be upgraded by pointing its account at new code, while the data accounts stay where they are.

Accounts cost rent because the chain must store them. An account that holds enough SOL to cover two years of storage is exempt from rent, so most apps fund each account once and forget about it. Program-derived addresses let a program own accounts it can sign for, which is how games and marketplaces keep their own records without a separate wallet. For the build steps, the Solana implementation guide walks through wallets, signing and payments.

How do apps talk to Solana?

Apps talk to Solana through RPC nodes, which are servers that expose the chain over a standard web interface. An app sends a transaction to an RPC node, asks for account data, and listens for changes, all without running a validator of its own.

A transaction follows a fixed path. The app builds it, the user signs it with a wallet, the RPC node forwards it to the current leader, and the network executes it and records the result. Confirmation usually arrives in seconds, and finality follows once enough stake has voted on the block that holds it.

Reading data at scale needs an indexer. An RPC node answers questions about single accounts, but a dashboard that lists every sale or every holder needs a service that watches the chain and stores the results in a database. Most production apps pair a public RPC provider with their own indexer, and keep a fallback provider for days when the first one is slow.

Example (hypothetical): a payments app plans its Solana setup

Example (hypothetical): a team builds a payments app for 4,000 small sellers. Each seller receives about 25 payments a month, so the app processes 100,000 payments a month in total. Each payment is one transaction, and the team budgets a fee of $0.00025 per transaction.

The monthly fee bill is 100,000 times $0.00025, which is $25. The team also creates one token account per seller to receive payments. Each account is funded with $0.20 of SOL to cover its storage, so 4,000 accounts cost $800 once, and the team treats that as a setup cost rather than a monthly one.

The app uses two RPC providers, so a slow day on one does not stop payments, and it runs a small indexer that records every payment in its own database for receipts and reports. The whole on-chain cost for the first month is $25 in fees plus $800 in one-off account funding, which the team compares with the cost of card fees on the same volume before deciding to launch.

What are the common mistakes?

The most common Solana architecture mistakes are copying an Ethereum design, putting too much data on-chain, and running without a fallback when the chain or the RPC provider is slow.

  • Copying an Ethereum design. Programs on Solana keep code and data apart, so a design that stores state inside the contract needs a full rethink.
  • Storing large data on-chain. Files, images and private data belong off-chain, with only a short reference stored in an account.
  • One RPC provider. A single provider is a single point of failure; keep a second provider and a queue for retries.
  • Ignoring account costs. Every account needs funding for storage, and an app that opens accounts freely can spend more on rent than on fees.
  • No plan for congestion. Fees and confirmation times rise when the network is busy, so set user expectations and test under load.
  • Treating devnet as proof. A program that works on devnet still needs mainnet testing with small amounts before real users arrive.

Design for the account model first, keep data off-chain, and test on mainnet with small amounts before opening to real users.

Key takeaways

  • Solana splits the chain into layers: ordering, voting, execution, storage and access
  • Proof of history stamps transactions with a time, so validators vote instead of arguing about order
  • Turbine and Gulf Stream move blocks and transactions without a shared mempool
  • Programs hold code and accounts hold data, which keeps programs small and reusable
  • Apps reach the network through RPC nodes, with an indexer for reading data at scale

Frequently asked questions

How is Solana's architecture different from Ethereum's?

Ethereum stores code and data together in contracts and processes transactions one at a time. Solana separates programs from accounts, orders transactions with proof of history, and runs non-overlapping transactions in parallel. The result is higher throughput with a more demanding design for developers.

What is a Solana cluster?

A cluster is a set of validators running the same network: mainnet is the live chain, while devnet and testnet are test networks with valueless tokens. Programs and accounts do not move between clusters, so each deployment is separate.

Do I need to run a validator to build on Solana?

No. Most apps use an RPC provider to send transactions and read data. You only run a validator if you want to take part in consensus and earn staking rewards, which needs capable hardware and constant attention.

What is Sealevel?

Sealevel is Solana's parallel runtime. It runs transactions at the same time when they do not touch the same accounts, instead of processing them one by one. This is the main reason the network handles many transactions per second.

What are Solana accounts?

Accounts are records that hold data, balances and program code, each with an owner. Programs read and write the accounts listed in a transaction, and accounts need a small SOL balance to pay for their storage on the chain.

Does Solana go down often?

Solana has halted in the past, and congestion can slow confirmations. Apps should show a clear state when the chain is unavailable, queue transactions for retry, and keep a second RPC provider ready.

Found this useful? Share it.
Hertiv engineering team

Written from projects we build for clients: blockchain systems in production. Every post is reviewed by a senior engineer before publishing and updated when practice changes.

About HertivHow we work

Building on Solana and need the architecture right? Talk to Hertiv.

A senior engineer replies within one business day. Or see our Solana Development service.

Book a free call

Keep reading

All posts

Tell us what you want to build

A senior engineer reads every request and replies within one business day with questions, a rough range, or a call link.

  • NDA on request before any details
  • You own all code, models and IP
  • US, UK and EU time-zone overlap

Your email app should open with your message ready to send. If it does not, write to contact@hertiv.com.

Prefer email? Write to contact@hertiv.com
Estimate costBook a call