I'm serving a few sites from a tiny VPS, and I'm quite happy with a
Apache/mod_wsgi setup. I've managed to reduce the Apache footprint by having
only a few necessary modules loaded. mod_wsgi is setup to use daemon mode
and start multiple processes per site.

Currently, each site has its own python-path and the system python
installation does not contain anything but stock python modules. Each site
has its own copy of Django and various other libraries. Is there a
performance gain to be had by having the sites share these libraries? They
are different processes, so I think not, but I'm not quite sure. Also,
another benefit that I can think of is that if the files were the same, the
OS (Linux 2.6.27) would be able to cache them better, but again I'm not
quite sure.

This is probably a micro enhancement, but I'm trying hard to keep the memory
consumption low.


-Naitik

ps: Another enhancement I'm looking into when I have time is the event mpm,
but that one requires me to give up my distro apache. Thoughts?

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to