Closed JackKCWong closed 3 years ago
It seems there is no way to kill a process tree in java 8, which has been fixed in java 9 with ProcessHandle Is it moving to java 9 or better anytime soon?
I don't know enough about Python to answer your first question sorry. As for the second, yeah I'm considering moving to Java 11.
thanks. java 11 sounds good. python is a bit special that even multi threading can only utilize one cpu. So production-ready web apps are usually running behind a wsgi server, which is something like the java servelet container for java web app. I will check again when we are on java 11 to see if/how apprunner should support this. :)
For python web apps it is usually run behind a wsgi server like gunicorn which uses child processes to serve concurrent requests. But the python sample app seems to suggest not to use child processes in app runner. Or is this just peculiar to Flask?