redis-pooling is a Node.js module for creating Redis connection pools, handling multiple clients efficiently. Current stable version is 1.0.11. Release cadence is low, with no recent updates. It allows limiting and reusing Redis connections to avoid exhaustion of connections on the Redis server. Key differentiators include simple API for pooling connections compared to generic connection pool libraries. Not to be confused with the official node-redis pool feature (which is now built-in). Consider using ioredis's built-in connection management instead.
npm install redis-poolingNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a Redis connection pool with up to 10 clients, acquires a client to set a key, then releases it back to the pool.
Consider using ioredis built-in connection pool or generic-pool with redis client directly.
Use max_clients in config object.
Wrap acquire and release in a Promise manually, or use util.promisify.
Start Redis server on localhost:6379 or set environment variables REDIS_HOST and REDIS_PORT.
Use 'import { createPool } from 'redis-pooling'' instead of default import.