Alibaba cloud Q & A 2022-02-13 06:12:43 阅读数:839
Zookeeper How to realize distributed notification and coordination ？
For system scheduling ： The operator actually changes the status of a node through the console , then zk Send these changes to the watcher All clients of .
For the performance report ： Each worker process creates a temporary node in a directory . And carry the progress data of the work , In this way, the summarized process can monitor the changes of the directory sub nodes to obtain the real-time global situation of the work progress .
copyright：author[Alibaba cloud Q & A]，Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130612420755.html