Benchmark Conclusion

Here are the total WordPress benchmark results comparing the KUSANAGI environment to a default LAMP environment.

LAMP environment
Requests per secondPage load time
Apache 2.4+PHP 5.46.17168ms
KUSANAGI environment
Requests per secondPage load time
Apache 2.4+PHP 5.630.9438ms
Nginx 1.9+PHP 5.631.2438ms
Apache 2.4+PHP 776.7620ms
Nginx 1.9+PHP 780.0517ms
Apache 2.4+HHVM 3.1292.4216ms
Nginx 1.9+HHVM 3.1297.7415ms
Page cache (nginx 1.9+PHP 7+WordPress plugin)1530.147ms
FastCGI cache (nginx 1.9)14942.95N/A

KUSANAGI’s Middleware and Acceleration Techniques

The middleware and acceleration techniques that support KUSANAGI to produce the results seen above are as follows:

Operating system
  • CentOS 7.2
Middleware
NameSummary
PHP 5.6The most common PHP processor. KUSANAGI can utilize OPcache for user caching or APCu as a PHP accelerator.
PHP 7.0The latest PHP processor. KUSANAGI can utilize OPcache for user caching or APCu as a PHP accelerator.
HHVM 3.12Facebook’s PHP processor. Uses byte-code and JIT compiling for speed.
Apache 2.4The most common web server. KUSANAGI can utilize event MPM as an event processing module, FastCGI for a PHP interface, and substitute HTTP/2 for a protocol.
Nginx 1.9A popular high-speed lightweight web server. KUSANAGI can utilize FastCGI cache for page caching and substitute HTTP/2 for a protocol.
MariaDB Galera server 10.0MySQL-compatible high-speed database system that allows multi-master cluster creation.
tunedDaemon that allows you to apply useful kernel parameters as a profile.
lsyncd / rsyncFile mirroring for use with CDNs or multiple server creation.
vsftpdFTP server. In order to update WordPress, themes, or plugins, KUSANAGI requires secure login to FTP.
Specialized WordPress plugins
NameSummary
Page cachingHave flexible control over page caching for multiple devices.
Performance displayShows the actual WordPress load time and number of SQL queries in the top bar
Device switchingAllows changing of theme based on device. Requires the page caching plugin to be active.
Translation acceleratorSpeeds up the translation of WordPress in versions other than the default.
Tools
NameSummary
WP-CLIOperates the WordPress command line.
Let’s EncryptObtain and install a free SSL certificate.

In the upcoming articles, we will explain each of the main techniques in full, so stay tuned.

Prime Strategy is currently hiring. Please apply if you have an interest in KUSANAGI or systems development using PHP for enterprises and international cloud platforms.