On 2007-08-09 17:08:55 +0530, Srinivasan R wrote: > I need to run many TG applications. So, I think it would not be wise > to run each application on a seperate port with apache acting as the > proxy. That is the reason why I tried mod_python.
In my experience, running them as standalone processes and proxying works much better *especially* if there are a lot of TG applications. I'm not sure why, but running with mod_python seems to result in a bunch of huge, slow apache processes that take up much more memory than the same apps running standalone. On one of our production servers, I currently have 14 TG apps running (standalone) behind a lighttpd proxy and it's using 208MB of RAM total (so including the system, lighttpd, supervisord, and postgres). We originally had them deployed with mod_python and were running out of memory on a 1GB system. I do highly recommend taking full advantage of workingenv.py and supervisor2 though if you're going to run a lot of TG apps on one server. They've both made my admin load much lighter. -- anders pearson : http://www.columbia.edu/~anders/ C C N M T L : http://www.ccnmtl.columbia.edu/ weblog : http://thraxil.org/
signature.asc
Description: Digital signature

