New answers tagged performance-tuning
Its late but another solution is decrease workload on your ec2. Use a cloudfront distribution in front of this instance. Will decrease load on your server if the caching policies are correct and AFAIK with the right caching policies your server can scale to thousands of readers (not editor, admins etc) Tutorial to setup CDN with wordpress
As far as I know, listen block maxconn is different then global maxconn. With global maxconn you limit the max number of connections you let the haproxy process handle. Listen / frontend section has its own maxconn, which limits the nubmer of connections per listener. So, try to set up maxconn in your frontend sections too, or at least set it up in default ...
What is the hardware configuration of your HAProxy machine? Cores, RAM, network interfaces, etc? We have run into many HAProxy performance issues. Here are some ideas: Split traffic into two HAProxy servers, with each acting as a backup for the other. Raise nbproc to reflect the number of cores on your particular hardware. If you are using layer 7 mode, ...
Late for this party, but might benefit others, so... Re. cluster size, first and most important, you'd need to look at the distribution of file sizes, so you could optimize for both low fragmentation and disk space waste so you'd resize clusters close to this size, not overall avg - e.g.: if most files fall near 2k, a 2k cluster size would be optimal, if ...
Top 50 recent answers are included