conductor-python icon indicating copy to clipboard operation
conductor-python copied to clipboard

Support for asyncio based workers

Open aditya-n-invcr opened this issue 2 years ago • 1 comments

The current worker implementation model uses multiprocessing for parallel execution but each process blocks on task execution (though it might be waiting on I/O). Is there a possibility to use asyncio/threaded approach to alleviate this problem and think of a model where processes could be used for parallelization (using multiple cores) and each process has an event loop/ThreadPool to poll and execute tasks to maximize performance on each core ?

I'd be happy to discuss more on this and submit a PR if required as well. Thanks for all the awesome work so far 👍

aditya-n-invcr avatar May 29 '23 06:05 aditya-n-invcr

Hi @aditya-n-invcr happy to discuss this further.

v1r3n avatar Jan 22 '24 06:01 v1r3n