No sticky sessions, through my experience with load balancing my particular 
cakePHP application ( and various others ) I've found that sticky sessions does 
not evenly balance the load across machines, particularly if they are all 
serving site assets IE: images, style sheets, javascripts

However, the application that I run serves over 1 million pages a day and 300k 
in unique users. 

The biggest performance gain I've seen was when I moved caching ( Including 
schema caching ) over to a dedicated "memcached" server.

I've also moved over my PHP session to memcache VS database sessions and seen a 
significant performance gain.

If you have any other questions feel free to ask and I'll try and advise where 
I can.

On Feb 15, 2012, at 8:28 AM, Andres Montiel, CUA wrote:

> Thanks John. I also see that you're using HAProxy for the cluster. Sticky 
> sessions for CakePHP?
> 
> On Thu, Feb 16, 2012 at 12:08 AM, John Hardy <[email protected]> wrote:
> Yes.
> 
> I have a cluster of 6 nodes serving my site. 
> 
> <Screen Shot 2012-02-15 at 8.08.20 AM.png>
> 
> On Feb 14, 2012, at 5:19 PM, kyutums wrote:
> 
>> We are currently using CodeIgniter in another project. To handle large
>> traffic (we get around 60k pageviews per day), we load balance between
>> 2 EC2 instances.
>> 
>> Is it possible to load balance using CakePHP as well? Also, would it
>> be easy to add another server in the cluster using CakePHP?
>> 
>> -- 
>> Our newest site for the community: CakePHP Video Tutorials 
>> http://tv.cakephp.org 
>> Check out the new CakePHP Questions site http://ask.cakephp.org and help 
>> others with their CakePHP related questions.
>> 
>> 
>> To unsubscribe from this group, send email to
>> [email protected] For more options, visit this group at 
>> http://groups.google.com/group/cake-php
> 
> 
> -- 
> Our newest site for the community: CakePHP Video Tutorials 
> http://tv.cakephp.org 
> Check out the new CakePHP Questions site http://ask.cakephp.org and help 
> others with their CakePHP related questions.
>  
>  
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group at 
> http://groups.google.com/group/cake-php
> 
> 
> -- 
> Our newest site for the community: CakePHP Video Tutorials 
> http://tv.cakephp.org 
> Check out the new CakePHP Questions site http://ask.cakephp.org and help 
> others with their CakePHP related questions.
>  
>  
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group at 
> http://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to