ioredis-conn-pool is a Redis connection pool implementation based on ioredis and generic-pool, designed to simplify the management of Redis client connections in Node.js applications. Current stable version is 2.0.1. It uses generic-pool for robust connection lifecycle management with configurable min/max pool size, and relies on ioredis for Redis protocol handling. Compared to alternatives like redis-pool or simple ioredis client reuse, it provides a higher-level API that abstracts acquire/release patterns and supports TypeScript out of the box. Released under MIT license.
npm install ioredis-conn-poolNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to create a RedisPool, acquire a connection, execute commands, release it, and close the pool.
Use try...finally block to ensure release.
Call pool.end() instead of client.disconnect().
Wrap min/max inside a pool: {} object.Always await pool.end().
Run npm install ioredis-conn-pool and ensure the import path is correct: 'ioredis-conn-pool'.
Use import { RedisPool } from 'ioredis-conn-pool'.Check Redis configuration and ensure server is reachable.