conductor-oss / conductor-oss/python-sdk
Support for asyncio based workers
- Lenguaje dominante
- Python
- Estrellas
- 104
- Forks
- 42
- Merge medio
- 2 d 1 h
- PR fusionados (30 d)
- 3
Descripción
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 👍
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.