Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Redis storage backend for Riak

tree: c488a70e1b

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.md

Riak Redis Backend

Installing

You need :

  • credis. compile (make)

  • erlang_credis. compile (make)

    You have to specify the path to your credis installation.

  • Redis (Any version will do).

  • Riak

  • compile (erlc riak_redis_backend.erl)

Configure riak :

In etc/app.config change the option storage_backend to:

{storage_backend, riak_redis_backend}

And add the paths to the driver and the backedn so riak can find them:

'{add_paths, ["/path/to/riak_redis_backend", "/path/to/erlang_credis/ebin"]}'

For the time being, Redis must run locally. I will certainly add the line to configure the redis host and port.

Other files

  • riak_redis_prof : runs the Riak standard_backend_test.

  • riak_playground : runs an insert test and 2 map-reduce tasks and give timing information.s

License

Apache 2 license.

Author

Eric Cestari

http://www.cestari.info/

ecestari+riak-backend@mac.com

Port to CREDIS Driver

Alvaro Videla

http://obvioushints.blogspot.com/

Something went wrong with that request. Please try again.