Solana’s Second Layer Explained : Gulf Stream
Before getting into this blog make sure to read my previous blog for better understanding , This is the Part III .

We have just completed an incredibly thorough examination of Stage 1: Users, covering everything from their cryptographic identity and keys to the detailed anatomy, rules, and costs of the transactions they create.
Following the six-stage diagram we saw earlier, the journey of a transaction continues to:
Stage 2: Gulf Stream
This is the crucial step that happens immediately after a signed transaction is sent to the network. It’s Solana’s unique answer to the question: “Where do transactions wait before being picked by a Leader?”
The Core Problem: Where Do Transactions Wait?
Before a transaction is permanently added to the blockchain, it has to wait somewhere to be picked up by a block producer. This page shows two vastly different approaches to managing this waiting period.
The Traditional Way — A “Gossip Network” and a “Mempool”

What is a Gossip Network?
- Analogy: Imagine a piece of interesting news spreading through a large, crowded room. You tell a few people near you. They turn around and each tell a few people near them, and so on. The news “gossips” its way across the room until everyone has heard it.
- This is how many traditional blockchains work. When you send a transaction, it’s broadcast to a few nodes, which then broadcast it to a few more, and so on, until the entire network has a copy. The left diagram, with its chaotic, all-to-all arrows, perfectly visualizes this.
What is a Mempool?
- As these transactions are being gossiped around, they sit in a big, unorganized “waiting room” on each validator’s computer. This digital waiting room is called the Mempool (Memory Pool).
- The Problem: This system is inefficient. Validators have to spend a lot of energy listening to gossip and managing this messy mempool. It also creates an environment where bots can clog the network and pay high fees to get the validator to pick their transaction out of the messy pool first.
The Solana Way — “Gulf Stream” and the “Leader Schedule”

- The Big Idea: As the text says, Solana was designed “from the outset to operate without a mempool.”
- The Leader Schedule: We’ve already learned that Solana has a rotating Leader responsible for producing blocks. This schedule of who will be the Leader and when is known to the entire network in advance. It’s not a surprise; it’s a “predetermined” timetable.
What is Gulf Stream?
- Since every validator knows who the next few Leaders will be, they don’t need to gossip transactions to the whole network.
- Instead, Gulf Stream is the protocol that allows validators to forward transactions directly to the current and upcoming Leaders.
- Look at the right diagram. It’s clean and organized. All the purple arrows are pointing directly to the validator in the center (the Leader). This is a focused and efficient flow of information, not random gossip.
The Benefit: This radically improves efficiency. It reduces the computational load on validators (they don’t need to manage a mempool), cuts down on network traffic, and allows transactions to be processed much more quickly.
The Role of RPC Nodes (The Network’s Gateway)
So if you, as a user, aren’t talking directly to a validator, who do you send your transaction to? You send it to an RPC Node.
- What they are: RPC (Remote Procedure Call) nodes are the professional “gateways” or “on-ramps” to the Solana network. When a dApp or your wallet sends a transaction, it sends it to an RPC node, which then uses Gulf Stream to forward it to the correct Leader.
Key Differences from Validators:
- They run the same core software, which is why they can accurately simulate your transaction and show you the likely outcome in your wallet before you sign.
- However, they do not hold any stake (locked-up SOL).
- Because they don’t have a stake, they cannot vote or produce blocks. They are simply communication relays.
Economics: Since they don’t earn rewards from staking, running an RPC node is often a paid service that developers use to get reliable access to the network for their applications. As the slide notes, there are thousands of these nodes providing this essential service.
In summary, Stage 2: Gulf Stream is Solana’s mempool-less transaction forwarding protocol. By using a known Leader Schedule, it allows RPC nodes and other validators to send transactions directly where they need to go, creating an orderly and efficient system that is foundational to Solana’s high performance.
The Network’s Timetable (Epochs, Slots, and the Leader Schedule)
To have a “predetermined” Leader, the network needs a calendar and a clock. Solana has a very precise time structure.
- Epoch: Think of this as the master calendar for the network. A new Leader Schedule is generated for the entire network at the start of each epoch, which lasts approximately two days.
- Slot: An epoch is divided into thousands of tiny, fixed time intervals called slots. A slot is the fundamental heartbeat of the Solana network, lasting just 400 milliseconds (0.4 seconds).
- Leader Schedule: For each and every 400ms slot within an epoch, a specific validator is chosen to be the Leader. This timetable is published for the entire epoch, so every node on the network knows who is supposed to be producing a block at any given moment.
How is the Leader chosen? It’s a weighted lottery based on the principles of Proof-of-Stake. Validators with more SOL staked have a proportionally higher chance of being chosen to be the Leader for a slot.
The Priority System — Stake-Weighted Quality of Service (SWQoS)
This is the most important new concept on this page. It answers the question: “If everyone knows who the Leader is, how do you stop spammers from overwhelming them with junk transactions?”
The solution is Stake-Weighted Quality of Service (SWQoS).
- The Problem: Without a priority system, a malicious actor could create thousands of unstaked nodes (a “Sybil attack”) and flood the known Leader with spam, potentially drowning out legitimate transactions.
- The Solution (SWQoS): This system gives preferential treatment to transactions coming from validators who have SOL staked in the network.
- Analogy: Imagine airport check-in. There is a general line for everyone, but there is also a priority lane for frequent flyers who have “status” with the airline. SWQoS creates a priority lane for staked validators.
- How it works: The connection between a node forwarding a transaction and the Leader is given a certain capacity or bandwidth. As the page states, “validators with a higher stake are granted a proportionally higher capacity to transmit transaction message packets to the leader.”
- The Result: A validator with a large stake gets a “wider pipe” to send transactions to the Leader than an unstaked node does. The Leader will prioritize traffic from these trusted, high-stake sources. This makes it incredibly difficult and ineffective for unstaked spammers to clog the network, as their traffic is given the lowest priority.
A Quick Note: Solana’s Four Clusters
Solana doesn’t have just one network; it has four “clusters”:
- Mainnet-beta: This is the main, public blockchain where SOL and other tokens have real monetary value. This is what people generally mean when they say “Solana.”
- Devnet & Testnet: These are environments for developers to build and test applications and for core engineers to test network upgrades. Tokens here are for testing only and have no value.
- Localnet: A version of Solana a developer can run on their own computer for initial testing.
Everything we are discussing here applies to how Mainnet-beta operates.

