Re: Database Connections
[email protected] Fri, 6 Aug 2004 19:22:58 +0200
| Newsgroups | gmane.comp.python.modeling |
|---|---|
| Message-ID | <[email protected]> |
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 ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com