WSGI

WSGI web服务接口。
APACHE 分担请求负担。
supervisor 是用 Python 开发的一个 client/server 服务,是Linux/Unix系统下的一个进程管理工具。可以很方便的监听、启动、停止、重启一个或多个进程。用supervisor管理的进程,当一个进程意外被杀死,supervisor监听到进程死后,会自动将它重启,很方便的做到进程自动恢复的功能,不再需要自己写shell脚本来控制。
gunicorn 是一个 wsgi http server ,只支持在Unix系统上运行。

wsgi:
参考:
https://www.jianshu.com/p/c66d3adeaaed
http://www.pianshen.com/article/9262135675/

WSGI相当于是Web服务器和Python应用程序之间的桥梁。

gunicorn, uwsgi就是实现了WSGI server协议的web server.
Django,Flask等等就是实现了WSGI application协议的 web framework。


使用gunicorn和supervisor部署
https://www.jianshu.com/p/bbd0b4cfcac9

WSGI及gunicorn指北(一)
https://www.cnblogs.com/yuwhuawang/p/wsgi.html

Linux:前后端项目部署(vue + drf)(基于nginx + uwsgi)
https://www.cnblogs.com/cyycyhcbw/articles/10218458.html

mac下supervisor安装及简单配置
https://www.jianshu.com/p/050273859836
原文地址:https://www.cnblogs.com/daysme/p/11039150.html