Check this out, it's not that high of an explanation but provides some
useful tips on how to improve PHP performance:
http://talks.php.net/show/hpp
For some reason the creators of that presentation decided that they don't
support IE so you'll need to use FF or something else to view it.
In regards to your question I also think that scalability should be on the
table right from the get-go. CakePHP is a framework that allows you to
easily develop your application thinking about scalability all the way, so
take advantage of that.
I believe that in time, as your traffic hits high numbers, the first
optimization you'll need is to allow the DB to be on its own clustered
servers, so will your webserver, having giga connection amongst the two.
Also if you are using MySQL as your backend server move CakePHP towards
using mysqli extension instead of mysql, as it is faster. Also don't neglect
the connectivity your server has to the outside world, some people improve
their application performance and forget about the backbones where their
application is running.
Separating Models / Controllers: oh well I don't think you'll need such a
thing. I would have DB on one side, CakePHP application on another side,
work my way to PHP optimization on the CakePHP side and enable caching to
places where it can be used.
-MI
---------------------------------------------------------------------------
Remember, smart coders answer ten questions for every question they ask.
So be smart, be cool, and share your knowledge.
BAKE ON!
-----Mensaje original-----
De: [email protected] [mailto:[EMAIL PROTECTED] En nombre
de Langdon Stevenson
Enviado el: Domingo, 24 de Diciembre de 2006 05:33 a.m.
Para: [email protected]
Asunto: Re: how would you scale a cake app?
I would be very interested to hear anyone else's thoughts on this too.
Does the development team have any recommendations about the best
approach to scaling up a site?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---