I've setup a simple webserver on my home windows computer using waitress to serve a Dash app. It's working well, but some of the app code involved heavy computations that take tens of seconds, hence blocking and making the experience sluggish when concurrent connections happen. I've seen a few threads on the topic of multiprocessing with python webserver but all answers I could find are not windows-compatible as they tend to rely on gunicorn. For example: Multiprocessing with any popular python webserver Is there a native solution to this problem that wouldn't involve a heavy and complex setup?
Asked
Active
Viewed 23 times