Cache Backend Benchmarking with n98-magerun

cache_benchmarkThis is the start of a series which presents 3rd party n98-magerun modules.

The first one is a module which helps you to benchmark your shop cache system.

It’s a port of a benchmark script by Colin Mollenhour
which was a fork of a symlink cache script by Vinai Kopp.

Installation

The installation is really strait forward:

Usage

After the installation you should see some new cache commands in your n98-magerun command list.

First run “cache:benchmark:init” which generates cache entries.
The init command can has a lot of paramters.

No panic. The command defines default values for every setting.

After the generation you should see a bash script like “bash var/cachebench/default/run.sh” which was
generated by the init command.

Run the shell script an see the your benchmark statistics.
Now you are able to compare different cache backends (change it in your app/etc/local.xml config).

See it in Action

One Pingback/Trackback