Saturday, June 26, 2010

Re: Deployment hesitation after James Bennett's post, WSGI or ...?

On 24 Jun 2010, at 12:15, Daniel Roseman <daniel@roseman.org.uk> wrote:

> On Jun 24, 10:54 am, Dave E <dever...@innotts.co.uk> wrote:
>> I'm about to enter my first deployment learning curve, but after
>> reading James Bennett's post 'Let's talk about WSGI' (http://www.b-
>> list.org/weblog/2009/aug/10/wsgi/) and further procrastinating by
>> reading through a whole pile of (horribly varying) tutorials and WSGI
>> guides, I'd like to know:
>>
>> 1. what the Django deployment wisdom is for the near future?
>
> WSGI. Absolutely no question about it.
>
>> 2. whether it's really worth running lighttpd (or whatever) for static
>> files on small-scale sites (say, where there's just a blog and a few
>> rarely-altered pages)?
>
> No, not really. For that setup, a single Apache instance is fine.
>
>> (My very small partnership runs Apache2 on a Linux VPS server (Debian
>> 5.0.4/Lenny with 512 MB).
>

For this kind of setup I can really recommend going with nginx + fcgi or gunicorn. Do you require Apache for other parts of your setup? If not then it is worth considering getting rid of it.

> --
> DR.
>
> --
> 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+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
>

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment