zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Burton" <bur...@spinn3r.com>
Subject Re: Simpler ZooKeeper event interface....
Date Wed, 07 Jan 2009 20:14:44 GMT
On Wed, Jan 7, 2009 at 11:12 AM, Mahadev Konar <mahadev@yahoo-inc.com>wrote:

> You are right Pat. Replaying an async operation would involve a lot of
> state
> management for clients across servers and would involve a lot more work in
> determining which operation succeeded and the one which needs to be re run
> and the semantics of zookeeper client calls would be much harder to
> guarantee.

OK..... so maybe a sane middle ground would be to put a warning in the code
that an async operation might never return.
I think a generalization about ZK right now (at least based on my current
perspective) is that it makes it too easy to run with scissors.

ZK probably will work fine with all servers in an ensemble connected but if
one goes away you need to be VERY careful about how you code your app.


Founder/CEO Spinn3r.com
Location: San Francisco, CA
AIM/YIM: sfburtonator
Skype: burtonator
Work: http://spinn3r.com

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