Home > riak_cache

riak_cache

Riak_cache is a project mainly written in ..., it's free.

Drupal Riak cache backend

h1. Drupal Riak cache backend

h2. Installation

Place this module into sites/all/modules or the respective folder for your site

In the module folder, run git clone https://github.com/basho/riak-php-client.git

Apply the included patch to the riak-php-client library -- patch -p0 < riak-php-client.patch

In settings.php, you can configure the Riak connection -- it defaults to:
$conf['riak_connection'] = array('host' => 'localhost', 'port' => '8098');

Configure Drupal to use the Riak cache backend by adding the following lines to your settings.php, replacing the path to the riak_cache module as necessary:
include_once DRUPAL_ROOT .'/includes/cache.inc';

include_once DRUPAL_ROOT .'/sites/all/modules/riak_cache/riak_cache.inc'; $conf['cache_default_class'] = 'DrupalRiakCache';