To deploy Django in an online environment, nginx+uwsgi and nginx+gunicorn, how should you choose between these two options?
ringa_lee
ringa_lee 2017-05-16 17:18:27
0
6
793

Deploying Django in an online environment, nginx+uwsgi and nginx+gunicorn, how to choose between these two options?

What deployment method do you use?

ringa_lee
ringa_lee

ringa_lee

reply all(6)
PHPzhong

The first type, high concurrency and stability

仅有的幸福

Our company uses nginx+gunicorn, mainly for convenience. Performance can be optimized in other ways.

左手右手慢动作

Whatever
We use nginx supervisor gunicorn

左手右手慢动作

Instagram is converted from uwsgi to gunicorn. It is recommended to use gunicorn. The configuration is simple and convenient.

小葫芦

Recommend nginx supervisor gunicorn
Simple configuration and convenient operation and maintenance.

大家讲道理

The nginx+gunicorn method is used. I have never used uwsgi, so I can’t compare it. In terms of gunicorn’s experience, it is already very fast. nginx handles almost all static file requests. In fact, there are already many requests that need to be processed by gunicorn. not enough.
gunicorn can be configured directly using Python files, making it more comfortable to try.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template