Skip to content

[Performance] Redis connection leak in real-time notification engine under heavy traffic #590

Description

@Pratikshya32

Description

The Redis pub/sub mechanism used for messaging triggers client connection initialization on each new connection without proper resource cleanup. Under high concurrent load, this results in socket descriptor exhaustion and connection drops.

Proposed Refactoring

  • Implement a centralized Redis client connection pool.
  • Ensure listener connections are properly released and cleaned up on socket disconnect/error events.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions