【问题标题】:What is the difference between using HttpUwsgiModule for NGINX and using NGINX as a reverseproxy to uWSGI?为 NGINX 使用 HttpUwsgiModule 和使用 NGINX 作为 uWSGI 的反向代理有什么区别?
【发布时间】:2013-11-03 10:18:27
【问题描述】:

使用 HttpUwsgiModule 和 NGINX 来控制 uWSGI 自发布以来已经非常流行。

不过我想知道,与使用 NGINX 作为 uWSGI 应用程序的反向代理相比,它有什么优势?

两种不同用例的收益和损失是什么?

【问题讨论】:

    标签: python nginx webserver reverse-proxy uwsgi


    【解决方案1】:

    简单地说,当你使用HttpUwsgiModule时,NGINX会说uwsgi protocol,它可以忽略http protocol的无用信息,从而减少开销,从而提高性能。

    【讨论】:

    • 谢谢@Paolo。非常简单的答案。
    猜你喜欢
    • 1970-01-01
    • 2017-10-04
    • 2015-02-09
    • 1970-01-01
    • 2016-12-01
    • 2018-05-10
    • 1970-01-01
    • 2018-09-08
    • 1970-01-01
    相关资源
    最近更新 更多