
zookeeper
司马缸砸缸了
主要擅长领域:中间件,JAVA,分布式,APM。善于专研,乐于分享。人生格言:只管努力,其他的交给命运。
展开
-
【弄nèng - Zookeeper】Zookeeper入门教程(九)—— ZKPaths工具类
文章目录1. ZKPaths2. 事例源码地址项目推荐本文介绍zk客户端curator的使用,本文主要介绍Curator recipes的使用官方文档传送门官方文档Curator recipes参考:http://www.throwable.club/2018/12/16/zookeeper-curator-usage/https://blog.youkuaiyun.com/hosaos/arti...原创 2020-04-09 10:31:26 · 793 阅读 · 0 评论 -
【弄nèng - Zookeeper】Zookeeper入门教程(八)—— 分布式计数器DistributedAtomicInteger
文章目录1. 分布式计数器DistributedAtomicInteger2. 事例源码地址项目推荐本文介绍zk客户端curator的使用,本文主要介绍Curator recipes的使用官方文档传送门官方文档Curator recipes参考:http://www.throwable.club/2018/12/16/zookeeper-curator-usage/https://bl...原创 2020-04-07 19:11:25 · 491 阅读 · 0 评论 -
【弄nèng - Zookeeper】Zookeeper入门教程(七)—— 分布式Barrier
文章目录1. 分布式Barrier2. 第一种使用方式3. 第二种使用方式4. 区别源码地址项目推荐本文介绍zk客户端curator的使用,本文主要介绍Curator recipes的使用官方文档传送门官方文档Curator recipes参考:http://www.throwable.club/2018/12/16/zookeeper-curator-usage/参考书籍:《从Pax...原创 2020-04-07 09:21:32 · 323 阅读 · 0 评论 -
【弄nèng - Zookeeper】Zookeeper入门教程(六)—— 分布式锁InterProcessMutex
文章目录1. 分布式锁InterProcessMutex2. 生成订单号事例源码地址项目推荐本文介绍zk客户端curator的使用,本文主要介绍Curator recipes的使用官方文档传送门官方文档Curator recipes参考:http://www.throwable.club/2018/12/16/zookeeper-curator-usage/[https://blog....原创 2020-04-03 17:11:06 · 1089 阅读 · 0 评论 -
【弄nèng - Zookeeper】Zookeeper入门教程(五)—— Master选举(Curator-recipes)
文章目录1. Master选举2. LeaderLatch3. LeaderSelector4. 区别源码地址项目推荐本文介绍zk客户端curator的使用,本文主要介绍Curator recipes的使用官方文档传送门官方文档Curator recipes参考:http://www.throwable.club/2018/12/16/zookeeper-curator-usage/h...原创 2020-04-02 09:32:18 · 521 阅读 · 0 评论 -
【弄nèng - Zookeeper】Zookeeper入门教程(四)—— 事件通知cache(Curator-recipes)
文章目录1. Curator-recipes简介2. 事件监听2.1 NodeCache2.2 PathChildrenCache2.3 TreeCache3. Curator recipes源码地址项目推荐本文介绍zk客户端curator的使用,本文主要介绍Curator recipes的使用官方文档传送门官方文档Curator recipes参考:http://www.throwab...原创 2020-03-31 09:20:32 · 510 阅读 · 0 评论 -
【弄nèng - Zookeeper】Zookeeper入门教程(三)—— 客户端Curator的基本API使用(Curator framework)
文章目录1. Curator简介2. Curator framework3. Curator recipes4. 基本Api4.1 创建会话4.1.1 使用静态工程方法创建4.1.2 使用Fluent风格Api创建4.1.3 RetryPolicy说明4.1.4 namespace说明4.2 创建节点4.3 删除节点4.4 读取数据4.5 更新数据4.6 判断节点是否存在4.7 获取某个节点的所...原创 2020-03-26 09:25:54 · 682 阅读 · 0 评论 -
【弄nèng - Zookeeper】Zookeeper入门教程(二)—— 客户端脚本zkCli的使用
文章目录1. 连接服务器1.1 创建节点1.2 读取--ls1.3 读取--get1.4 读取--get并设置watch1.5 设置数据1.6 删除指定节点项目推荐本文介绍zk客户端脚本的使用官方文档传送门参考书籍:《从Paxos到ZooKeeper 分布式一致性原理与实践》1. 连接服务器我们可以通过zkCli对ZK进行操作。语法./zkCli.sh -server ip:po...原创 2020-03-20 20:03:54 · 429 阅读 · 0 评论 -
【弄nèng - Zookeeper】Zookeeper入门教程(一)—— 基本概念与Windows安装
文章目录1. 简介1.1 设计目标1.2 分层命名空间1.3 Znodes 类型1.4 特性1.5 基本概念2. 创建模板项目推荐官方文档传送门参考:文章: https://www.yiibai.com/zookeeper/zookeeper_fundamentals.html书籍:《从Paxos到ZooKeeper 分布式一致性原理与实践》1. 简介官方解释:ZooKeepe...原创 2020-03-19 15:55:22 · 280 阅读 · 0 评论