zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peng Li <peng.pen...@gmail.com>
Subject Extending session lifetime with client requests
Date Fri, 14 Oct 2016 05:59:57 GMT
Hi there,

Suppose a zookeeper session timeout is configured to 10 seconds. If at time
t, a client sends a getData() request to the ensemble and succeeds, can I
assume the client's zookeeper session will be live for the next (10 -
delta) seconds according to the client's local clock? In other words, will
a client request extend the lifetime of the session by another session
timeout?

The delta will account for clock skew between client and server. In
practice, the clock skew is bounded and very small (<<10 seconds) in a 10
seconds interval. Absolute clock skew doesn't matter. Only the clock rate
skew matters.

Cheers
Peng

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message