oslo.messaging/oslo_messaging
Victor Stinner d8e68c365b Add a new aioeventlet executor
The new executor supports trollius coroutines, explicit asynchronous
programming, in addition to eventlet greenthreads, implicit asynchronous
programming.

The new AsyncioEventletExecutor class is based on the EventletExecutor
class and so it is compatible with it. The aioeventlet executor can be
used to replace the eventlet executor, but it requires an aioeventlet
event loop running in the thread running the executor (usually the main
thread). See AsyncioEventletExecutor docstring for an example how to
setup such event loop.

The aioeventlet module implements the asyncio API (PEP 3156) on top of
eventlet, see aioeventlet documentation:
http://aioeventlet.readthedocs.org/

The change adds an unit test with an endpoint implemented as a trollius
coroutine.

The executor is not supported on Python 3 yet because of eventlet issues
with monkey patching.

Implements: blueprint greenio-executor
Change-Id: I7a78ed998719a703077232726f66d882463b1297
2015-02-05 12:11:37 +01:00
..
_cmd Update Oslo imports to remove namespace package 2015-01-21 21:09:33 -05:00
_drivers Merge "Make sure zmq can work with redis" 2015-02-04 16:37:14 +00:00
_executors Add a new aioeventlet executor 2015-02-05 12:11:37 +01:00
notify Merge "Implements notification-dispatcher-filter" 2015-02-04 02:40:06 +00:00
openstack Move files out of the namespace package 2015-01-12 12:50:41 -05:00
rpc Update Oslo imports to remove namespace package 2015-01-21 21:09:33 -05:00
tests Add a new aioeventlet executor 2015-02-05 12:11:37 +01:00
__init__.py Move files out of the namespace package 2015-01-12 12:50:41 -05:00
_i18n.py Update Oslo imports to remove namespace package 2015-01-21 21:09:33 -05:00
_utils.py Move files out of the namespace package 2015-01-12 12:50:41 -05:00
conffixture.py Move each drivers options into its own group 2015-02-02 10:58:54 +01:00
exceptions.py Move files out of the namespace package 2015-01-12 12:50:41 -05:00
localcontext.py Move files out of the namespace package 2015-01-12 12:50:41 -05:00
opts.py Move each drivers options into its own group 2015-02-02 10:58:54 +01:00
serializer.py Move files out of the namespace package 2015-01-12 12:50:41 -05:00
server.py Move files out of the namespace package 2015-01-12 12:50:41 -05:00
target.py Move files out of the namespace package 2015-01-12 12:50:41 -05:00
transport.py Update Oslo imports to remove namespace package 2015-01-21 21:09:33 -05:00