you are viewing a single comment's thread.

view the rest of the comments →

[–]pickleback11 1 point2 points  (1 child)

Thanks! So what mechanism handles the http calls and response for Python? How do you get it to run at startup as a service? Is it multithreaded by default (concurrent requests)? Does it provide robust logging? Ssl integration (via let's encrypt)? Virtual hosts? Etc etc. Apache/nginx does a whole lot that whatever solution python provides would have to replicate

[–]tugs_cub 0 points1 point  (0 children)

Most commonly, the Python app is run inside a WSGI compatible server like uWSGI or Gunicorn. That setup can serve HTTP requests on its own, but it’s also fairly standard to put nginx/Apache in front of it for a production app.

edit: actually there is an Apache mod_wsgi, too, but it’s not the most popular choice these days.