job 做 ha 问题?
生活随笔
收集整理的这篇文章主要介绍了
job 做 ha 问题?
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
| Gibhub地址 | https://github.com/zookeeper-user-group/zookeeper/issues/2 | |
| 标题 | job 做 ha 问题 | |
| 描述 | mogu1986 commented on 25 Mar 环境:单机zk3.4.5 cleint : Curator 2.4 session timeout 5s connetion timeout 10s 我现在有一个job,想做HA功能,用的LeaderLatch , 经常出现LOST, ,不知道有啥折中办法没? | |
| 解答 | nileader commented on 26 Mar 5s的超时时间还是略短了。 另:你zookeeper集群的机器数是几台,客户端进程出现LOST的时候,客户端和服务端的负载情况分别如何? mogu1986 commented on 29 Mar 就只有1 台,机器负载在1左右徘徊, dell R620 服务器,32G内存 | |
总结
以上是生活随笔为你收集整理的job 做 ha 问题?的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: 边缘提取,大津算法
- 下一篇: Bonjour/Zeroconf wit