看到 Instagram他们用了这个服务器于是仔细看了一下,是prefork 多进程 WSGI http server.
使用非常简单
1: pip install pyramid gunicorn
2: paster create -t pyramid_alchemy
3: python setup.py develop
4 : gunicorn_paster -w5 development.ini
另外 可通过 gunicorn-consol 监控 服务 进程
Prefork WSGI 服务器部署教程
本文介绍了一种使用 Prefork 多进程 WSGI HTTP 服务器部署 Pyramid 应用的方法。通过简单的四步操作:安装依赖、创建项目、配置开发环境及启动服务,即可快速完成应用部署。此外,还提供了 gunicorn-consol 工具来监控服务进程。
看到 Instagram他们用了这个服务器于是仔细看了一下,是prefork 多进程 WSGI http server.
使用非常简单
1: pip install pyramid gunicorn
2: paster create -t pyramid_alchemy
3: python setup.py develop
4 : gunicorn_paster -w5 development.ini
另外 可通过 gunicorn-consol 监控 服务 进程
2983

被折叠的 条评论
为什么被折叠?