Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


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.


Have you benchmarked the same app running on Lighty and FCGI? You shouldn't have to change much, if anything.


no. is that a common solution for hi-traffic service?

what would lighty/fcgi replace?


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: