Open
Description
Using asyncio will be greatly beneficial in the use case of transcription as most of the time the client waits for a response on a socket when your servers are doing all the great work.
concurrent.futures implementation still works but is not as good for two main reasons:
- The hardware capabilities limit the number of executor workers (or just threads), unlike asyncio's lightweight coroutines
- concurrent.futures module issues blocking operations which can block the event loop in a fully asynchronous environment
Hope for positive feedback on that!