Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I was wondering if anyone has used uwsgi with nginx to serve a high-load django site before. If so, did they have any problems?

share|improve this question

2 Answers 2

We did some tests and it seems that uwsgi just answers with one concurrent request per process. This is because uwsgi DOESN'T fork off another process or thread. If make your application fully asynchronous (you have to use "yield" as often as possible), you could use uwsgi async feature. This should make your app a lot more scalable. As of trunk of uwsgi, threading is now supported with a max number of threads.

share|improve this answer

We encountered performance problems with same combination and successfully switched to fastcgi without investigating much further. Can't recommend but can't give perfect reasoning and analysis either.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.