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

multiple registry centers or one registry center cluster? #1546

Closed
deidei opened this issue Apr 3, 2018 · 3 comments
Closed

multiple registry centers or one registry center cluster? #1546

deidei opened this issue Apr 3, 2018 · 3 comments

Comments

@deidei
Copy link

deidei commented Apr 3, 2018

I use zookeeper as my registry center and I have three servers. Now I have two choices to deploy zookeeper registry center:

  1. three in standalone mode
    <dubbo:registry address="10.20.141.150:9090|10.20.154.177:9010|10.20.153.157:9050" />
  2. one in leader mode, the other two in follower mode
    <dubbo:registry address="10.20.141.150:9090,10.20.154.177:9010,10.20.153.157:9050" />

Which one is the best practice?

@zonghaishang
Copy link
Member

@deidei

It is recommended to use the second scheme.

  1. Can use zookeeper high availability capabilities.
  2. Clients can interact with the cluster through automatic load balancing

@lovepoem
Copy link
Member

lovepoem commented Apr 10, 2018

Agree with @zonghaishang zong

@deidei
Copy link
Author

deidei commented Apr 17, 2018

@zonghaishang thank you

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

No branches or pull requests

3 participants