I remind the readers we have conditional models:

models/db.py (runs for every action)
models/default/db.py runs (runs only for actions in controllers/default.py)
models/default/index/db.py runs (runs only for action index() in 
controllers/default.py)

This speeds things a lot.


On Tuesday, 17 July 2012 11:40:07 UTC-5, Bruce Wade wrote:
>
> LOL well the before and after performance improvements from moving the 
> models has proven it to be a major problem. So yes models are definitely a 
> problem primarily because they are redefined every call and with a high 
> traffic site that means a lot of redefinitions. 
>
> On Tue, Jul 17, 2012 at 9:12 AM, pbreit <pbreitenb...@gmail.com> wrote:
>
>> I'd be surprised if model processing is your biggest problem. Have you 
>> reviewed all your queries for optimization opportunities? Cache, cache and 
>> more cache? Indexes?
>>
>> --
>>
>>
>>
>>
>
>
> -- 
> -- 
> Regards,
> Bruce Wade
> http://ca.linkedin.com/in/brucelwade
> http://www.wadecybertech.com
> http://www.fittraineronline.com - Fitness Personal Trainers Online
> http://www.warplydesigned.com
>
>

-- 



Reply via email to