I have always wondered why the tables are executed on each request. For my apps, I moved them into a module and I also check if the table already exists, then bypass the creation. I hope the DAL is stateless in its table operations and that there are no multiple request contention issues.
- [web2py] Significant overhead with each define_table() James M.
- [web2py] Re: Significant overhead with each define_... Massimo Di Pierro
- [web2py] Re: Significant overhead with each def... James M.
- [web2py] Re: Significant overhead with each def... dlypka
- [web2py] Re: Significant overhead with each define_... James M.