Canonical: https://nitride.xyz/guides/solana-data-feed-protocols

# UDP, gRPC, WebSocket or multicast: picking a Solana feed protocol

What raw UDP shreds, Geyser gRPC, RPC WebSocket subscriptions and multicast each deliver, what each costs you to run, and which Solana workload fits each one.

Pick raw UDP when you want shreds the moment they leave the network and can write a decoder. Pick Geyser gRPC when you need filtered accounts and transactions with execution results. Pick RPC WebSockets for simple subscriptions on any provider. Multicast suits teams already on DoubleZero. Nitride.xyz sells raw UDP only.

## What each protocol carries
The four options sit at different points in a block's life. Shreds are the pieces a leader cuts its block into and sends out through Turbine, before any other validator has replayed the transactions. Geyser and WebSocket data come later, after a validator has processed what those shreds contained. That timing decides most of the trade-offs below.

Read on 2026-11-17 from the Solana, Anza, Yellowstone and DoubleZero docs listed in the sources.

| Protocol | What arrives | Who decodes it | Where it comes from |
|---|---|---|---|
| Raw UDP shreds | Data and coding shreds as packets, before execution | You | A shred seller, or your own validator |
| Geyser gRPC | Accounts, transactions, slots and blocks, with filters | The validator, before it sends | An RPC provider running a Geyser plugin, or your own node |
| RPC WebSocket | JSON notifications for subscribed accounts, programs, logs, signatures and slots | The RPC node | Any Solana RPC endpoint |
| Multicast UDP | Shreds sent to a group of subscribers on a private network | You | DoubleZero Edge |

## Raw UDP shreds
A raw shred feed sends each shred as one UDP datagram to an IPv4 address and port you choose. Nothing is parsed on the way. You see transactions as soon as the packets carrying them reach you, which is earlier than any view that waits for a validator to replay the block. Shreds are pre-confirmation data: a slot can be skipped or a fork dropped, so what you read is what the leader sent, not what the cluster settled on.

What it costs you to run:

- A server with a public IPv4 address and an open inbound UDP port.
- A receiver that keeps reading fast enough. UDP has no retransmission and no backpressure, so a packet you miss is gone.
- A decoder that groups shreds by slot, recovers missing data shreds from coding shreds where it can, and rebuilds entries and transactions. That is your code or an open-source shred decoder.
- Logic for skipped slots and forks, because nothing in the stream confirms anything.

