I have been looking into using cake for a few projects, and performance related issues are exactly what I am worried about...
Would it be not possible to cache certain data/metadata at runtime once you are in production mode (and not in dev mode) such as mysql metadata. Some other things I can think of is parsing and caching layout templates, information on views, metadata information about probably controllers/helpers/models/etc using lazy caching (cache as you go). One more thing that worried me was the fact that caching system was built-into the core and that it is not replacable. For example, I want to use memcached which is way waster than using php files for caching, and for that it looks like I need to go into core and hack it, which is the last thing I want to do... On Jan 14, 12:35 pm, "eagerterrier" <[EMAIL PROTECTED]> wrote:
I've been using cake for about 3 weeks now (extremely intensively), and it is a marvellous tool for developing sites quickly and being able to divide work up between developers in a logical way.However, with speeds at a *minimum* of 0.2 seconds per page regardless of what's on them, I am concerned. The current site which I am revamping has at present *maximum* speeds of 0.03 seconds for the home page, and it needs to be this tight because it is a high traffic site (2m+ PIs per month). And although I'm pleased to see that CakePHP version 1.2 has stopped carrying around 1Mb+ of repeated information in arrays, its processing speed is still on the slow side. What I'm looking for is a way of altering bootsrap and basics (which appear to be the main culrpits -http://www.cakephp.org/profile.png) to bypass some of this processor intensive stuff and replace it with static text (for example, setting up a flat file of arrays of my SQL table structure rather than cake looking for it the whole time). Does anyone know how to go about this? I have presently only been looking into *how* CakePHP works (to get my project up to speed), and not *why* it works, so I would be grateful for the Cake aficionados to point me in the right direction. Perhaps I'm missing something and in the same way that you have the bake function, you might also have a 'decorate' function that would do what I am asking, but I can't find it anywhere and I am losing sleep over the site performance.
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
