What are the main calculation formulas of zookeeper?

Alibaba cloud Q & A 2022-02-13 06:01:16 阅读数:611

main calculation formulas zookeeper

ZooKeeper What are the main calculation formulas for session management ?

Take the answer 1:

ExpirationTime_ = currentTime + sessionTimeout

ExpirationTime = (ExpirationTime_ / ExpirationInrerval + 1) *

ExpirationInterval , ExpirationInterval Refer to Zookeeper Session timeout check interval , Default tickTime

copyright:author[Alibaba cloud Q & A],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130601144944.html