Constant scaproust::proto::BUS [] [src]

pub const BUS: u16 = 7 * 16

Message bus protocol

Broadcasts messages from any node to all other nodes in the topology. The socket should never receives messages that it sent itself. This pattern scales only to local level (within a single machine or within a single LAN). Trying to scale it further can result in overloading individual nodes with messages.

Warning For bus topology to function correctly, user is responsible for ensuring that path from each node to any other node exists within the topology.

Sent messages are distributed to all nodes in the topology. Incoming messages from all other nodes in the topology are fair-queued in the socket.