[Announcements] ZettaTransport: A custom UDP transport layer for hostile networks (FEC, X25519, Lock-less I/O)

โš“ Rust    ๐Ÿ“… 2026-04-26    ๐Ÿ‘ค surdeus    ๐Ÿ‘๏ธ 2      

surdeus

Hi everyone,

Iโ€™ve been working on an open-source project called ZettaTransport (ZT), and I would love to get some architectural feedback from the experienced Rustaceans here.

It is a custom transport layer protocol built on top of UDP, specifically designed for robotics, industrial automation, and edge IoT networks operating in highly unstable RF environments.

The Motivation: TCP's head-of-line blocking makes it unusable for real-time telemetry over lossy links. Raw UDP offers zero reliability. I evaluated QUIC, but it carries too much HTTP/3 legacy baggage for lightweight edge devices, and I needed native Forward Error Correction (FEC) at Layer 4 so I could compile it directly into my application binaries.

Architecture & Rust Highlights:

  • Lock-less I/O Path: This was my biggest focus. I wanted to ensure the server doesn't suffer from thread starvation. The critical paths (ChaCha20 cryptography and UDP send_to operations) are completely decoupled from the main state map locks.
  • Active FEC & Congestion Control: Implemented a dual-engine FEC (XOR Parity and Reed-Solomon Erasure Coding) to recover dropped packets mathematically. It also features a TCP-like AIMD congestion control to prevent buffer bloat.
  • Connection IDs (CID): Connections use a 64-bit CID instead of IP:Port binding. This allows seamless network handovers (e.g., an AGV jumping from factory Wi-Fi to a 5G network) without dropping the session.
  • Async Integration: The core state machine is wrapped in a tokio-compatible ZtStream that natively handles flow backpressure.

What I am looking for: I have written up a full RFC-001 specification for the protocol. I would really appreciate it if anyone could take a look at the codebase or the spec and point out any flaws.

Thanks in advance for your time and feedback!

3 posts - 2 participants

Read full topic

๐Ÿท๏ธ Rust_feed