spring-projects / spring-projects/spring-data-redis
LettuceClusterTopologyProvider does not use cached topology
Open
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.