5

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?

kkubasik
  • 209
  • 3
  • 5

2 Answers2

1

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.

erny
  • 11
  • 1
0

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.

Olli
  • 768
  • 6
  • 16