Skip to content

Asynchronous transcription via asyncio #80

Open
@serozhenka

Description

@serozhenka

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions