Solana gRPC vs shred stream: what 1.2 ms buys you

Published . Updated .

There are two ways to read Solana transactions as they happen: a Geyser gRPC stream (Yellowstone), or a raw shred stream. Shreds arrive first. The questions are by how much, and what you give up to get it.

We run both, so we measured the latency gap between our own two streams. At the median, a transaction reached the gRPC stream 1.2 ms after it reached the shred stream.

The two streams

Shreds are the pieces a leader splits a block into. A shred stream forwards them to you as they arrive, before the block is executed. A Geyser gRPC stream is what a node emits after it has processed them: decoded transactions with their results, and account updates.

Shred streamGeyser gRPC
Whenbefore executionafter execution
TransportUDP, pushed to yougRPC, you connect
Transactionsrawdecoded
Success, logs, balancesnoyes
Account statenoyes
Filteringin your clienton the server

The latency gap, measured

Both streams were read at the source, on our own server, so no network path is part of the figure. For every transaction seen on both, we took the time it first appeared on gRPC minus the time it first appeared in the shreds. Each run produced a p50, a p90 and a p99; the table summarises the runs.

gRPC behind shredsAverage of runsLowest runHighest run
p501.21 ms1.09 ms1.45 ms
p902.84 ms2.54 ms4.01 ms
p996.33 ms4.62 ms9.79 ms

The median is steady: every run landed between 1.09 and 1.45 ms. The tail moves more from run to run, which is why the table gives a range and not a single figure. For scale, a Solana slot lasts about 400 ms.

Read it for what it is. It compares our two streams with each other, not with any other provider's. It was measured in November 2026 with an internal tool. And it is the gap at the source: on your server, each stream adds its own network path, UDP for the shreds and a gRPC connection for the rest, so measure there before you decide.

How to measure it yourself

Our tool is not public, so here is the method. It is short enough to rebuild.

  1. Subscribe to both streams from the same machine, the one your code will run on.
  2. Record the local time at which each transaction signature first appears on each stream. One machine means one clock, so clock sync does not enter into it.
  3. For every signature seen on both streams, subtract one time from the other.
  4. Report p50, p90 and p99 for the run, then run it again. A single run says little about the tail.

What the shred stream asks of you

The 1.2 ms is not free. Our shred stream delivers raw shreds over UDP, and everything after that is your code.

  • Receiving. You give us an IP address and a UDP port, and we send to it. Your firewall has to allow our source address.
  • Loss. UDP does not resend a lost packet. Your code has to cope with gaps.
  • Decoding. You deshred: assemble shreds into entries and entries into transactions, then filter them yourself. Nothing is filtered on the server.
  • No execution results. A shred shows that a transaction is in a block being produced. Whether it succeeded, what it logged and which balances it changed exist only after execution, and that is the gRPC stream.

A decoded delivery is planned, so that you will not have to run the decoding yourself. Until it ships, the stream is raw shreds.

With gRPC you open a stream, send a SubscribeRequest with filters, and read decoded messages. The quickstart is the whole setup.

Which one to choose

Choose Geyser gRPC if you act on results: fills, balance changes, account updates, program logs. Choose it too if a millisecond or two does not decide whether your transaction lands. You skip the decoding pipeline and get server-side filters.

Choose the shred stream if you act on a transaction before it executes and compete on being first, or if you feed your own validator or RPC nodes.

Run both if you want the earliest signal and the final result: shreds to see a transaction coming, gRPC to see what it did.

If you are replacing Jito ShredStream, that article covers the migration.

Mach gRPC

Mach gRPC provides both: a shred stream and a Yellowstone-compatible Geyser gRPC stream. Each stream is $300 / month flat, paid in USDC.

  • Geyser gRPC is self-serve: access by IP allowlist, no API key.
  • Shred stream is delivered over UDP, currently from Frankfurt. If you need another region, ask us. Access is arranged on Discord.