blob: 80fc375694f2f954647324ed2a7ea0ea7ee2868e [file] [log] [blame]
nn_fanout(7)
============
NAME
----
nn_fanout - fan-out (load balancing) scalability protocol
SYNOPSIS
--------
*#include <nanomsg/nn.h>*
*#include <nanomsg/fanout.h>*
DESCRIPTION
-----------
Load balances messages among multiple destinations.
Socket Types
~~~~~~~~~~~~
NN_PUSH::
This socket is used to send messages to the cluster of load-balanced
nodes. Receive operation is not implemented on this socket type.
NN_PULL::
This socket is used to implement a node within a load-balanced cluster.
It can be used to receive messages. Send operation is not implemented
on this socket type. This socket can be connected to at most one peer.
Socket Options
~~~~~~~~~~~~~~
No protocol-specific socket options are defined at the moment.
SEE ALSO
--------
linknanomsg:nn_pubsub[7]
linknanomsg:nn_reqrep[7]
linknanomsg:nn_fanin[7]
linknanomsg:nn_survey[7]
linknanomsg:nn_pair[7]
linknanomsg:nanomsg[7]
AUTHORS
-------
Martin Sustrik <sustrik@250bpm.com>