[nova][dev] Fixing eventlet monkey patching in Nova

Ben Nemec openstack at nemebean.com
Fri Mar 15 22:06:10 UTC 2019



On 3/15/19 4:41 PM, Monty Taylor wrote:
> 
> FWIW, we use explicit threads in Zuul and Nodepool and have been very 
> happy with them- since they're explicit and don't require weird 
> monkeypatching.
> 
> In sdk, there are a few things that need to be done in the background 
> (when uploading a very large swift object and we're going to split it in 
> to chunks and upload concurrently) In that case we used 
> concurrent.futures.ThreadPoolExecutor which creates a pool of threads 
> and allows you to submit jobs into it ... very simiar to the 
> using-pool-of-workers example above.

This is what we did in the oslo.privsep daemon too when we added 
parallel execution.



More information about the openstack-discuss mailing list