On Dec 8, 2007 10:57 PM, Carl Karsten <[EMAIL PROTECTED]> wrote:
> I this text, does "separate Web server" contingent on a 2nd box?  If it is 
> only
> one box, the same Apache instance would be preferred, right?

No, and no.

You don't have to have separate physical machines, but the recommended
setup is to have separate instances of whatever HTTP daemon you
prefer. The reason for this is that it's a gross waste of resources in
many cases to have a server process loaded up to serve requests
through Django, and then use that process for nothing more than
reading a file off disk and sending it down the wire -- you're tying
up a valuable and limited resource when you do this. Running a
separate instance of the HTTP daemon whose sole job is serving files
off disk (and possibly a different HTTP daemon, as not all such
daemons are created alike or optimized for the same use patterns)
frees up that valuable resource to do nothing but serve requests
through Django.


-- 
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."

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

Reply via email to