Resqueboard dashboard preview


Analytics for Resque PHP

ResqueBoard is an analytics software for PHP Resque. Monitor your workers health and job activities in realtime.




There are three parts to install :


  1. Clone the github repository somewhere accessible by your webserver

    git clone git://

    Or you can alternatively download it directly

  2. Install dependencies

    cd ./ResqueBoard
    # If you have not installed Composer yet
    curl -s | php
    php composer.phar install

ResqueBoard should now be accessible via //localhost/ResqueBoard/src/ResqueBoard/webroot/.

For security reasons, you should configure a virtual host in you webserver to redirect to ResqueBoard/src/ResqueBoard/webroot/, and leave all other folders unavailable to the public.


Cube is a system for collecting timestamped events and deriving metrics. By collecting events rather than metrics, Cube lets you compute aggregate statistics post hoc. It also enables richer analysis, such as quantiles and histograms of arbitrary event sets. //
Cube requires MongoDB, NodeJS and npm. Refer to their respective websites for installation instruction.
  1. Install Cube

    npm install cube
    # OR: git clone
    cd cube
    npm install
  2. Start the cube server

    node bin/collector.js 2>&1 >> /var/log/cube/collector.log &
    node bin/evaluator.js 2>&1 >> /var/log/cube/evaluator.log &
Refer to Cube's wiki for full instruction.


Php-Resque-Ex is a port of php-resque with more logging options, essential to send log to Cube via an UDP socket.

Chance are if you need an analytics tools for Resque PHP, you already have php-resque installed.

git clone
cd ./php-resque-ex
# Install Composer if not already done
curl -s | php
php composer.phar install

Replace you current php-resque library with this new one.

Patch Cube

The cube module need to be patched to output more informations. cd into node_modules/cube/lib/cube and edit the file event.js.

Around lines 173-174, search for

// Request any needed fields.
var fields = {t: 1};

Replace by

// Request any needed fields.
var fields = {t: 1, d: 1};

This will make cube send all event's data when polling for new events. Restart the cube server.

Don't forget to repeat this step each time you update Cube.


All configurations are database connections related.


Php-Resque-Ex works the same as php-resque. One of the additional features are the LOGHANDLER and LOGHANDLERTARGET environment variable, used to redirect the log output to a specific log engine.

When starting your workers, set the :

This will redirect all the logs to the Cube server.

Example when starting a worker with raw terminal command

QUEUE=default LOGHANDLER='Cube' LOGHANDLERTARGET='udp://' php bin/resque

Example when starting a worker with fresque

fresque start --loghandler='Cube' --handlertarget='udp://'

You can also set them as default in fresque.ini, to avoid using --loghandler each time.

Example when starting a worker with CakeResque

cake CakeResque.CakeResque start --log-handler='Cube' --log-handler-target='udp://'

You can also set them as default in the CakeResque bootstrap, to avoid using --log-handler each time.


ResqueBoard configuration are located in ResqueBoard/src/ResqueBoard/Config/Core.php.

All settings are by default commented, you should decomment and edit them only if your settings are different.

$settings = array(
	/*'mongo' => array(
	 'host' => 'localhost',
		'port' => 27017,
		'database' => 'cube_development'
	/* 'redis' => array(
		'host' => '',
		'port' => 6379
	'readOnly' => false,
	/*'resquePrefix' => 'resque',*/
	/*'resqueConfig' => __DIR__ . DIRECTORY_SEPARATOR . './resque.ini'*/


Set to true to enable stopping and pausing workers from the web interface.


Not used yet


  1. Backup your Core.php if you've made some changes.
  2. Download the new version of ResqueBoard and replace only the src folder, or update from the git repo if you have choosed to clone it.
  3. Update your dependencies by running php composer.phar update
  4. Restore you Core.php
  5. Read the Releases Notes for any manual updates to Core.php


All support, bugs submissions and feature requests are tracked on Github.


RequestBoard is licensed under the MIT License.


Wan Qi Chen


ResqueBoard favicon from Fugue Icons, by Yusuke Kamiyamane.