java - zookeeper是如何知道它的目录树中的一个节点挂掉了?然后才去措施的?
怪我咯
怪我咯 2017-04-18 09:43:33
0
2
682

zookeeper为树形结构,类似文件系统,每个节点称为znode:znode里可以存数据(最大1MB),可以挂子znode
znode的名字以"/"开头,"/"为根节点。当一个znode挂点的时候,zookeeper是如何知道的?又是采取何种措施解决的呢?

怪我咯
怪我咯

走同样的路,发现不同的人生

reply all(2)
伊谢尔伦

Observer mode?

大家讲道理

update: I read the wrong question, which means I don't know!
Didn't it mean that there is a heartbeat sensor? If I can't ping you, you must have died.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template