Hi,

I got more feedback than expected on my asyncio spec for OpenStack. I
wrote a third version:
https://review.openstack.org/#/c/153298/

I removed unverified information to try to focus on facts. For
example, I focused on the correctness rather than trying to convince
anyone that asyncio will magically make the code faster, independently
of your workload. I also tried to explain better how third-party
libraries, not aware of asyncio, can be used without killing
performances (hint: loop.run_in_executor). Some developers also fear
that switching to asyncio requires to rewrite completly OpenStack. I
gave numbers to explain that no, you don't have to rewrite everything,
only a few functions.

Different developers think that writing code with threads is simpler
than writing code with eventlet or asyncio. I tried to warn them of
the well known "thread-safety" trap. Maybe I missed something.

A new concurrent spec has been written to replace eventlet with threads:
https://review.openstack.org/#/c/156711/

Enjoy reading these boring specs ;-)

Victor

Reply via email to