Skip to content

Dumbris/riakc_pool

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

[
  {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.

About

Simple Riak Erlang client process pool

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Erlang 99.2%
  • Shell 0.8%