zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mahadev Konar <maha...@yahoo-inc.com>
Subject Re: Recommended session timeout
Date Mon, 23 Feb 2009 19:17:12 GMT
Hi Joey,
 here is a link to information on session timeouts.
The session timeouts depends on how sensitive you want your application to
be. A very low session timeout like (1-2 seconds) might lead to your
application being very sensitive to events like minor network problems etc.,
a higher values of say (30 seconds) on the other hand might lead to slow
detection of client failures -- example one of the zookeeper client which
has ephemeral node goes down, in this case the ephemeral nodes will only go
away after session timeout.

I have seen some users using 10-15 seconds of session timeout, but you
should use as per your application requirements.

Hope this helps.

On 2/22/09 3:09 AM, "Joey Echeverria" <joey42@gmail.com> wrote:

> Is there a recommended session timeout? Does it change based on the
> ensemble size?
> Thanks,
> -Joey

View raw message