spring-projects / spring-projects/spring-data-redis

LettuceClusterTopologyProvider does not use cached topology

Open
#2,500 1 comment 0 reactions 2 assignees View on GitHub

@jxblum is already working on this.

Since Feb 27, 2023.

status: pending-design-work type: enhancement
Dominant language
Java
Stars
1.9k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

In JedisClusterTopologyProvider getTopology uses cached value for some time so it is better for performance and memory. In LettuceClusterTopologyProvider it is not done in the same way - always new value and topology are created.

Is it possible to somehow use cached value also in LettuceClusterTopologyProvider?
When we are doing health checks often I see it impacts performance and memory heavily.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.