Answer the question
In order to leave comments, you need to log in
Optimal way to run a Django project on Debian 6 for high load?
I know the following ways to run:
- FastCGI (no extra steps, manage.py runfcgi)
- Apache + mog_wsgi (easy to implement by installing the right packages)
- uWSGI (not easy to implement on Debian, but often discussed)
Which one is the best? I've often come across mod_wsgi and uWSGI comparisons that claim they are roughly equal in terms of performance. Somewhere I saw a comparison of uWSGI and FastCGI, where uWSGI won. Does this mean that the Apache option is quite good?
What do experienced Django developers advise if a high load is expected? Maybe, in addition to the method, they will also advise something about setting the parameters?
Answer the question
In order to leave comments, you need to log in
I am using nginx + gunicorn . All static is served through nginx, and it also proxies requests to gunicorn.
Shows good results if it is possible to run multiple instances of gunicorn.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question