• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » XCache and W3 Total Cache WordPress on High End Setup

By Abhishek Ghosh September 4, 2014 1:19 am Updated on September 4, 2014

XCache and W3 Total Cache WordPress on High End Setup

Advertisement

Here with this website we are showing you settings with XCache, W3 Total Cache WordPress on a somewhat high end setup on Rackspace Cloud Server. Frederick Townes is somewhat known person to us, it is obvious that we might criticize a plugin or their business model, but actually he is a good person. Many years ago, it was Frederick Townes who mentioned us on W3TC’s other notes (2012) :

 

Vim
1
http://wordpress.org/plugins/w3-total-cache/other_notes/

 

Definitely there are two plugins for WordPress Caching – W3 Total Cache and WP Super Cache. We also criticize Rackspace despite their excellent support. Piwik became bad because less people criticized – things are written with guide! So, Nginx – PHP5-FPM setup with 2 GB PVHVM Server as web server and 1 GB PVHVM server as MySQL Server and all possible stuffs from Rackspace. The linked Piwik guide will give you link to the other needed guides. We do not change any default files’ name. It is high end for WordPress considering the average CPU load and other metrics. Obviously it is possible to use Rackspace OnMetal with 128 GB RAM as Web Server and with 512 GB RAM as Application Server – around $2000 USD per month plus cost of bandwidth. But if you check traffic : processor core ratio, we are using high end server.

XCache and W3 Total Cache WordPress on High End Setup

 

Why XCache and W3 Total Cache WordPress on High End Setup Needs Consideration

 

For WordPress, you should not use XCache as an alternative of Disk Cache Enhanced for Page Caching. XCache is blazing fast, but even with 128 GB + 512 GB RAM combo offer, there is enough chance of hit and miss. XCache is fast but it sucks memory and takes huge time to build the Cache. So, the place of XCache in any high end setup is for object Caching. Otherwise your Time To First Byte (TTFB) will be very poor (if you use XCache for Page Cache) :

Advertisement

---

Vim
1
http://www.webpagetest.org/result/140903_HF_176B/1/details/

The website in real loaded quite faster, but on computerized tests; actually it becomes bad. Somewhat good after Page Cache set to Disk Enhanced :

Vim
1
http://www.webpagetest.org/result/140903_3P_17FH/1/details/

Keep in mind – this is a full HTTPS setup. Practically if there is a HTML page, the server will less likely to die if 200 opens one particular webpage at the same time. Unfortunately, this theory fails as during the building of cache after post publication, the rush comes on the new post. Still, it (Disk Cache Enhanced for Page Cache) is better option than remaining kind of naked. As our disk I/O is very good, read-write cycle technically becomes better with Disk Cache Enhanced. A GET request => Cache Present => Served. PHP5-FPM almost has no work. But, if you keep only XCache in front, all traffic will go through that fast cgi block of Nginx server config file. If there is no Cache, its quite difficult to logically define unlike Disk Cache Enhanced (on Nginx setup). It is not abnormal to get this kind of graph :

Vim
1
http://tools.pingdom.com/fpt/#!/cjL4Zo/https://thecustomizewindows.com/2014/09/delete-mysql-database-from-command-line/

Only Disk instead of XCache for Object Caching is possibly a bad idea as the Hard Disk will actually be seek more and more. So the settings becoming :

Vim
1
2
3
4
5
Page == Disk Enhanced
Minify == Disk
Database == No Cache (InnoDB Engine)
Object == XCache
CDN == Akamai

The XCache thing requires further tweak.

 

XCache and W3 Total Cache WordPress : Setup

 

In Nginx Installation guide and later tweaks (search our web site with the thing you want), we actually installed XCache. If you run this command :

Vim
1
php5 -v

You will get an output like this :

