Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Deploying a Django Site using FastCGI (djangoadvent.com)
17 points by uggedal on Feb 19, 2010 | hide | past | favorite | 4 comments


Doesn't look any easier than a mod_wsgi setup, especially on Ubuntu which he chose as the server OS, so the rationale 'Maybe it's that we want to avoid the added complexity of Apache in our setup.' does not really hold. Also, like some of the other articles in the series it looks more like a random blog post than an article dedicated to a new Django 1.2 feature.


  it looks more like a random blog post than an article dedicated to a new Django 1.2 feature.
It's not a 1.2 feature -- FastCGI has been supported since before 1.0, and the 0.96 docs[1] show how to use FastCGI.

[1] http://www.djangoproject.com/documentation/0.96/fastcgi/


Brilliant! I'm using my own little hacked-together system for all my sites right now that handles like a champ, but this looks like a much more structured and secure setup.


We were just looking at flup's code today and wished that its behavior with idle threads was a little better, that it wouldn't kill them off right away but wait a bit to see if more requests come in, like Apache can be configured to do. Maybe we'll send in a patch.




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

Search: