Re:Hire YC: Need high-traffic Django help ASAP
by erlanger on Wednesday March 11, 2009 @06:49PM
(#512763)
mod_wsgi. If nginx is serving as a proxy or a file server too? If the former, I'd go with HAProxy. If the latter, Lighttpd works very well with Python and FastCGI.
[ Parent
| on HN ]
Re:Hire YC: Need high-traffic Django help ASAP
by mattdennewitz on Wednesday March 11, 2009 @06:54PM
(#512773)
just switched to modwsgi
response time is up to 30 sec with 1 thread and 50 processes. nginx is up front as a proxy and a file server.
Re:Hire YC: Need high-traffic Django help ASAP
by erlanger on Wednesday March 11, 2009 @06:56PM
(#512776)
Have you benchmarked the same app running on Lighty and FCGI? You shouldn't have to change much, if anything.
Re:Hire YC: Need high-traffic Django help ASAP
by mattdennewitz on Wednesday March 11, 2009 @06:57PM
(#512780)
no. is that a common solution for hi-traffic service?
what would lighty/fcgi replace?
Re:Hire YC: Need high-traffic Django help ASAP
by a_toker on Wednesday March 11, 2009 @10:11PM
(#512874)
Lighttpd would serve both static files and the application. Reddit uses web.py with Lighty+FCGI, and I see no reason that you couldn't run your Django app on it. I use Apache + mod_wsgi for the Apache modules, but I'm taking a good look at lighttpd+FCGI to get more out of my server for my Django and Trac installations.