On Jan 12, 9:16 pm, Andres Reyes <armo...@gmail.com> wrote:
> You mean that the webserver that Django itself recommends in 
> https://docs.djangoproject.com/en/dev/howto/deployment/is not a good
> choice?
>

When that documentation was written, apache/mod_wsgi was likely the
best, easiest, and most stable option. That combination still works
today and many people use it successfully. To that extent, it is a
good choice.

However, I am saying it is not the best choice anymore -- at least not
for people who are just getting started and/or people who lack prior
apache experience. In this case I would recommend nginx or lighttpd or
cherokee for the web server and gunicorn or uwsgi for the application
server. By this time they are stable, and they are faster and easier
than apache/mod_wsgi.

I wrote more about this in a reply to this thread where I changed the
subject to "Web Servers for Django Projects".

If I recall correctly, I have heard some of the core devs mention
updating the docs to include some of these other options. I wonder if
anyone has submitted a patch for those doc updates. If not, maybe I've
found my weekend project.

A final thought that I did not consider until just now -- cross-
platform compatibility might be a factor. I use linux for everything,
so that's all I care about. To be frank I have no idea whether nginx /
lighttpd / cherokee / gunicorn / uwsgi run on Windows or Mac. If they
do not then that can tend to complicate the docs somewhat.


--Stuart

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to