Gunicorn上跑pyramid

看到 Instagram他们用了这个服务器于是仔细看了一下,是prefork 多进程 WSGI http server.


使用非常简单

1:  pip install pyramid gunicorn


2:  paster create -t pyramid_alchemy

扫描二维码关注公众号,回复: 713961 查看本文章

 

3:  python setup.py develop

 

 4 : gunicorn_paster -w5 development.ini 

另外 可通过 gunicorn-consol 监控 服务  进程

猜你喜欢

转载自hqman.iteye.com/blog/1299206