• Home
  • Personal
  • Tech
  • Politics
  • Photography
  • High performance Wordpress

    June 5th, 2006

    Of all the Wordpress installations I manage, two of them bring in a rather large number of hits.

    To speed up Wordpress I usually just enable the MySQL query cache and install the eaccelerator PHP opcode cacher. On one particular box, an Intel 1.3Ghgz PIII this increased performance from around 3 requests per second to around 10.

    Recently I came across the WP-Cache plugin for Wordpress. This takes the finished output from any given wordpress request and caches it to disk, serving directly from the static cache for the next hour (configurable). Any new posts or comments in the mean time immediately mark the cached version stale, so you don’t need to wait around for an hour.

    On the same hardware and blog, this increases performance from 10 requests per second to over 250. A 2500% increase in speed.
    Read the rest of this entry »

    Tags: benchmark, cache, eaccelerator, lighttpd, lua, mod_cml, mysql, performance, speed, wordpress, wp-cache

    Posted in Tech | No Comments »

  • Turck MMCache speediness on Debian Sarge

    January 12th, 2006

    UPDATE: The info in this post is deprecated. See the new post about eAccelerator instead.

    I installed Turck MMCache PHP accelerator and I got a big improvement.

    ApacheBench reported 4.52 pages per second before and 12.47 pages after installation (a Wordpress 1.5.2 page on a 1.2Ghz PIII). That a 275% increase in performance, with currently no observed problems. I tested this with both Apache2 and lighttpd, and got a similar boost with both.

    There is only a package for Debian unstable at the moment, so I downloaded the package source and backported it to Debian sarge. I put the package in my apt repository (along with a backported openswan package I’m using). Add to your sources.list:

    deb http://johnleach.co.uk/downloads/debian sarge backports

    and apt-get update ; apt-get install turck-mmcache

    See PHP fly (comparatively)

    UPDATE: I’m running into a few problems now actually. Wordpress runs fine, but an application of my own is having some serious problems. MMTurck is kicking out the following log message:

    [13072] MMCACHE: PHP crashed on opline 1 of main() at /path/to/webapp/cligs-app.php:24

    I’ve disabled the extension for now until I investigate further.

    UPDATE: S

    Tags: acceleration, apache, backport, Debian, lighttpd, php, sarge, speed, turckmmcache, wordpress

    Posted in Tech | 1 Comment »

  • John Leach

    • John Leach is a human being living in Leeds, UK.
  • Twitter

    • John syncs his contacts back to his Nokia E90 which stood the test of my clumsiness (bar seawater) 6 hrs ago
    • More twitter updates →
  • Author Stuff

    • Brightbox Rails Hosting
    • Compost This
    • ELER Web Comic
    • New World Odour
    • News Sniffer
    • Photography
    • Profile and History
    • Recycle This
    • The Gillroyd Parade
    • Things to do today
    • Website
  • Friends

    • Caius Durling
    • Deb Bassett
    • Gianni Tedesco
    • Ian Higgins
    • Louisa Parry
    • Rahoul Baruah
    • Sleepy Kev
    • Tim Waters
    • Tom Hall
  • Stuff

    • ifup
    • Media Lens
    • Mia Bambina
    • News from nowhere
  • Meta

    • Log in
    • Entries RSS
    • Comments RSS
  • Search

Creative Commons License The text of this blog is licensed under the Creative Commons BY-ND license