
分布式协调
Shawn Jeon
这个作者很懒,什么都没留下…
-
原创 ZooKeeper客户端 Curator(三)
ZooKeeper客户端 Curator三简介Curator锁接口源码分析实现可重入互斥锁, 有两种方法LockInternals类StandardLockInternalsDriver implements LockInternalsDriverInterProcessMutex implements InterProcessLock, Revocable 简介 Curator作为客户端实现了 ZooKeeper的核心接口封装. 大幅度降低了 ZooKeeper的使用复杂度 http://curator2020-08-07 22:58:5098
0
-
原创 ZooKeeper安装&集群配置(二)
ZooKeeper安装&集群配置二下载单机单机配置单机启动客户端连接集群Windows单机集群配置服务器启动客户端本地连接& 远程连接 下载 https://zookeeper.apache.org/releases.html 单机 apache-zookeeper-3.6.1-bin.tar.gz下载后解压, 将 conf/zoo_sample.cfg文件, 命名为 conf/zoo.cfg 单机配置 # 此应用的所有时间都以这个时间为单位(毫秒), 如 session的最小超时2020-08-03 19:53:37133
0