[openstack-dev] [all][Python 3.4-3.5] Async python clients
lildee1991 at gmail.com
Sun Jun 26 12:56:14 UTC 2016
I know that some work in progress to bring Python 3.4 compatibility to
backend services and it is kinda hard question to answer, but i'd like to
know if there are any plans to support asynchronous HTTP API client in the
nearest future using aiohttp  (PEP-3156)?
If yes, could someone describe current state?
This question is being asked because i've been working on AIOrchestra 
(async TOSCA orchestration framework) and its OpenStack plugin , so from
its design approach i need to use asynchronous HTTP API clients in order to
get full power from UVLoop, AsyncIO event loop over Python 3.5 for fast,
lightweight and reliable orchestration. But current clients are still
synchronous and only Py3.4 or greater parser-compatible. Major problem
appears when you trying to provision resource that requires to have some
time to reach ACTIVE/COMPLETED state (like, nova instance, stack, trove
database, etc.) and you have to use polling for status changes and in
general polling requires to send HTTP requests within specific time frame
defined by number of polling retries and delays between them (almost all
PaaS solutions in OpenStack are doing it that might be the case of
distributed backend services, but not for async frameworks).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OpenStack-dev