How a transaction lands: leaders, QUIC, stake-weighted QoS, tips, and being close

Transactions go straight to current and upcoming leaders over QUIC. Landing at all depends on reaching the leader, helped by staked connections. Where it lands in a block depends on priority fees and tips. Debug in that order.

Read the briefing
About 3 min to read 5 drills

What to remember

  1. No mempool to wait in. The leader schedule is known, so you send to whoever leads next. That's why being near validators beats being near a cloud region.
  2. Stake buys a lane. Stake-weighted QoS reserves most of a leader's capacity by stake. An unstaked sender competes for what's left, particularly under load.
  3. Reaching the leader isn't the same as ordering. Fees and tips affect ordering once it's there. They don't help a packet that never arrives.
  4. Separate the four failures. Never reached, expired, dropped for fee or tip, failed on execution. Each has different evidence.
  5. A slot is about 400 ms. It sets every budget in the system: a millisecond is real, and a signing step in tens of microseconds is mostly not the bottleneck.

The big picture

Understanding how a transaction lands explains why the fleet looks the way it does: bare metal, many regions, staked connections and tuned network paths. Even if you never tune it yourself, the head of security and the engineers you support will assume you can reason about it.

The mental model

A relay of short shifts. Everyone knows who's on shift for the next few seconds. You don't queue up at a central office; you walk straight to the person on shift, and if you've got a staff badge, you use the staff door.

In depth

The path

A client signs and sends to an RPC or landing service. That forwards over QUIC to the TPU of the current and upcoming leaders, known from the leader schedule. Each leader has about 400 ms per slot, and leads several slots in a row. If the transaction isn't included before its blockhash expires, it's gone.

Stake-weighted QoS

Leaders reserve most of their capacity for connections from staked identities, in proportion to stake; Solana's guide cites 80%. A validator can extend its allowance to a trusted RPC with --staked-nodes-overrides, and the RPC forwards with --rpc-send-transaction-tpu-peer. So those connections are valuable, and the identity behind them is an asset to protect. Check the guide for current figures.

Ordering

Priority fees come from the compute-budget price. Block builders and paths like Jito and Harmonic order by tips. Services differ: Nozomi's public docs, for instance, say each transaction needs a tip to one of its tip addresses, with a minimum, and that one below it is silently dropped, and that it doesn't simulate. Read the current docs of whatever you use, since these details change.

Debugging poor landing

Did it reach the leader? Check slot lag at your sender, the leader's region, and connection and stream limits. Did it expire first? Compare blockhash age to when it was sent. Was it dropped for fee or tip? Check the minimums. Did it land and fail? That's on-chain, and it's a program error rather than a network one. Separate these before changing anything.

Myths and facts

Myth: Higher priority fees guarantee landing.

Fact: They help ordering among what reaches the leader. They do nothing for a transaction that didn't arrive or has expired.

Myth: Sending the transaction to more places is always better.

Fact: Sending widely can help, but duplicates and rate limits have costs, and the staked path matters most under load.

Myth: Signing latency is the bottleneck.

Fact: Ed25519 signing is usually far less than the network paths and jitter around it. Measure before you optimise.

How pros do it

  • Track blockhash age and slot lag at the sender.
  • Choose regions by the leader schedule's stake distribution, and measure rather than assume.
  • Treat staked identities as secrets with a blast radius.
  • Report landing failures in the four categories.
  • Watch p99 by path, because averages hide what matters.

Questions people ask

Why bare metal?

For predictable latency near validators: no noisy neighbours, control over CPU pinning, IRQs and NICs, and placement chosen for leaders rather than a cloud's regions. The cost is everything the cloud gave you for free, including identity.

How does this connect to security?

Staked connections are an abusable asset, tip keys spend money by design, and customer API keys let someone spend your capacity. And a validator's identity sits behind all of it.

What would you ask about Temporal's landing setup?

How they decide placement across regions, what they monitor per leader, and what happens to in-flight transactions during a deploy. Read their public docs first, and ask about what isn't there.

Further reading

Drills · 5

Answer in your head, or out loud, before you reveal. Mark each one: "Again" brings it back, "Got it" counts on your desk.

1 Answer out loud

Explain how a Solana transaction lands, from a signed transaction to being in a block. Then tell me why our machines sit where they do.

In short

It goes over QUIC straight to the current and upcoming leaders, staked connections get a reserved lane, fees and tips order it, and it must arrive before the blockhash expires; so machines sit near leaders.

