The riak package

[Tags: library]

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]


Dependenciesaeson (>=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]
CopyrightCopyright 2011 MailRank, Inc. Portions copyright 2007-2010 Basho Technologies, Inc.
AuthorBryan O'Sullivan <>
MaintainerMark Hibberd <>, Nathan Hunter <>, Tim McGilchrist <>
Home page
Source repositoryhead: git clone
UploadedMon Mar 14 22:16:08 UTC 2016 by lambda_foo
DistributionsLTSHaskell:, NixOS:, Stackage:
Downloads3548 total (37 in last 30 days)
0 []
StatusDocs uploaded by user
Build status unknown [no reports yet]




debugallow debug loggingEnabledAutomatic
developeroperate in developer modeDisabledManual
test2itest secondary indexes (requires default riak engine to have that support)DisabledAutomatic

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


Maintainers' corner

For package maintainers and hackage trustees

Readme for riak-

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 (

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:

Note the official repo is now


Build Status