|
NAMEnn_bus - message bus scalability protocolSYNOPSIS#include <nanomsg/nn.h>#include <nanomsg/bus.h> DESCRIPTIONBroadcasts messages from any node to all other nodes in the topology. The socket should never receive 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
Raw (AF_SP_RAW) BUS socket never sends the message to the peer it was received from. Socket TypesNN_BUSSent messages are distributed to all nodes in the
topology. Incoming messages from all other nodes in the topology are
fair-queued in the socket.
Socket OptionsThere are no options defined at the moment.SEE ALSOnn_pubsub(7) nn_reqrep(7) nn_pipeline(7) nn_survey(7) nn_pair(7) nanomsg(7)AUTHORSMartin Sustrik <sustrik@250bpm.com>
Visit the GSP FreeBSD Man Page Interface. |