spring-cloud / spring-cloud/spring-cloud-zookeeper

Properties reload costs a lot

Open
#315 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

waiting-for-triage
Dominant language
Java
Stars
574
Forks
408
Avg merge
1d 12h
Merged PRs (30d)
4

Description

https://github.com/spring-cloud/spring-cloud-zookeeper/blob/90fac586e2c05b9f17caf5be7ab7cc79403e924e/spring-cloud-zookeeper-config/src/main/java/org/springframework/cloud/zookeeper/config/ConfigWatcher.java#L113
if we have large number of configurations and a config is updated , all application nodes will pull the full configuration , which is too expensive.
Shall we add a cache with listener?

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.

Research direction

Start with spring-cloud-zookeeper-config/src/main/java/org/springframework/cloud/zookeeper/config/ConfigWatcher.java around line 113. Trace how a configuration update causes application nodes to pull the full configuration, then investigate the proposed cache and listener design. Done means updates avoid unnecessary full configuration pulls while preserving correct configuration propagation.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring-boot
Domain
cloud, distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.