Skip to content

feat: load config in parallel way #312

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

24kpure
Copy link

@24kpure 24kpure commented Feb 17, 2023

fix #306

@24kpure
Copy link
Author

24kpure commented Feb 17, 2023

@24kpure
Copy link
Author

24kpure commented Apr 28, 2023

@hanson76
Copy link

This had been a really good improvement. It can today take ages to fetch all config from ZooKeeper if there are lot of keys stored, even if they are only on one level. The need to attempt to fetch children for every node becomes really expensive if you have couple of hundreds of keys stored.

Another approach could be to fetch the stats for each path together with the data and check if the node has any children
and only attempt to fetch if that is true. That reduces the number of calls to the ZooKeeper cluster.

@24kpure
Copy link
Author

24kpure commented Apr 24, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Application starts for a long time
3 participants