The riak package

[Tags:benchmark, library, test]

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 && <1.2), async (>= && <2.2), 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.5), pureMD5, random, resource-pool (==0.2.*), riak-protobuf (==0.22.*), semigroups (>=0.16), stm (==2.4.*), text (==1.2.*), time (>=1.4.2 && <1.7), transformers (>=0.3 && <0.6), transformers-base (==0.4.*), 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 repository head: git clone
Uploaded Wed May 24 00:46:58 UTC 2017 by lambda_foo
Distributions NixOS:, Tumbleweed:
Downloads 4603 total (290 in the last 30 days)
0 []
Status Docs available [build log]
Last success reported on 2017-05-24 [all 1 reports]




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


Maintainer's Corner

For package maintainers and hackage trustees

Readme for riak

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 ( 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