Hi everybody, I've been using TurboGears for a couple of months now. Great work guys. I hope you can help me with my deployment problems.
I deployed my TurboGears app on DreamHost. Everything worked out as advertised on the TG Wiki, and I was hilarious to see my app running. And then the problems started. If you don't interact with the webapp for a while, it takes a lot of time to load. More than a minute. I saw that the server starts up actually. And it's not only if you don't interact with it. It happened also after just a few minutes playing around. It's generally very slow to respond. I didn't profile to see where the bottlenecks are, but even for simple operations - one query with few records in the database - takes several seconds to execute. The app has a lot of redirects: part of it is implemented using command pattern, so eventually all commands get redirected to an appropriate URL. After the command finishes, it redirects back to the main page. Bad idea. Redirects don't really work always in this set up. Sometimes you just don't get there. They make everything slower. I think that the problem is that they go through the FastCGI instead of being resolved by cherrypy. I still don't understand why is it that they don't work every time. And sessions - I had problems with them, but using following settings seems to solve it: sessionFilter.on = True sessionFilter.storageType="File" sessionFilter.storagePath="<actual sessions dir>" Your help will be greatly appreciated. Vladimir --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~----------~----~----~----~------~----~------~--~---

