Hi, I am trying to get my head around hosting around 50 sites using pretty much the same codebase. The way I see it I have two approaches:
1. Have the common code in a library which is referenced across all the sites. My concern is that I may have to have 50 instances of UWSGI running, which would probably eat up my memory. 2. Have a single site which changes it's content based on the hostname, and runs on a single UWSGI instance like the django sites framework: https://docs.djangoproject.com/en/dev/ref/contrib/sites/ On paper, option 2 seems best, because I only need a single UWSGI instance so my memory useage will be less, but I really don't like the system, the code will end up looking quite ugly. I just wondered if anyone else had encountered this sort of thing and could offer any input at all to help me on my way. Thank you.
_______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
