I will make said changes, and add my Flask-DAL extension to the flask app, so at least the database layer will be the exact same.
Flask handles sessions too. I shouldn't disable web2py sessions while letting flask use sessions, that would be an unfair test too. The good news is, that even with migrate=True the DAL still outperforms sqlalchemy (yay). So using sqlalchemy would result in a slightly slower flask. -- Thadeus On Wed, Jul 21, 2010 at 9:02 AM, mdipierro <mdipie...@cs.depaul.edu> wrote: > I agree with your assessment. The problem you, Iceberg, Rahul, and > MikeEllis are having with Rocket appears distinct from the problem > Thadeus is having uwsgi+cherokee. > > In my previous email I tried to suggest changes in Thadeus code to > isolate the cause of his problem. > > Going back to your problem. I am still suspicious that this is a cron > issue. Can you try change cron=True into cron=False in web2py.py? > > Massimo > > > > On Jul 21, 8:41 am, Kuba Kucharski <kuba.kuchar...@gmail.com> wrote: > > > You said: "I moved to apache/WSGI from Rocket. For me the problem > > > disappears." therefore your problem is not the same that some other > > > problems experienced with apache/WSGI. > > > > look at Iceberg, Rahul, MikeEllis in this thread > > > > >You also said you cache.ram all > > > requests. Can you try remove the caching? Any improvement? > > > > I think there are two or more problems. One is Thadeus having. The > > second was described by me. They can be the same but they seem not to > > be. As I investigated in this thread people talking about "my kind of > > the problem" report using rocket/cherrypy. Removing caching gives no > > improvement. >