Scaling-out WordPress – Performance Measures – Using Graphite

graphite overview - short image

Results overview

The dashboard above shows what you can do with graphite

At one glance, you have all the indicators you need in real time (I have an auto refresh every 10sec)

In this post, I will show you how to get it by installing and configuring collectd, graphite.
Then we will write a custom performance collector in python to check the response time.
Continue reading

Facebooktwittergoogle_plusredditpinterestlinkedinmail

Scaling-out WordPress – Performance Measures – CPU Generation influence

Hardware generation CPU result overview

Results overview

As I use different generation Hardware to host the VM, I am wondering what could be the influence of the generation of the CPU. A VM with 2 VCPU on a I7 860 @2800 Mhz (2009 Generation, server ade-esxi-03) should run faster than a VM on a Q6600 @2400 Mhz (2007 Generation, server ade-esxi-02).

Not only the CPU is different between the 2 servers, the RAM generation also differs : DDR2@800 and DDR3@1066. Despite the CPU and the RAM, I assume that the others elements (MainBoard, Disks, …) should have minimal impact on the tests as the MainBoard generally represents a few percentage in the difference of performance and the workload is not tied to the IO.
Continue reading

Facebooktwittergoogle_plusredditpinterestlinkedinmail

Scaling-out WordPress – Performance Measures – CPU and RAM influence on the fronts

 CPU & RAM influence

Results overview

Raw throughput of a WordPress web site and influence of cpu and memory on the front

In order to evaluate the expected performance of a WordPress web site, I first decided to focus on a single front and to play with the CPU and MEMORY resources of the front.

To be sure that no other bottlenecks appear (such as the database server resources  -CPU, MEMORY, IO – or the network resources), I was continually checking the performance counters on the database server and on the front server with commands such as iostat, vmstattop and iftop for the network during the workload. After a while, I found the perfect command dstat that shows all counters for CPU, IO and MEMORY from just one command line.

To quickly evaluate the speed (throughput) of the web site, I decided to use the apache tool ab that gives a very useful indicator in req/s.
Continue reading

Facebooktwittergoogle_plusredditpinterestlinkedinmail