Accept requests from multiple users #4838
-
I have a request in my Flask application that performs video processing through a neural network. It will take time for another user to not be able to access the website because Flask is busy doing a lot of calculations. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Beta Was this translation helpful? Give feedback.
-
For requests that take a long time, you might want to consider starting a background job for them. The server component that comes with Flask is really only meant for when you are developing your application. Even though it is configured to handle concurrent requests by default. |
Beta Was this translation helpful? Give feedback.
For requests that take a long time, you might want to consider starting a background job for them.
The server component that comes with Flask is really only meant for when you are developing your application. Even though it is configured to handle concurrent requests by default.