Re: [Modeling-users] Database Connections
Status: Abandoned
Brought to you by:
sbigaret
From: <so...@la...> - 2004-08-06 17:23:06
|
Take caution to one thing: Modeling heavly cache objects. So to be sure to have it working you have 2 options: - use a single python interpeter (using the ad-hoc apache2 config) - or disable Editing Context caches .. In this too approach the main drawnback is performance. I think the best way to solve this is to use something that give you a finer gain. I think quixote for example can fix that. I mean: You have a 1 process that fork and re-use process. By this way you can have Modeling caches (perhaps need extra lock to avoid crash) and don't bother w/ the forking needed at every request. (import Modeling is time consumming ..) Look at http://www.larsen-b.com/Article/130.html for little deeper explain of the problem. I haven't do this kind of stuff for a while.. but i think Modeling need something like Durus do .. a server process.. :) Bye Bye |