Re:How to configure nginx and uWSGI to serve Django projects
by gardentheory on Tuesday January 17, 2012 @12:39PM
(#3475649)
Well i think the gist is that serving files and running applications have different resource requirements. Therefore it is common to have a proxy serve statics and proxy in addition to an application server running python. The advantage with uwsgi as i understand it is that the proxy protocol is faster than http.
[ Parent
| on HN ]
Re:How to configure nginx and uWSGI to serve Django projects
by unbit on Tuesday January 17, 2012 @12:49PM
(#3475690)
No, uWSGI has nothing to do with performance. Its strength is in the features and operational modes. Each application is diferent from the others and (could) requires specific tuning.
This is the spirit of the project, that is at the opposite of solutions like gunicorn. There is no "best choice", it depends on how you approach to system administration/development. Saying uWSGI is better than gunicorn (or the opposite) is like comparing bananas with oranges.
Re:How to configure nginx and uWSGI to serve Django projects
by gardentheory on Wednesday January 18, 2012 @12:04PM
(#3480650)
I have only used apache as an application server with mod wsgi behind nginx. I have not used gunicorn or uwsgi. Yhanks for the correction, I should have just stopped my explanation before that.