上一页 1 ··· 65 66 67 68 69 70 71 72 73 ··· 177 下一页
摘要: [root@wx03 lib]# cat a1.pl use AE;use AnyEvent;##定义watchmy $t = AnyEvent->timer( after => 0, interval => 5, cb => sub ... 阅读全文
posted @ 2016-07-14 10:19 czcb 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 运行复制的ZooKeeper运行ZooKeeper 在一个独立模式下是方便评估的, 一些开发,和测试。但是在生产,你应该运行ZooKeeper 在复制模式。一个复制的servers group 在相同应用是被称为quorum(冲裁),在一个复制模式,所有的servers在冲裁有相同的配置文件的拷... 阅读全文
posted @ 2016-07-14 09:44 czcb 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 运行复制的ZooKeeper运行ZooKeeper 在一个独立模式下是方便评估的, 一些开发,和测试。但是在生产,你应该运行ZooKeeper 在复制模式。一个复制的servers group 在相同应用是被称为quorum(冲裁),在一个复制模式,所有的servers在冲裁有相同的配置文件的拷... 阅读全文
posted @ 2016-07-14 09:44 czcb 阅读(195) 评论(0) 推荐(0) 编辑
摘要: [root@wx03 conf]# cat zoo.cfg # The number of milliseconds of each ticktickTime=2000# The number of ticks that the initial # synchronization phase c... 阅读全文
posted @ 2016-07-13 21:06 czcb 阅读(587) 评论(0) 推荐(0) 编辑
摘要: [root@wx03 conf]# cat zoo.cfg # The number of milliseconds of each ticktickTime=2000# The number of ticks that the initial # synchronization phase c... 阅读全文
posted @ 2016-07-13 21:06 czcb 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 举个例子 比如我以前通过haproxy 负载两台tomcat8082 比如api01 api02 以前发布 重启tomcat8082 端口打开了但是服务还没启动完毕 此时访问会出错这样就实现了所谓的分布式 检查我api机器上的服务 在zookeeper中是否注册 在进行访问我:[com.zjz... 阅读全文
posted @ 2016-07-13 17:15 czcb 阅读(199) 评论(0) 推荐(0) 编辑
摘要: 举个例子 比如我以前通过haproxy 负载两台tomcat8082 比如api01 api02 以前发布 重启tomcat8082 端口打开了但是服务还没启动完毕 此时访问会出错这样就实现了所谓的分布式 检查我api机器上的服务 在zookeeper中是否注册 在进行访问我:[com.zjz... 阅读全文
posted @ 2016-07-13 17:15 czcb 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 17.1 Replication Configuration 复制:17.1.1 How to Set Up Replication17.1.2 Replication Formats17.1.3 Replication with Global Transaction Identifiers17... 阅读全文
posted @ 2016-07-13 11:05 czcb 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 17.1 Replication Configuration 复制:17.1.1 How to Set Up Replication17.1.2 Replication Formats17.1.3 Replication with Global Transaction Identifiers17... 阅读全文
posted @ 2016-07-13 11:05 czcb 阅读(87) 评论(0) 推荐(0) 编辑
摘要: Chapter 17 Replication 复制 Table of Contents 17.1 Replication Configuration 17.2 Replication Implementation 17.3 Replication Solutions ... 阅读全文
posted @ 2016-07-13 10:24 czcb 阅读(124) 评论(0) 推荐(0) 编辑
上一页 1 ··· 65 66 67 68 69 70 71 72 73 ··· 177 下一页