Hi Joey, here is a link to information on session timeouts. http://hadoop.apache.org/zookeeper/docs/r3.0.1/zookeeperProgrammers.html#ch_ zkSessions 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. mahadev On 2/22/09 3:09 AM, "Joey Echeverria" <joe...@gmail.com> wrote: > Is there a recommended session timeout? Does it change based on the > ensemble size? > > Thanks, > > -Joey