Skip to main content

Module chunking

Module chunking 

Source
Expand description

Message chunking for payloads that exceed maximum-frame-size.

Phase 5.F of docs/full-port-plan.md. Akka.NET parity: Akka.Remote.Configuration.Maximum-Frame-Size + per-PDU length-prefix split. Senders that produce payloads larger than chunk_size use Chunker::split to fragment into ordered chunks; receivers feed each chunk to Reassembler::push until Some(Vec<u8>) comes back.

The wire envelope around chunks is a tiny (message_id, chunk_idx, total_chunks, payload) tuple. The remote codec wraps chunks in AkkaPdu::Payload like any other message.

Structs§

Chunk
One fragment produced by Chunker::split.
Chunker
Sender-side: split large payloads into ordered fragments.
Reassembler
Receiver-side: collect chunks for the same message_id until the full set arrives, then return the reassembled payload.

Enums§

ChunkError