Vim
1
2
3
4
5
6
7
8
PHP 5.5.9-1ubuntu4.3 (cli) (built: Jul  7 2014 16:36:58)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
    with XCache v3.1.0, Copyright (c) 2005-2013, by mOo
    with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies
    with XCache Optimizer v3.1.0, Copyright (c) 2005-2013, by mOo
    with XCache Cacher v3.1.0, Copyright (c) 2005-2013, by mOo
    with XCache Coverager v3.1.0, Copyright (c) 2005-2013, by mOo

With Ubuntu, you need not to fight much. You only need to locate the settings file :

Vim
1
locate xcache.ini

You’ll get an output like this :

Vim
1
2
3
4
5
/etc/php5/cli/conf.d/20-xcache.ini
/etc/php5/fpm/conf.d/20-xcache.ini
/etc/php5/mods-available/xcache.ini
/usr/share/doc/php5-xcache/examples/xcache.ini
../../../../wp-content/plugins/w3-total-cache/ini/xcache.ini

The last one is the file written by Frederick Townes for W3TC, only two must be commented out in this fashion :

Vim
1
2
3
;xcache.admin.user = "mOo"
;xcache.admin.pass = "hash-password-here"
xcache.admin.enable_auth = Off

The path of W3TC’s specific file by default Nginx setup is :

Vim
1
/usr/share/nginx/html/wp-content/plugins/w3-total-cache/lib/W3/Cache/Xcache.php

With increasing load actually a better result should be expected :

Vim
1
http://tools.pingdom.com/fpt/#!/I0m1r/https://thecustomizewindows.com/2014/09/hardware-assisted-virtualization/

With a scalable infrastructure, good hardware, SSD, practically XCache is not required. There is no XCache :

Vim
1
http://www.webpagetest.org/result/140904_1J_10B/1/details/

We need X factors for a spinning hard disk, no CDN, no scalable InnoDB engine. Rest required is manual coding to decrease the number of requests, serving CSS without being a blocking element, setting the expire headers properly.

This Article Has Been Shared 590 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Orthopaedic Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to XCache and W3 Total Cache WordPress on High End Setup

  • Installing Drupal on Rackspace Cloud Sites Guide

    Installing Drupal on Rackspace Cloud Sites is a bit tougher than installing WordPress or even installing Magento for the beginners.

  • Streaming Video and Audio from Server using VLC Player Video Guide

    Streaming Video and Audio from Server using VLC Player Video Guide shows how to configure Rackspace Cloud Server with VLC Player to stream your Audio or Video.

  • Hybrid Security for Hybrid Cloud

    Hybrid Security for Hybrid Cloud – Securing a hybrid cloud, poses great challenges. Not only for the users but also for the providers, it is not enough simple.

  • Shell Access on OpenShift

    Shell Access on OpenShift is possible through the command line tool. Basic UNIX commands and their own commands can be executed on OpenShift PaaS Cloud.

  • Points to Consider While Switching to Cloud Computing

    Points to Consider While Switching to Cloud Computing should be given importance for both web applications and enterprise applications, simply to save money.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

You can subscribe to our Free Once a Day, Regular Newsletter by clicking the subscribe button below.

Click To Subscribe

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (20K Followers)
  • Twitter (4.9k Followers)
  • Facebook (5.8k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.2k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Wi-Fi for Old House With Thick Walls January 26, 2021
  • What is Inertial Navigation System? January 25, 2021
  • What is Miniaturization? January 24, 2021
  • What is Domain-Driven Design (DDD)? January 23, 2021
  • Top 10 Anti Hacking Software for Microsoft Windows January 22, 2021

 

About This Article

Cite this article as: Abhishek Ghosh, "XCache and W3 Total Cache WordPress on High End Setup," in The Customize Windows, September 4, 2014, January 26, 2021, https://thecustomizewindows.com/2014/09/xcache-w3-total-cache-wordpress-high-end-setup/.

Source:The Customize Windows, JiMA.in

 

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Cookie Policy.

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2021 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy