A
A
Andrey Prokopyuk2013-05-06 15:51:30
Debian
Andrey Prokopyuk, 2013-05-06 15:51:30

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

2 answer(s)
Y
Yuri Shikanov, 2013-05-06
@dizballanze

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.

S
skomoroh, 2015-01-22
@skomoroh

nginx + uwsgi --emperor + supervisor

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question