Skip to content

Refactoring Hedis's Connection Pool Management For Clustered Redis #195

@ishan-juspay

Description

@ishan-juspay

Currently for Clustered Redis connection pool management, we treat each resource of the pool as a list of active connection to each node of the cluster. This has the following problems:

  1. If application is unable to connect to any one of the node (returned from Cluster Slots), client will not be able to create any new resource in the pool.
  2. If one of the node in the cluster is having high latency, it might end up blocking all resources from the pool, thus causing the issue to spillover for the entire application. Ideally the issue should be confined to the operations happening to that specific node and operations to other well performing nodes shouldn't be impacted.

Idea is to explore if there should be a connection pool per node of the Redis cluster to solve this?

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