Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
NN_BUS(7)			  nanomsg 1.1.5 		       NN_BUS(7)

NAME
     nn_bus - message bus scalability protocol

SYNOPSIS
     #include <nanomsg/nn.h>

     #include <nanomsg/bus.h>

DESCRIPTION
     Broadcasts  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 indi-
     vidual nodes with messages.

	 Warning

	 For bus topology to function correctly, user is responsible for  ensur-
	 ing that path from each node to any other node exists within the topol-
	 ogy.

     Raw  (AF_SP_RAW)  BUS socket never sends the message to the peer it was re-
     ceived from.

   Socket Types
     NN_BUS
	 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.

   Socket Options
     There are no options defined at the moment.

SEE ALSO
     nn_pubsub(7) nn_reqrep(7) nn_pipeline(7) nn_survey(7) nn_pair(7) nanomsg(7)

AUTHORS
     Martin Sustrik <sustrik@250bpm.com>

				   2018-10-15			       NN_BUS(7)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=nn_bus&sektion=7&manpath=FreeBSD+Ports+15.1.quarterly>

home | help