twitter / storehaus

Storehaus is a library that makes it easy to work with asynchronous key value stores
Apache License 2.0
465 stars 86 forks source link

storehaus-zookeeper #77

Open johnynek opened 11 years ago

johnynek commented 11 years ago

Some example code here:

https://github.com/azymnis/scalafish/blob/master/src/main/scala/org/zymnis/scalafish/zookeeper/Client.scala#L93

Might be good to use util-zk too:

https://github.com/twitter/util/tree/master/util-zk/src/main/scala/com/twitter/zk

I guess you have two stores here:

Data at nodes: K = Path, V = (Data(Array[Byte]), Stat)

Children: K = Path, V = (List[Path], Stat)

softprops commented 11 years ago

neat idea.

softprops commented 11 years ago

Not really to send pull request, but I started sketching this out here

johnynek commented 11 years ago

Awesome! looks great. Looking forward to this.

rubanm commented 11 years ago

@softprops May I pick this up from your branch if you don't have any immediate plans of working on it?

softprops commented 11 years ago

If its okay with you. I'm gonna take a stab at finishing it. I syncd up my branch with twttr/develop and started working on tests last night

rubanm commented 11 years ago

Sounds good! :)