Visualizing Stake-Weighted Quality of Service (The Diagram)
Previously, we learned the theory of Stake-Weighted Quality of Service (SWQoS). This diagram on top shows us exactly how it’s implemented. It’s a perfect illustration of the “priority lane” analogy.
Let’s follow the flow from left to right:
- The Source: On the far left, you have dApps + users who are creating and sending transactions.
- The On-Ramps (RPCs): These transactions are sent to RPC nodes. The diagram shows two types:
- Non Paired RPCs (The Public Lane): These are unstaked nodes. As the diagram shows, they all have to share a single, limited pool of 500 connections to the Leader. This is the general access, best-effort lane.
- Staked Validators (The Priority Lane): These are validators with SOL staked in the network. The diagram clearly shows that their access is directly proportional to their stake:
- A validator with 1% stake gets 20 connections.
- A validator with 2% stake gets 40 connections.
- A validator with 3% stake gets 60 connections.
- The Destination (The Leader): The Leader has a finite capacity to receive transactions. The diagram shows that 80% of its connections (2,000) are reserved exclusively for the staked validators in the priority lane. Only 20% (500 connections) are open for the unstaked pool.
As the text confirms, this system literally “mirrors priority lanes on highways.” By staking SOL, validators can essentially pay a toll to get a dedicated, high-speed lane to send transactions to the leader, ensuring their traffic gets priority. This has incentivized serious applications to run their own staked validators to guarantee reliable transaction processing.
The Network Protocol — A QUIC Note
So, how can the Leader manage thousands of connections and streams of data from different sources without getting overwhelmed or blocked by a single spammer? The answer lies in the network protocol Solana uses: QUIC.
- The Best of Both Worlds: To understand QUIC, let’s use an analogy for the two older internet protocols it improves upon:
- TCP is like a registered letter: It’s very reliable and confirms delivery, but it’s slow due to all the checks.
- UDP is like a postcard: It’s extremely fast and simple, but offers no guarantee of delivery or order.
- QUIC, developed by Google, is designed to be fast like a postcard (UDP) but with the smart traffic control and reliability of a registered letter (TCP).
- Why QUIC is Perfect for Solana: The key feature is its advanced flow control using separate streams. This means the Leader can manage the connection from each RPC node independently.
- The Benefit: If one of the “Non Paired RPCs” from our diagram starts sending spam and its stream is throttled or dropped, it does not slow down or block the other streams. The connections from the high-stake validators continue completely unaffected. This prevents a single bad actor from causing a traffic jam for the entire network.
The Golden Rule of Solana — Stake-Weighting
The box at the top of the page reinforces a concept we’ve seen multiple times: Stake-weighting.
This is a core, recurring principle throughout Solana’s entire design. It’s not just used for Gulf Stream. As the text mentions, it also applies to:
- Leader Schedules: More stake gives a higher chance of being chosen as a leader.
- Voting Rewards: Validators earn rewards proportional to their stake.
- Turbine Trees: (Which we will likely see in a future stage) Stake influences how transaction data is propagated.
The core philosophy is simple: Validators with greater stake are given more trust, more responsibility, and more priority within the network. This is the fundamental security and incentive model of Solana’s Proof-of-Stake system.
The Visual Proof — Why QUIC is Superior

