Hacker News new | past | comments | ask | show | jobs | submit login
Scale PHP on EC2 to 30k Concurrent Users (coderwall.com)
9 points by jonthepirate on June 23, 2013 | hide | past | favorite | 3 comments



Title is misleading, when only 3% of requests hits PHP, you don't "scale PHP".


Furthermore, extrapolating from artificial load tests is also not "scaling"


Stop using APC and switch to the "new" Zend Opcache.

It can serve 10-30% more requests per second than APC and has several layers of optimization.

It's bundled with PHP 5.5 but will work just fine with PHP 5.3 and 5.4

ps. also turn off file stat in the opcache on production servers

pps. make sure you are using PHP-FPM




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: