If you think that problem is in models loading, get rid of persistent associations and create them on the fly. Same for using models in controllers - empty $uses and $this->loadModel()
On Jun 11, 2:00 am, "Alan Asher" <[email protected]> wrote: > I am dealing with a site that is probably larger than had originally been > thought of when the designers made CakePHP. I have already invested 4 > months in development and now that I have a user base it bogs down a lot > when about 5 users get on at the same time. I'm hoping to have thousands of > users on at the same time. > > I have set up cache to cache most of the layout since it doesn't change but > from day to day or every two minutes. I'm using file cache and wonder if it > would help switching to APC. I have an ubuntu server that I control > completely and have already taken the initial steps to install APC, but I > haven't converted my cache config to use it yet. > > I see a problem with the amount of recursion in the models classes. I'm > using the "contains" on ALL of my queries so that the queries run faster, > but I think that when cake loads the models and all it's recursions, it > takes forever since I have 88 tables that all relate to the user some how. > > Does anyone have suggestions? > > Alan Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
