Running multiple FCGI/Django on Nginx for load sharing

Posted by Barry on Server Fault See other posts from Server Fault or by Barry
Published on 2010-07-23T06:08:58Z Indexed on 2010/12/22 11:55 UTC
Read the original article Hit count: 337

Filed under:
|
|

I am running a web-service on Nginx/FastCGI/Django. Our processing time is fairly long and CPU intensive and I would like to be able to run multiple processes of Django/FastCGI to share the load. How do I set Nginx to rout requests from a single source to multiple instances of Django/FastCGI? (I can run the multiple instances on multiple ports/sockets, but I don't know how to make Nginx share the processing load between them.)

Any help much appreciated.

© Server Fault or respective owner

Related posts about nginx

Related posts about fastcgi