I'm using activemq 5.13.3 with replicatedLevelDB and I'm wondering how to
best configure the zkSessionTimeout setting as it relates to ZooKeeper's
"tick time".

http://activemq.apache.org/replicated-leveldb-store.html shows that
zkSessionTimeout defaults to 2s.

https://zookeeper.apache.org/doc/r3.1.2/zookeeperStarted.html shows that
zk's "tick time" defaults to 2s.

But zk's timeout is 2 * "tick time" = 4s

Is it better to have zkSessionTimeout less than, equal to, or greater than
zk's timeout? In other words, what would be the benefits/drawbacks of
increasing zkSessionTimeout 4s, or 5s (while leaving zk's "tick time" at
2s)?

Thanks,
adam



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/need-help-understanding-zkSessionTimeout-tp4718772.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to