diff options
author | Jenkins <jenkins@review.openstack.org> | 2016-01-26 21:40:58 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2016-01-26 21:40:59 +0000 |
commit | f3c8a5cce863db504be16673114672dc6d1ec6f5 (patch) | |
tree | b21a1c4eb1f865c415cec1fbef032470b2ae6940 /doc | |
parent | 85525daea6cbe785baa8b383192117401d98fdc4 (diff) | |
parent | 08dd23d1d412cfdd8d3a8923a5245daba2e89a3d (diff) | |
download | oslo-messaging-f3c8a5cce863db504be16673114672dc6d1ec6f5.tar.gz |
Merge "[zmq] Reduce proxy for direct messaging"
Diffstat (limited to 'doc')
-rw-r--r-- | doc/source/zmq_driver.rst | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/doc/source/zmq_driver.rst b/doc/source/zmq_driver.rst index 0ab7903..9f9a74d 100644 --- a/doc/source/zmq_driver.rst +++ b/doc/source/zmq_driver.rst @@ -138,28 +138,24 @@ stored in Redis is that the key is a base topic and the corresponding values are hostname arrays to be sent to. -Proxy to avoid blocking (optional) ----------------------------------- +Proxy for fanout publishing +--------------------------- -Each machine running OpenStack services, or sending RPC messages, may run the -'oslo-messaging-zmq-broker' daemon. This is needed to avoid blocking -if a listener (server) appears after the sender (client). +Each machine running OpenStack services, or sending RPC messages, should run +the 'oslo-messaging-zmq-broker' daemon. Fanout-based patterns like CAST+Fanout and notifications always use proxy as they act over PUB/SUB, 'use_pub_sub' - defaults to True. If not using PUB/SUB (use_pub_sub = False) then fanout will be emulated over direct DEALER/ROUTER unicast which is possible but less efficient and therefore -is not recommended. - -Running direct RPC methods like CALL and CAST over a proxy is controlled by -the option 'direct_over_proxy' which is True by default. +is not recommended. In a case of direct DEALER/ROUTER unicast proxy is not +needed. -These options can be set in [DEFAULT] section. +This option can be set in [DEFAULT] section. For example:: use_pub_sub = True - direct_over_proxy = False In case of using the broker all publishers (clients) talk to servers over |