Django and it's server

0 views
Skip to first unread message

Knapp

unread,
Jul 27, 2008, 5:44:23 AM7/27/08
to traveller_movie
Hello all you new Django programmers!! Thanks for joining our project.
The first thing on the table is what server to run. Currently that is
lighttpd but Apache is a second but slower on my computer option.
What does everyone think?
I also wanted to say that servers and networking are one of my weaker
areas of computer expertise. I have done most of my computer work with
graphics programming and game design, and computer art.

--
Douglas E Knapp

http://sf-journey-creations.wikispot.org/Front_Page

Kenneth Gonsalves

unread,
Jul 27, 2008, 6:21:26 AM7/27/08
to Travell...@googlegroups.com

On 27-Jul-08, at 3:14 PM, Knapp wrote:

> The first thing on the table is what server to run. Currently that is
> lighttpd but Apache is a second but slower on my computer option.
> What does everyone think?

apache with mod_python for django and lighttpd for media

--

regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/code/

Knapp

unread,
Jul 27, 2008, 6:49:45 AM7/27/08
to Travell...@googlegroups.com
On Sun, Jul 27, 2008 at 12:21 PM, Kenneth Gonsalves
<law...@thenilgiris.com> wrote:
>
>
> On 27-Jul-08, at 3:14 PM, Knapp wrote:
>
>> The first thing on the table is what server to run. Currently that is
>> lighttpd but Apache is a second but slower on my computer option.
>> What does everyone think?
>
> apache with mod_python for django and lighttpd for media
>
> --
>
> regards
> kg

What is the advantage of having two servers? Why not just one or the
other? It would seem to me that having two would use more memory and
more CPU.

Kenneth Gonsalves

unread,
Jul 27, 2008, 11:05:38 AM7/27/08
to Travell...@googlegroups.com

On 27-Jul-08, at 4:19 PM, Knapp wrote:

>> apache with mod_python for django and lighttpd for media
>>
>> --
>>
>> regards
>> kg
>
> What is the advantage of having two servers? Why not just one or the
> other? It would seem to me that having two would use more memory and
> more CPU.

the core django developers recommend separating django from media.
For django the most efficient option is apache/mod_python and for
media lighty. I have a feeling that this site would be media-heavy
with a lot of images. We could have apache for both - with mod_python
for django and without for media, but I think in terms of memory and
CPU the first option is better.

Reply all
Reply to author
Forward
0 new messages