Skip to content
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

Allowing to switch off ZookeeperServiceWatch #296

Open
messi612 opened this issue Sep 27, 2021 · 0 comments
Open

Allowing to switch off ZookeeperServiceWatch #296

messi612 opened this issue Sep 27, 2021 · 0 comments

Comments

@messi612
Copy link

Is your feature request related to a problem? Please describe.
ZookeeperServiceWatch create a treecache to iterate watch /services dir, when service and service instance num increase high,the watcher num will increase dramatically as instances watch the path each other
e.g. service num is 500, instance num is 2500, the watch number will be (500 + 2500) * 2500 * 2= 15m ,multiply 2 as
path data and path children will be both watched

Describe the solution you'd like
add a swtich to disable ZookeeperServiceWatch

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

No branches or pull requests

2 participants