Note that there are some explanatory texts on larger screens.

plurals
  1. POClarification: Does Heroku Run Python Apps Behind Nginx or Not?
    primarykey
    data
    text
    <p><strong>TL/DR: My primary question: Is it worth my time to try to add NGinx to my Django/Gunicorn/Cedar/PostgresSql app or does Heroku do this type of performance improvement for me?</strong></p> <p>In the Cedar documentation (https://devcenter.heroku.com/articles/cedar), it clearly states that cedar does not support a reverse-proxy. "Cedar does not include a reverse proxy cache such as Varnish, preferring to empower developers to choose the CDN solution that best serves their needs."</p> <p>Again in the Routing article (https://devcenter.heroku.com/articles/http-routing#gzipped-responses), it is specified that nginx is not done automatically: 'Since requests to Cedar apps are made directly to the application server – not proxied through an HTTP server like nginx – any compression of responses must be done within your application."</p> <p>However, in the Python Faq, it says otherwise: <a href="https://devcenter.heroku.com/articles/python-faq#do-python-applications-run-behind-nginx" rel="nofollow">https://devcenter.heroku.com/articles/python-faq#do-python-applications-run-behind-nginx</a> "No. There is no need for using a reverse proxy on Heroku because the Heroku Cloud Platform takes care of everything those servers normally do for you.</p> <p>Your application simply provides a Python server to respond to HTTP requests.Gunicorn, Gevent, and Eventlet are excellent options.</p> <p>Because the web server is embedded in your application, you can easily test and debug the exact same code in any environment. This development and production parity makes it easy to troubleshoot problems during your development cycle."</p> <p>It seems to me like Heroku takes care of some of the benefits of reverse proxies, but not compression. Is that true? </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload