riakc_pool

Simple Riak Erlang client process pool

MIT License

Stars
11

riakc_pool

(Really) simple Erlang Riak client process pool based on riak-erlang-client and poolboy.

Dependencies

  • Erlang (>= R15B01)
  • rebar

Setup

make all

Configuration

[
  {riakc, [
    {riak_address, "127.0.0.1"},
    {riak_port, 8087},
    {riak_options, []} % riakc_pb_socket options

    {pool_size, 10},
    {pool_max_overflow, 20},
    {pool_worker_timeout, 5000}
  ]}
]

Running application

application:start(riakc_pool)

Usage

  • riakcp:exec(Function, Args), where Function is riakc_pb_socket module
    function name and Args is a list of its parameters excluding Pid.
Badges
Extracted from project README
Build Status