A simple way to let a webapp scale is to moved session's and db's data to cookies as much as possible.

olivvv


Nimrod A. Abing wrote:

On 12/24/06, keymaster <[EMAIL PROTECTED]> wrote:

.. just dreaming, but..

If one wanted to use cake to build an app which is scalable to the
extreme, ie. flickr.com or yourtube.com or myspace.com, how would you
do it?

http://www.onjava.com/pub/a/onjava/2003/10/15/php_scalability.html

http://www.oreillynet.com/onlamp/blog/2006/04/digg_phps_scalability_and_perf.html

Would you just separate out the db server and replicate the rest on
identical nodes in a cluster? Would you break up the app into view
servers, controller servers, and model servers?

That depends. Scalability is a difficult issue to handle if it is not
considered during the initial application design stage. If you want to
be able to scale up your application, you might as well decide on a
strategy *now*.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to