RedisZ v0.2.0 RedisZ.Pool View Source

Parallel & concurrent Redix connection pool.

cf. https://hexdocs.pm/redix/real-world-usage.html

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor

Get a random Redix connection from the pool

Link to this section Types

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function get_conn(pool_name, pool_size) View Source
get_conn(name(), non_neg_integer()) :: atom()

Get a random Redix connection from the pool.