3 ms·
OK, so obviously I suck at server configuration/optimization. Any tips for optimizations that could have enabled me to support the influx of Hacker News traffic
by brandontreb 15y ago
OK, so obviously I suck at server configuration/optimization. Any tips for optimizations that could have enabled me to support the influx of Hacker News traffic?
Note:
* Ubuntu 512MB on Rackspace
* Apache
* Wordpress with wp-super-cache and minimal plugins enabled
Thanks for the feedback!
- lamnk 15y ago* Ditching Apache for nginx will make the biggest impact. * Run PHP with php-fpm (bundled in latest PHP 5.3) * Use a PHP accelerator like APC.
- brandontreb 15y agoAwesome advice. Thanks!
- _pdeschen 15y agoI had a similar issue a while back after having a blog post of mine featured on HN front page for some time. The problem is really apache. Either configure apache with workers (which is ain't the default config) or add nginx in front. You might be interested in this particular post: http://blog.rassemblr.com/2011/01/wordpress-need-for-speed-optimization-with-nginx-caching/ http://blog.rassemblr.com/2011/01/wordpress-need-for-speed-o... This has been throughly tested with yet another post on HN front page a while later! My blog handled the load without a glitch. Looks like I'm replying with the same comment over and over again. But I have to share nginx love :-)