-
Notifications
You must be signed in to change notification settings - Fork 5k
[DSIP-9][Feature][Server] Add new registry plugin based on raft #10874
Copy link
Copy link
Closed
Labels
Description
Search before asking
- I had searched in the issues and found no similar feature requirement.
Description
The role of zookeeper
- Store service-related information of master and worker, host IP, port, cpu load, etc.
- Master and worker health check
- master failover
- Distributed lock
Problems caused by zookeeper
- Increase the complexity of system deployment and operation and maintenance. While deploying the DS cluster, a zookeeper cluster should also be deployed. It is also necessary to monitor the operation and maintenance of the DS cluster and the zookeeper cluster at the same time
- Increase the chance of error. The network between the DS cluster and the zookeeper cluster is fluttering, and errors may occur.
Advantages of remove zookeeper
- The deployment architecture is simpler
- Lower maintenance cost
- No more DS errors due to zookeeper cluster errors
Blue print of remove zookeeper
- Refer to Kafka's KRaft solution to achieve leader election and data synchronization between masters
- The worker server registers with the leader master and maintains a heartbeat with the master
- Api server obtains cluster information from leader master
Use case
No response
Related issues
Are you willing to submit a PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done
