cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yang <>
Subject Re: zookeeper, how do you feed the pets?
Date Mon, 17 May 2010 02:44:15 GMT
I guess you'd have better luck with the zookeeper user list

but according to my very limited understanding of ZK,  u can use the
ZooKeeper.setData()/getData() API

storing a simple count should be simple to ZK since each ZNode is
designed to hold a small piece of data. it's interesting
that most of the examples covered on ZK twiki are about manipulation
of the existence of ZK (i.e. the "path name" of ZNode)
rather than the data content, I guess that's the reason you find it a problem

On Sun, May 16, 2010 at 7:04 PM, S Ahmed <> wrote:
> Can someone quickly go over how you go about using zookeeper if you want to
> store counts and have those counts be accurate?
> e.g. in digg's case I believe, they are using zookeeper so they can keep
> track of digg's for a particular digg story.
> Is it a backend change only and then storing API calls are uneffected?  is
> it a config issue ?
> What are the ramifications of using this addon, are writes slower because
> you have to wait for the write to propogate to all the servers?

View raw message