Re: [web2py] Re: recognizing web2py restart

2012-05-30 Thread David McKeone
Warning: I'm still new to python and web2py so this may be wacky, but... Could you make a cached method with side-effects and an infinite expiry? Since RAM would always be cleared on a restart it would theoretically only ever be run on cold start. first_time = False def first_start_check():

[web2py] Re: More DB issues

2012-05-28 Thread David McKeone
Bruce, This looks like a similar error to what you received: StackOverflow More generally, deadlock happens because two sessions are trying to update the same table but holdin

Re: [web2py] Re: Questions for an application with a large number of features and a large database.

2012-05-28 Thread David McKeone
27, 2012 8:56 AM, "Cliff Kachinske" wrote: > >> Yes, you can soft link individual files within the file system. You can >> even rename the target files so the tables load in the right order. >> >> It will work on Linux and OS-X and should work on all unix flavors.

[web2py] Re: Questions for an application with a large number of features and a large database.

2012-05-26 Thread David McKeone
*Massimo and Nico:* Thanks for looking into those things, can't wait! *RAM Cache and DAL?* I've been looking into conditional models and attempting to combine them with the module based system just to see how far I can take it and I've run into a question: Is there any reason I shouldn't us

[web2py] Re: Questions for an application with a large number of features and a large database.

2012-05-25 Thread David McKeone
u would > want to name the link according to the necessary sequence. > > Don't know what this would do for migrations on the production box, though. > > On Friday, May 25, 2012 11:49:51 AM UTC-4, David McKeone wrote: >> >> Hi Massimo, >> >> "You

[web2py] Re: Questions for an application with a large number of features and a large database.

2012-05-25 Thread David McKeone
simo > > > > On Friday, 25 May 2012 10:49:51 UTC-5, David McKeone wrote: >> >> Hi Massimo, >> >> "You probably do not need 100 models defined for each request." and "Make >> sure you turn migrations off and bytecode compile your apps." >

[web2py] Re: Questions for an application with a large number of features and a large database.

2012-05-25 Thread David McKeone
Hi Massimo, "You probably do not need 100 models defined for each request." and "Make sure you turn migrations off and bytecode compile your apps." No, I certainly don't need all 100 at all times. That was really just a test to see where the boundaries were going to be. It likely wasn't the

[web2py] Questions for an application with a large number of features and a large database.

2012-05-25 Thread David McKeone
I've been reviewing Web2py over the last month so that I could evaluate it for use with a large-ish commercial application. This has brought up a few questions, so I figured I'd see if anyone has any experience in any of the areas I've run into trouble. I come from a C++ background so I'm fair