Been using mod_python for a while, I read more and more articles about how good WSGI is, without really understanding why.
So why should I switch to it? What are the ben
Usually, if you have a Web Server like NGINX or Apache, you have to enable modules (although the configuration of modules in both cases are different).
WSGI is a standard described on PEP 3333 and basically, provides a standard interface between web applications written in Python and Webservers.
That means, WSGI gives portability to your Python Web Application across many different Web Servers, without any additional configurations on your NGINX, Apache, etc.
Besides that, a WSGI server can give you a lot of functionalities with more flexibility, in comparison with a Web Server. Gunicorn, provides a lot of features like:
Here is a complete document about the options supported by Gunicorn.
As System Administrator, you don't need to understand every detail about the standard but as Software Developer, you may need to understand a little bit more, than just doing pip install gunicorn
and so on.