OpenStack library for messaging
Go to file
Oleksii Zamiatin 3067dbd198 Non-blocking outgoing queue was implemented
The main issue with eventlet.green.zmq is that libzmq as a C-library
is completely monkey-patch unfriendly. So any blocking call inside
the native library makes calling process stuck. We can't avoid this
actually in an absolutely normal situation when a client appears
earlier than listener we have all client process get stuck until listener
raised. If the listener for example is also blocked awaiting for some
other service to appear we have a chain of locks which may occasionally
result in a dead-lock. The other situation with Notifier is quite similar.

For that reason zmq-broker was restored, but now it serves as an outgoing
queue on a client side. Servers remained the same dynamically port-binded.
Now all clients can still use green-zmq, but presence of the broker-queue
on a host guarantees that green threads will never blocked in a client
because all messages will wait their listeners inside the broker queue.
The broker process's modules are not monkey-patched, they make use of native
threading and native zmq.

Possibility to run without broker also remains. The option zmq_use_broker
introduced for that reason.

Closes-Bug: #1497315

Change-Id: I786b100fd6ee1cf4b99139db0ca044d358d36345
2015-09-28 14:14:53 +03:00
doc/source Merge "Include changelog/history in docs" 2015-09-24 22:52:41 +00:00
etc Fix spelling typo in output 2015-09-24 18:11:22 +08:00
oslo.messaging/locale Imported Translations from Zanata 2015-09-16 18:44:52 +00:00
oslo_messaging Non-blocking outgoing queue was implemented 2015-09-28 14:14:53 +03:00
tools Merge remote-tracking branch 'origin/feature/zmq' into merge-branch 2015-09-15 11:07:44 -04:00
.coveragerc Change ignore-errors to ignore_errors 2015-09-21 14:43:07 +00:00
.gitignore Ignore any egg and egg-info directories 2014-02-05 09:32:25 -08:00
.gitreview Add oslo.messaging project infrastructure 2013-06-15 08:43:50 +01:00
.testr.conf Allows to overriding oslotest environ var 2014-11-19 11:28:02 +01:00
CONTRIBUTING.rst Workflow documentation is now in infra-manual 2014-12-05 03:30:39 +00:00
LICENSE Add oslo.messaging project infrastructure 2013-06-15 08:43:50 +01:00
MANIFEST.in Add oslo.messaging project infrastructure 2013-06-15 08:43:50 +01:00
README.rst Switch badges from 'pypip.in' to 'shields.io' 2015-06-11 20:38:19 -07:00
babel.cfg Setup for translation 2014-06-05 22:48:44 +02:00
requirements.txt Updated from global requirements 2015-09-17 12:16:04 +00:00
setup-test-env-qpid.sh Disable ACL if authentication cannot be performed. 2015-09-16 16:33:58 -04:00
setup-test-env-rabbit.sh Don't use devstack to setup our functional env 2015-06-11 12:01:01 +02:00
setup-test-env-zmq.sh Non-blocking outgoing queue was implemented 2015-09-28 14:14:53 +03:00
setup.cfg Non-blocking outgoing queue was implemented 2015-09-28 14:14:53 +03:00
setup.py Updated from global requirements 2015-09-17 12:16:04 +00:00
test-requirements.txt Updated from global requirements 2015-09-15 14:17:59 +00:00
tox.ini Remove useless additional requirement file 2015-09-15 11:29:52 +02:00

README.rst

Oslo Messaging Library

Latest Version

Downloads

The Oslo messaging API supports RPC and notifications over a number of different messaging transports.