What a strong answer does
  • The path: Signed, forwarded over QUIC to current and upcoming leaders, included before the blockhash expires.
  • What affects it: Staked connections for reaching the leader, fees and tips for ordering, kept distinct.
  • Links to infrastructure: Why near validators rather than a cloud region, and why slot time sets the budgets.
Why

A walk through the path, using the right words, is what's wanted. Then connect it to placement. It's fine to say you're newer to this; it isn't fine to be vague about it.

The common mistake

Describing Ethereum's mempool out of habit.

2 Scenario: what do you do next?

Customers report landing rates fell this morning. Nothing was deployed. Your dashboards show the service is up, with normal request rates.

Step 1. What do you look at first?

  1. Split the failures: what landed, what expired, what was dropped, and what failed on-chain, by region and by path. Each has a different cause, and this narrows it quickly.
  2. Restart the service, to clear whatever's wrong. It drops in-flight transactions and erases the evidence, with no reason to think it's your process.
  3. Ask customers to raise their tips. That's a guess, and it costs them money.

Step 2. Most are expiring, mainly in one region, and slot lag there has grown.

  1. Increase the retry count, so transactions keep trying. Retries can't beat a stale view of the slot, and they add load.
  2. Route around that region or its upstream if you can, and then look at the path: is it the network, or one host falling behind? Mitigate first. It looks like your path, not the market.

Step 3. It's one provider's link. It's stable now. What do you change?

  1. Alert on slot lag and expiry rate per region, before customers notice, and make that reroute automatic or one command. It removes the class: you see it first, and the mitigation is rehearsed.
  2. Write a note in the incident channel. It'll surprise you again.
In short

Split the failure first: did it reach leaders, did it expire, was it dropped for fee or tip, or did it fail on-chain? Mitigate by what you find.

Why

A green dashboard while customers complain means your metrics measure your process rather than the outcome. Landing rate by path is the number that matters.

3 Pick the strongest answer

Why does a staked connection help a transaction reach a leader under load?

  1. Leaders reserve most of their capacity for connections from staked identities, in proportion to stake. That's stake-weighted QoS. It decides who gets through when the leader is overloaded.
  2. Staked validators can bypass signature checks. Nothing skips signature verification.
  3. Stake makes the transaction's priority fee count for more. Fees are separate. Stake affects the connection, not the fee.
  4. It routes the transaction through a private mempool. It's about capacity at the leader's TPU, not a mempool.
In short

Leaders reserve most of their capacity for staked identities in proportion to stake, so a staked sender has a lane unstaked senders don't.

Why

It also makes staked identities and override configurations valuable: anyone who can use them is spending your stake's lane. The guide advises using overrides only between trusted peers.

4 Design round

Design a deploy for a transaction-landing service, so an update doesn't drop customer transactions or miss slots. It runs on bare metal in many regions.

  • Customers hold open connections
  • No cloud load balancers
  • The leader schedule is known ahead of time
In short

Drain and roll one host at a time, timed by the leader schedule, judged by landing rate, with automatic stop and instant rollback.

A strong answer covers
  • Drains connections rather than cutting them
  • Rolls one host or region at a time, with health judged by landing rate rather than liveness
  • Uses the leader schedule to choose when each region is quiet
  • An automatic stop and rollback on a defined signal
  • Considers in-flight transactions and their expiry
  • Keeps the old version ready for fast rollback
What a strong answer does
  • Safe rollout: Drains, canaries a host, gates on landing rate against peers, with automatic stop and rollback.
  • Uses the protocol's clock: Uses the leader schedule to time each region, and expiry for in-flight work.
  • communication: States the signal, the steps and what stops it.
Why

This takes your release-engineering experience and adds the protocol's clock. The signal to judge by is landing rate on that host against its peers, not whether the process started.

The common mistake

Copying a Kubernetes rolling update. There are few services here that fit it, and it doesn't know about slots.

5 Quick recall

About how long is a Solana slot, in milliseconds?

In short

About 400 ms, and a leader gets several slots in a row.

Accepted

400 · 400ms · 400 ms

Why

It sets the budgets. Under Alpenglow, consensus changes substantially, so check current figures before you say more.

Next lesson Validator keys and failover: identity, vote, withdraw, and never running two
Drill · How a transaction lands
0:00

Loading…