Home  >  Q&A  >  body text

To deploy Django in an online environment, nginx+uwsgi and nginx+gunicorn, how should you choose between these two options?

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_leeringa_lee2713 days ago747

reply all(6)I'll reply

  • PHPz

    PHPz2017-05-16 17:20:27

    The first type, high concurrency and stability

    reply
    0
  • 仅有的幸福

    仅有的幸福2017-05-16 17:20:27

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

    reply
    0
  • ringa_lee

    ringa_lee2017-05-16 17:20:27

    Whatever
    We use nginx supervisor gunicorn

    reply
    0
  • ringa_lee

    ringa_lee2017-05-16 17:20:27

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

    reply
    0
  • 高洛峰

    高洛峰2017-05-16 17:20:27

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

    reply
    0
  • 大家讲道理

    大家讲道理2017-05-16 17:20:27

    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.

    reply
    0
  • Cancelreply