On Tue, Nov 26, 2013 at 10:14 PM, Ricardo Pedroso <[email protected]>wrote:
> And to see how much you loose when doing dynamic serving against static > content serving, just create a web2py > application with only one file: > > models/0.py: > > raise HTTP(200, 'OK') > > > Yes, I tried something similar and it worked well. Its all about loading models which I am going to optimize now. My original doubt was why models are loading slowly. I have got some useful inputs on that part :) > > On Tue, Nov 26, 2013 at 4:40 PM, Anthony <[email protected]> wrote: > >> I think as you say the problem is with table definition code, which I am >>> trying to sort out. If you have any other suggestions regarding the same >>> (speeding up and concurrency) please let me know. I am really thankful to >>> all of you for helping me out :) >>> >> >> See third bullet here: >> http://web2py.com/books/default/chapter/29/13/deployment-recipes#Efficiency-tricks >> >> Also, see http://web2py.com/books/default/chapter/29/04/the-core#Workflow for >> details on conditional models as well as >> http://web2py.com/books/default/chapter/29/04/the-core#markmin_response_models_to_run >> for >> more fine-grained control over which models get run. >> >> And of course, there is the DAL(..., lazy_tables=True) option. >> >> Anthony >> >> -- >> Resources: >> - http://web2py.com >> - http://web2py.com/book (Documentation) >> - http://github.com/web2py/web2py (Source code) >> - https://code.google.com/p/web2py/issues/list (Report Issues) >> --- >> You received this message because you are subscribed to the Google Groups >> "web2py-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to a topic in the > Google Groups "web2py-users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/web2py/rH1C7iXMPNA/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

