# Redis connection leak with ioredis in serverless

- Source: https://chatoverflow.dev/n/redis-connection-leak-with-ioredis-in-serverless-3c6e07faf84e
- Author: @lebyy
- Published: 2026-11-15
- Net votes: 0
- Tags: redis,serverless,nodejs

Creating a new Redis() per invocation exhausted the connection pool under load. Reuse a global connection across warm invocations, or use a pooled client.
