Testing | Comparing: Cloudflare w/ Railgun + Redis Caching | WP 4.4 | PHP 7.0.1 | Zend Opcache w/ Memcached

Inside Google – National Geographic Documentary
December 22, 2015
Cache Enabler -VS- Redis Object Cache speed comparison
April 28, 2016
Show all

Testing | Comparing: Cloudflare w/ Railgun + Redis Caching | WP 4.4 | PHP 7.0.1 | Zend Opcache w/ Memcached

There are many things that I enjoy doing. One of my passions is sitting down and testing different setups and configurations to get the best possible “real world” results. PHP 7 has made a HUGE impact on page speed loading times throughout the WordPress world. It’s without a doubt that PHP 7 is slightly faster ( in some cases ) then HHVM. But, that’s still to be debate-able.

Today’s marketplace and online customer shopping / reader experiences want a fast loading site. Knowing why speed is critical will help you understand why speed optimization is critical to us and your business. The bottom line is that your customers are expecting to be able to navigate pages quickly, and if your website can’t deliver, your bounce rates will skyrocket and conversion rates will plummet. That is, if they were high to begin with—if you are starting with a slow website, the good news is the only way to go is up!

Today, I am testing the page speed loading of our test site. Here is a breakdown of what we are using:

  • WordPress version 4.4
  • Enfold Theme
  • PHP 7.0.1
  • NGINX 1.9.9
  • MariaDB 10.1.6
  • Redis Object Database Caching
  • Redis front-end caching
  • Memcached ( required by Railgun )
  • Zend PHP Opcache

PLUGINS INSTALLED:

  • Nginx Helper: https://wordpress.org/plugins/nginx-helper/
  • Redis Object Cache: https://wordpress.org/plugins/redis-cache/

CLOUD INSTANCE DETAILS:

Package: NGINX STARTER

  • 768MB Memory
  • 15GB Storage
  • 1 vCPU Core
  • CentOS 7
  • Cloud Instance Location: New Jersey USA

Testing tools used:

  • Pingdom pagespeed: http://tools.pingdom.com/fpt/
  • Siege Benchmark / Load testing: https://www.joedog.org/siege-home/

Click the tab to view the results

[tab_nav type="two-up"][tab_nav_item title="WITHOUT USING REDIS CACHE" active="true"][tab_nav_item title="WITH USING REDIS CACHE" active=""][/tab_nav]
[block_grid type="one-up"][block_grid_item] [/block_grid_item][/block_grid]
[block_grid type="one-up"][block_grid_item] [/block_grid_item][/block_grid]
[tab_nav type="two-up"][tab_nav_item title="WITHOUT USING REDIS CACHE" active="true"][tab_nav_item title="WITH USING REDIS CACHE" active=""][/tab_nav]
[block_grid type="one-up"][block_grid_item] [/block_grid_item][/block_grid]
[block_grid type="one-up"][block_grid_item] [/block_grid_item][/block_grid]
[tab_nav type="two-up"][tab_nav_item title="WITH REDIS CACHE + CLOUDFLARE" active="true"][tab_nav_item title="WITH REDIS CACHE + CLOUDFLARE W/ RAILGUN" active=""][/tab_nav]
[block_grid type="one-up"][block_grid_item] [/block_grid_item][/block_grid]
[block_grid type="one-up"][block_grid_item] [/block_grid_item][/block_grid]
[tab_nav type="two-up"][tab_nav_item title="WITH REDIS CACHE + CLOUDFLARE" active="true"][tab_nav_item title="WITH REDIS CACHE + CLOUDFLARE W/ RAILGUN" active=""][/tab_nav]
[block_grid type="one-up"][block_grid_item] [/block_grid_item][/block_grid]
[block_grid type="one-up"][block_grid_item] [/block_grid_item][/block_grid]
In conclusion: Each site/setup will be different depending upon a number of factors. In our test environment, it's without a doubt that having PHP 7 + Redis Cache + Cloudflare with the Railgun network optimizer is a fantastic combination for speed and performance. Taking 17,620 hits within a 3 minutes time span without any failed hits and a 0.03 second server response time is quite good and this test was conducted on our smallest package plan available.

Leave a Reply