Expand description
TCP shuffle: a per-peer connection pool for senders, an accept loop
for receivers. Each frame carries a node id in its handshake so the
receiver can attribute incoming traffic. See
super::message for the wire format.
Structs§
- Shuffle
Receiver - Inbound side of the shuffle fabric.
- Shuffle
Sender - Lazy pool of outbound connections, keyed by peer id. Addresses go
in via
register_peer(manual) or via the KV on first send.
Constants§
- SHUFFLE_
ADDR_ KEY - Gossip KV key used by
ShuffleReceiver::bind_with_kvto publish the listener’s socket address, and byShuffleSenderto discover peer addresses on first contact. Value: the bound socket address formatted viaSocketAddr::to_string().
Type Aliases§
- Shuffle
Peer Id - Peer-local identifier on the wire. Matches
cluster::discovery::NodeId’s inner type for seamless conversion.