Website Performance

11 posts

Install HAProxy with SSL Termination

These days I have been working with scaling solutions for a PHP framework. Previously I came with Nginx as load balancers, however, with the requirement of health check and failover, I need to come to HAProxy this time. So I write this entry as a note for installing HAProxy with SSL […]

Scaling a PHP MySQL Web Application, Part 2

This article was original written by By Eli White and was published at http://www.oracle.com/technetwork/articles/dsl/white-php-part2-355138.html. This includes tips for scaling your PHP-MySQL Web app based on real-world experiences at Digg, TripAdvisor, and other high-traffic sites. In Part 1 of this article, I explained the basic steps to move your application from a single server to […]

Scaling a PHP MySQL Web Application, Part 1

This article was original written by By Eli White and was published at http://www.oracle.com/technetwork/articles/dsl/white-php-part1-355135.html. This includes tips for scaling your PHP-MySQL Web app based on real-world experiences at Digg, TripAdvisor, and other high-traffic sites. Creating a Web application – actually writing the core code – is often the initial focus of a project. […]

APC installation troubleshooting

APC stands for “Alternative PHP Cache”. APC is a free, open, and robust framework for caching and optimizing PHP intermediate code. This article shows common problems when installing APC and how to fix them. Installing is as simple as [root@search ~]# pecl install apc [root@search ~]# echo “extension=apc.so” > /etc/php.d/apc.ini […]

Front-end Performance Rule #6: place your JavaScript at the bottom of your page

According to the book High Performance Web Sites: Essential Knowledge for Front-End Engineers by Steve Sonders, and at BEST PRACTICES FOR SPEEDING UP YOUR WEB SITE, there is a best practice for boosting front-end performance as follows: The problem caused by scripts is that they block parallel downloads. The HTTP/1.1 specification suggests […]