ZooKeeper
文章平均质量分 50
分布式协调服务
美好生活521
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Kafka 集群搭建
Kafka集群,CentOS7,ZooKeeper原创 2022-01-13 18:27:26 · 802 阅读 · 0 评论 -
分布式锁的三种实现方式
分布式锁实现方式主要有三种,数据库,Redis 和 ZooKeeper。 1、数据库实现分布式锁 使用select field from table_name where idx = n for update 关键词 for update,如果 idx为主键或索引字段,这样就会使用行锁,相同记录进行操作会阻塞,等待锁释放后才能继续,可以设置超时时间,如 for update 2s,获取不到锁就报异常。这种方式不会影响对其他行的 write 操作,也不会影响对表数据的 read 操作,不建议并发量很大.原创 2021-12-03 22:04:21 · 2851 阅读 · 0 评论 -
Dubbo 集成 ZooKeeper 注册中心实现服务调用
ZooKeeper 注册中心原创 2021-12-03 21:20:43 · 620 阅读 · 0 评论 -
ZooKeeper 3.5.5 基础使用
ZooKeeper原创 2021-07-31 23:41:29 · 609 阅读 · 0 评论 -
CentOS 7 上搭建 ZooKeeper 集群
ZooKeeper原创 2021-07-31 23:21:13 · 296 阅读 · 0 评论
分享