rpt / riakc_poolboy

Pool of Riak connections with Poolboy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Riak Protocol Buffers Client Pool

About

Riak client connection pool using poolboy

Usage

SizeArgs = [{size, 10},
            {max_overflow, 20}],
WorkerArgs = [{hostname, "127.0.0.1"},
              {port, 8087},
              {options, [{auto_reconnect, true}]}],
PoolName = badger_pool,
riakc_poolboy:start_pool(PoolName, SizeArgs, WorkerArgs),


riakc_poolboy:stop_pool (PoolName).

TODO

  • Support streaming functions
  • Tests

About

Pool of Riak connections with Poolboy

License:BSD 2-Clause "Simplified" License


Languages

Language:Erlang 100.0%