MattesGroeger / riakc_pool

Simple Riak Erlang client process pool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

riakc_pool

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

Build Status

Dependencies

  • Erlang (>= R15B01)
  • rebar

Setup

make all

Configuration

[
  {pool, [
    {size, 10},
    {max_overflow, 20}
  ]},
  {riakc, [
    {address, "127.0.0.1"},
    {port, 8087},
    {options, []} % riakc_pb_socket options
  ]}
]

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.

About

Simple Riak Erlang client process pool


Languages

Language:Erlang 99.0%Language:Shell 1.0%