Re: Why 2 servers to serve dynamic and static content?

2008-07-17 Thread Norman Harman
eka wrote: > Hi, > > I'm new to django, and reading around, found out that it's better to > have 2 different web servers for django and static content. How is so? It's scalability issue. Each process of a server setup to serve dynamic content (using mod_python for instance) typically uses much

Re: Why 2 servers to serve dynamic and static content?

2008-07-17 Thread Jon Brisbin
On Jul 17, 2008, at 10:43 AM, 3xM wrote: > >> And in deployment, how should this be? I mean, should I have 2 apache >> instances? or use another web server for static content or...? > > You can use the same Apache instance, running 2 different virtual > hosts: One for the Django site and the othe

Re: Why 2 servers to serve dynamic and static content?

2008-07-17 Thread 3xM
> And in deployment, how should this be? I mean, should I have 2 apache > instances? or use another web server for static content or...? You can use the same Apache instance, running 2 different virtual hosts: One for the Django site and the other for serving static files. That will probably be s

Why 2 servers to serve dynamic and static content?

2008-07-17 Thread eka
Hi, I'm new to django, and reading around, found out that it's better to have 2 different web servers for django and static content. How is so? And in deployment, how should this be? I mean, should I have 2 apache instances? or use another web server for static content or...? Regards. Eka --~-