← Articles
ERPC Solana Stream SDK v4: UDP shreds, gRPC reconnect logo
erpc

ERPC Solana Stream SDK v4: UDP shreds, gRPC reconnect

· NOV 10, 2026 ·
Read
Share

UDP shred pipeline ~1.15M datagrams/s in their bench. subscribeWithReconnect. Apache-2.0.

devrels.xyz/a/385

Validators DAO's Solana Stream SDK streams Geyser updates and raw shreds. v4.0.0 (6 Nov 2026) moves to Yellowstone gRPC 17 clients and Agave 4.4 crates. The reconnecting subscription is the recommended Geyser path. Repo ValidatorsDAO/solana-stream. X @ValidatorsDAO.

Three ingestion paths in the README: Geyser gRPC (production reconnects), shreds over gRPC, and UDP shreds in Rust for the lowest-latency signal. Use UDP when a bot or indexer needs the first shred, not a reconstructed Geyser account update. The udp Cargo feature is opt-in and needs Agave's rust-rocksdb patch; without it the crate graph stays smaller.

subscribe_with_reconnect / subscribeWithReconnect yields updates plus Disconnected with partial_banks and replay_from_slot. The next stream sends fromSlot first. Duplicates are expected. Their UDP pipeline bench (300 slots, 403,200 datagrams, median of 5): 94,236 ns per datagram down to 855-881 ns, about 11k to ~1.15 million datagrams/s. TypeScript consumer takes queued events synchronously. Apache-2.0. LinkedIn omitted.

Keep reading

Get new articles in your inbox

Technical deep-dives on Solana tooling, infrastructure, and ecosystem. No noise.