a redis client connection pool
npm install redis-connection-poolredis-connection-pool
=====================
A node.js connection pool for Redis.
https://silverbucket.github.io/redis-connection-pool



A high-level redis connection pooling object. It manages
a number of connections in a pool, using them as needed and keeping all aspects
of releasing active connections internal to the object.
``javascript`
npm install redis-connection-pool
`javascript
import redisPoolFactory from 'redis-connection-pool';
const redisPool = await redisPoolFactory('myRedisPool', {
max_clients: 5, // default
redis: {
url: 'redis://localhost:6379'
}
});
await redisPool.set('test-key', 'foobar');
const foo = await redisPool.get('test-key');
// returns 'foobar'
`
Or you can create a pool instance directly
`javascript`
import RedisConnectionPool from 'redis-connection-pool';
const redisPool = new RedisConnectionPool();
await redisPool.init();
When you are done
`javascript`
redisPool.shutdown();
* blpop
* brpop
* del
* expire
* get
* hdel
* hget
* hgetall
* hset
* incr
* keys
* lpush
* rpush
* sendCommand
* set
* ttl
* init
* shutdown