tomZhao 最近的时间轴更新
tomZhao

tomZhao

V2EX 第 127762 号会员,加入于 2015-07-18 11:26:23 +08:00
tomZhao 最近回复了
一般而言,会使用 gunicorn/uwsgi 做 server 来处理也就是你说的第二种。老实说,我比较不喜欢这种方式,
使用 supervisord 来启动多进程,监听多个端口, nginx 反向代理,则是第一种方式,也可以。我比较喜欢。可以做一些小的优化,比如 cpu 绑定之类的。
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2491 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 11ms · UTC 14:04 · PVG 22:04 · LAX 07:04 · JFK 10:04
Developed with CodeLauncher
♥ Do have faith in what you're doing.