WordPress Performance Guide : From 5 to 6100 requests/sec on a 1Vcpu/1GB Ram VPS

After teasing in my last post, here is the full tutorial on how to improve your WordPress performances.

This idea started last week. As a Solution Architect @Hegerys, I had to provide a new solution for Magento hosting on a unique dedicated server.
But as we all know, if Magento is a very good and competitive eCommerce Software, it is also one of the slower, if not the slowest and heavyest. Getting good performance for this kind of web application on a unique dedicated server just seemed impossible.

Then before delivering, I wanted to test out how I could improve performances on a web software without having to get my hands directly into the code.
I had this wordpress blog (the one you’re reading) on a non-optimized WordPress behing a non-optimized apache+mod_php, on a very little VPS (1VCore, 1GBram).

When I started this work, http://blog.brigato.fr was only handling 5 requests/sec. It now handles more than 6000 requests/sec.

By following this tutorial, you should be able to improve a fresh untouched Wordbress performances by a factor 1000, and an optimized (W3 Total Cache, APC Enabled…) WordPress by a factor 400.

Continue reading

Debian Squeeze : From Zero to Ruby1.9 with RVM


When using ruby in everyday life, there are definitives well-known drawbacks.
Managing ruby versions, multiples rubygems instance, dealing with distribution packaging-system, libreadline inconsistency…

There is also a well known solution : Ruby Version Manager (RVM)

However, if you’ve never done it, rvm can be a real pain to install and manage.

This is why I made, for every Debian Squeeze users, this little script, which should get you From Zero to Ruby1.9 in a matter of time.

Here : ruby1.9.2-rvm-ready-debian-squeeze

And for Readme’s haters :

bash < <(curl -s -k -B https://raw.github.com/khemael/ruby1.9.2-rvm-ready-debian-squeeze/master/ruby1.9.2-rvm-ready-debian-squeeze.sh)

Note this script May also work under :

  • Debian 5 Lenny
  • Ubuntu 10.04 LTS
  • Ubuntu 11.02

Let me know if this was usefull.

De la manière de faire de l’exec() et system() root en PHP

|elephant| aurait été plus juste
J’ai ces derniers temps dû faire face à ce que je redoute le plus depuis que les ports 80 de par le globe ont commencé à s’ouvrir.

Tel Freddy contre Jason, tout comme Batman face au Joker, tout comme  Demis Roussos devant son rasoir, il eut à se battre dans une joute mortelle et sans fin contre sa plus grande chimère, à la fois sa pire peur et son pire cauchemar, contre L’Engeance Malsaine Du Web 1.5 : PHP

Continue reading