I am building a Bottle wsgi application and trying to understand how mod_wsgi handles each http request for the wsgi script file.
Does each request use a separate process until the script has completed (and then release it) or can one process handle multiple requests with threads?
Either is possible. See the mod_wsgi docs on this question. I believe the default is to use 15 threads and 1 process. The WSGIDaemonProcess configuration directive allows you to control this in Apache.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.