Automatic Redis pipeline support for ioredis. Version 1.0.2. This library transparently batches Redis commands into pipelines to increase throughput by up to 100% without code changes. It supports all built-in commands except subscribe and psubscribe. Ideal for high-throughput Node.js applications using ioredis. The library wraps an ioredis instance and automatically queues commands, executing them in batches. Maintenance is minimal as the API is simple and the library is stable.
npm install ioredis-auto-pipelineNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a wrapped ioredis instance that automatically pipelines commands, demonstrating set, get, incr, and lpush.
Avoid using subscribe/psubscribe with auto-pipeline; use ioredis directly for pub/sub.
For latency-sensitive commands, consider using ioredis directly without auto-pipeline.
Ensure all Redis operations go through the wrapped instance to maintain ordering.
Use require('ioredis-auto-pipeline') instead of import.Run 'npm install ioredis' in your project.
Use ioredis directly (not wrapped) for pub/sub commands.