zookeeper为树形结构,类似文件系统,每个节点称为znode:znode里可以存数据(最大1MB),可以挂子znodeznode的名字以"/"开头,"/"为根节点。当一个znode挂点的时候,zookeeper是如何知道的?又是采取何种措施解决的呢?
走同样的路,发现不同的人生
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.
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.