views:

753

answers:

3

There's no much documentation on how to deploy a Django project with Spawning and yet people are recommending it over apache/mod_wsgi.

In another similar question, other SO user suggested me to open a new question specific to Spawning, so hopefully others can share their experiences too.

+3  A: 

I'd be interested in seeing whose seriously recommending Spawning over Apache and mod_python or mod_wsgi.

Judging by the fact that this question is now the #4 result in Google for 'django spawning' I'd say it's very much early days. :) If you're putting anything serious into production stick to Apache/mod_wsgi for now.

Andy Hume
+1. I've seen a few people talk about playing with Spawning, but I've yet to hear of a single serious production website that's using it (not to say there isn't one). AFAICT the momentum is still with Apache/mod_wsgi.
Carl Meyer
lighttpd and nginx is more serious
I've asked a question relating to Apache's overhead when using mod_wsgi and I've had a few people vote spawning up... http://stackoverflow.com/questions/488864/django-deployment-cutting-apaches-overhead
Ty
+2  A: 

Eric Florenzo did some basic testing of spawning. Make sure and read all the comments as well as the main post.

Personally I always like investigating these kinds of solutions, but in this case I just can't even get to a benchmarking stage. There are too many important features I need in Apache (ssl client certs, run mongrel servers under fastcgi, django under wsgi, php gasp, static files served directly, ssl for each ip address, dozens of virtual hosts on multiple ip addresses, etc.).

Van Gale
I've read that post, nice resource... I was going to include it in the question, but I forgot. Thanks for your personal opinion!
Tiago
Why not edit the question and add it now?
akaihola
+3  A: 

cd to your django's settings.py directory.

Here is the command line to serve your django application

spawn --factory=spawning.django_factory.config_factory settings --port 80
Pierre-Jean Coudert
Would this have to be done again if the server was restarted?
Ty