web framework on windows which support multi-process

Viewed 19

I need to set up a web service on the Windows operating system. The service needs to invoke many exe files on the Windows operating system.

I use the tornado framework on python. However, tornado does not support multi-process on Windows. That is, num_processes in http_server.start(num_processes) can only be set to 1. Then, if a background api takes a long time, the other front-end operations will be blocked.

I checked other web frameworks, such as Flask. It seems that it also do not support multiple Windows processes because Windows does not have the os.fork method.

I wonder if there is a web framework that supports multiple processes in Windows. If not, what should I do to solve the problem of single-process blocking?

Hope for reply. Thanks very much!

0 Answers
Related