On the last page, we learned that Solana uses a modern network protocol called QUIC. This page provides two clear visual comparisons that demonstrate why QUIC is faster and more efficient than the older standard, TCP.
Comparison 1: Eliminating Traffic Jams (Left Diagram)
This diagram illustrates how the protocols handle lost data packets.
- TCP Connection (The Single-Lane Highway): TCP processes data packets in a strict, sequential order. As the diagram shows, if Packet #3 is lost, Packet #4, #5, #6, and #7 all get stuck waiting behind it, even if they have already arrived. This is a major bottleneck called “Head-of-Line Blocking.” It’s like a single-lane road where one stalled car creates a massive traffic jam.
- QUIC Connection (The Multi-Lane Superhighway): QUIC uses multiple independent “streams.” The diagram shows that even though Packet #3 is lost, the other streams for Packets #4, #5, #6, and #7 can continue to be processed without waiting. It’s a multi-lane highway where a problem in one lane doesn’t stop traffic in the others.
Why this matters for Solana: This allows the Leader to efficiently receive transactions from hundreds of different RPCs at once. If one RPC has a slow or faulty connection, it doesn’t slow down the processing of transactions from all the other healthy connections.
Comparison 2: The Faster “Handshake” (Right Diagram)
Before two computers can exchange data, they must perform a “handshake” to establish a secure connection.
- TCP + TLS Handshake: This is a lengthy, multi-step process. As the diagram shows, it requires several back-and-forth round trips between the client and server just to set up the connection before any actual data can be sent. This adds significant delay (latency).
- QUIC Handshake: QUIC is much more efficient. It combines the connection and security setup steps into fewer round trips. This means the initial connection between an RPC node and the Leader is established much more quickly.
Final Summary of Stage 2: Gulf Stream
Our exploration of Stage 2 is now complete. Let’s summarize:
Stage 2 is all about the efficient and secure delivery of a transaction from the user to the correct Leader. This process is managed by Gulf Stream, Solana’s replacement for the chaotic “mempool” system.
The key principles and technologies are:
- A predetermined Leader Schedule, which is set every epoch (~2 days) and changes every slot (400ms).
- The core Solana philosophy of Stake-Weighting, which is used to create a “priority lane” for trusted validators called Stake-Weighted Quality of Service (SWQoS).
- An underlying network protocol called QUIC, which is demonstrably faster because it establishes connections more quickly and eliminates “Head-of-Line Blocking” by using multiple streams.
Thanks to this intelligent system, the user’s signed transaction has now arrived safely and efficiently at the Leader. This sets the stage perfectly for our next step in the journey: Stage 3: Block Building.
✅ Disclaimer:
This blog is inspired by and simplified from the “Solana: How it Works” executive overview by Helius and Turbine. I’ve restructured and expanded the concepts with additional analogies and breakdowns to help beginners understand Solana’s architecture more easily.

Solana’s Second Layer Explained : Gulf Stream was originally published in Coinmonks on Medium, where people are continuing the conversation by highlighting and responding to this story.