This is what Nitride.xyz sells: raw Solana shreds over UDP from Frankfurt, data and coding shreds forwarded unchanged, in datagrams of at most 1228 bytes. Nothing is decoded, reordered or buffered on the way. The [UDP format page](https://nitride.xyz/docs/udp) describes the packets, and the [Rust receiver](https://nitride.xyz/docs/rust) shows a working socket loop.

## Geyser gRPC
A Geyser plugin runs inside a validator and publishes accounts, slots, blocks and transactions as the validator processes them. Yellowstone gRPC is the common interface on top: a client opens one stream and subscribes with filters, such as account keys, program owners, or transactions that touch a given account. Messages arrive as typed protobuf structures over a TCP connection, so ordering and delivery are handled for you.

What it costs you to run: a gRPC client and a subscription with a provider, or your own RPC node with the plugin loaded. There is no decoder to write, and you get account state and execution results that shreds cannot give you. The trade is timing, because the data exists only after the validator has replayed the block.

Several shred sellers also put shreds on gRPC. ERPC sells a Shredstream gRPC feed, AllenHark streams decoded entries over gRPC, and constant-k sells ShredPrism over gRPC, as listed on 2026-11-17. If you want shred timing without managing a UDP socket, one of those can fit.

## RPC WebSocket subscriptions
Every Solana RPC endpoint speaks JSON-RPC over WebSocket. You call methods such as `accountSubscribe`, `programSubscribe`, `logsSubscribe`, `signatureSubscribe` or `slotSubscribe`, choose a commitment level, and the node pushes a JSON message when something matches. It works from a laptop, behind NAT, and on free tiers.

What it costs you to run: almost nothing beyond a WebSocket client. The limits are timing and volume. Notifications follow the commitment level you pick, so they come after processing, and JSON at high rates is heavy to parse. Some providers stretch the model: QuickNode documents a `shredTransactionSubscribe` method that sends transactions taken from shred ingestion over WebSocket, without execution results.

## Multicast
Multicast sends one stream to many subscribers at once, and the network copies the packets. DoubleZero Edge delivers Solana shreds this way, as multicast UDP on port 7733 over a `doublezero1` interface, GRE-encapsulated, priced per seat per machine per city in its docs read on 2026-11-17.

What it costs you to run: a machine joined to the DoubleZero network and the tooling it requires, plus the same decoder work as any raw feed. It suits teams that already run on that network or plan to.

## When gRPC, WebSocket or multicast is the better buy
Buy raw UDP shreds when the time between a leader sending a transaction and you seeing it is the thing you are paying for, and you have the engineering time to decode. Market makers, searchers and arbitrage bots are the usual fit.

Buy something else when one of these is true:

- **You need account balances, program state or execution results.** Shreds carry transactions, not their outcomes. Geyser gRPC gives you both, filtered.
- **You have no one to write or run a decoder.** A decoded gRPC stream, or a seller that decodes shreds for you, saves that work.
- **Your server has no public IPv4 address or cannot accept inbound UDP.** A WebSocket or gRPC client connects outward and works from almost anywhere.
- **Your servers are far from Frankfurt.** Nitride.xyz delivers from Frankfurt only. A provider with a node in your city fits better.
- **You only need a handful of accounts.** An RPC WebSocket subscription costs little or nothing and is quick to write.
- **You already run on DoubleZero.** Its multicast feed avoids a second network path.

Nitride.xyz has no gRPC interface, no WebSocket interface and no decoded stream. If your workload needs one of those, buy it from a provider that sells it.

## Running two protocols side by side
You can use more than one. One workable design: raw shreds for the earliest view of new transactions, and Geyser or an RPC subscription to confirm which of them landed and to read account state. An indexer can take the same approach, as the [real-time indexing use case](https://nitride.xyz/use-cases/real-time-indexing) shows, building a fast provisional view from shreds and correcting it from confirmed data.

If raw UDP is the right fit, the next questions are price and placement. The [12-month cost comparison](https://nitride.xyz/guides/shred-feed-cost-comparison) lists what sellers charge, the [shred feed buyer's checklist](https://nitride.xyz/guides/shred-feed-buyer-checklist) gives the questions to ask each one, and the guide to [choosing a Frankfurt server](https://nitride.xyz/guides/frankfurt-server-for-shreds) covers the machine. For deeper comparisons, see [shreds against Yellowstone gRPC](https://nitride.xyz/compare/shreds-vs-geyser-grpc), [shreds against RPC WebSockets](https://nitride.xyz/compare/shreds-vs-rpc-websockets) and [the DoubleZero Edge comparison](https://nitride.xyz/compare/doublezero-edge-alternative). Plan prices are on the [pricing page](https://nitride.xyz/pricing), [the activation steps](https://nitride.xyz/docs/start/buy-and-activate) cover what happens after you pay, and more guides are in the [guides hub](https://nitride.xyz/guides).

### Which Solana feed protocol shows transactions soonest?

Shreds, because they leave the leader before any validator replays the block. Geyser and WebSocket data are produced after processing. How soon shreds reach you still depends on where your server sits and the route to it.

### Does Nitride.xyz sell anything besides raw UDP shreds?

No. Nitride.xyz sells raw Solana shreds over UDP from Frankfurt, in two plans: Standard Shreds ($100) and Ultra Low Latency Shreds ($200), each for one destination for 30 days. There is no gRPC or WebSocket interface.

### Can I use raw UDP shreds from behind NAT?

Not without forwarding. The feed is sent to a public IPv4 address and UDP port, so that port must accept inbound packets on the machine running your receiver.

### Do I still need an RPC node if I buy shreds?

Usually yes. Shreds tell you what a leader sent, not whether it was confirmed or what it changed, so read confirmations and account state from RPC or Geyser as well.
