Closed QIN2DIM closed 1 month ago
This type of task usually does not have several concurrency, even most of them are single request, flask + waitress is enough, and waitress is pure py, simple/compatible, in contrast, there is no need to add complexity to introduce asynchronous
Do you consider switching to Fastapi asynchronous interface?
For example, you can use the coroutine queue to handle tasks. In this way, the page will not be blocked when generating audio files