The riak package

[ Tags: library, network ] [ Propose Tags ]

A Haskell client library for the Riak decentralized data store, designed for efficiency, ease of use, and flexibility. Uses the Riak protocol buffers API for speed.

This library is organized to allow a tradeoff between power and ease of use. If you would like a different degree of automation with storage and conflict resolution, you may want to use one of the following modules (ranked from easiest to most tricky to use):

JSON for storage, automatic conflict resolution. This is the easiest module to work with.
JSON for storage, manual conflict resolution.
More complex (but still automatic) storage, automatic conflict resolution.
More complex (but still automatic) storage, manual conflict resolution.
manual storage, manual conflict resolution. This is the most demanding module to work with, as you must encode and decode data yourself, and handle all conflict resolution yourself
CRDT operations.

[Skip to Readme]


Change log
Dependencies aeson (>=0.8 && <0.12), attoparsec (>= && <0.14), base (>=3 && <5), binary, blaze-builder (>=0.3 && <=0.5), bytestring, containers, data-default-class (>=0.0.1), deepseq (>=1.3), enclosed-exceptions (>= && <=1.1), exceptions (>= && <=0.9), hashable (>=1.2.3), mersenne-random-pure64 (>= && <0.3), monad-control (>= && <1.1), network (>=2.3), protocol-buffers (>=2.1.4 && <2.3), pureMD5, random, random-shuffle (>=0.0.4 && <0.1), resource-pool (==0.2.*), riak-protobuf (==0.21.*), semigroups (>=0.16), text (==1.2.*), time (>=1.4.2 && <1.6), transformers (>=0.3 && <0.5), unordered-containers (>=0.2.5), vector (>= && <0.12) [details]
License OtherLicense
Copyright Copyright 2011 MailRank, Inc. Portions copyright 2007-2010 Basho Technologies, Inc.
Author Bryan O'Sullivan <>
Maintainer Mark Hibberd <>, Nathan Hunter <>, Tim McGilchrist <>
Category Network
Home page
Source repo head: git clone
Uploaded Wed May 4 05:40:00 UTC 2016 by lambda_foo
Distributions LTSHaskell:, NixOS:, Stackage:, openSUSE:
Downloads 8947 total (241 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2016-05-04 [all 1 reports]
Hackage Matrix CI





allow debug logging


operate in developer mode


test secondary indexes (requires default riak engine to have that support)


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees

Readme for riak-

[back to package description]

Welcome to the Haskell Riak client

This library is a fast Haskell client for the Riak decentralized key/value data store.

It uses Riak's protobuf API for optimal performance.

This project was originally the work of Bryan O'Sullivan (, and then Janrain, Inc., it is now being maintained by Mark Hibberd ( and Tim McGilchrist (

Join in!

We are happy to receive bug reports, fixes, documentation enhancements, and other improvements.

Please report bugs via the github issue tracker.

Master git repository:

  • git clone git://

Note the official repo is now


Build Status