basho / riak-ruby-client

The Riak client for Ruby.
Other
232 stars 92 forks source link

adding CRDT support #31

Closed skippy closed 12 years ago

skippy commented 12 years ago

Hey @seancribbs , I cringe to ask, as I know this is not trivial, plus I know that you all at Basho are working on it! I wanted to throw a place holder up here in case others like myself have questions.

Is there a rough ETA on something like this? Even if it is vague like mid-level priority, q3 of this year, etc would be helpful. We want to move more towards riak but this is a blocker for us. While we might be able to figure something out on our own (perhaps..., or mostly until we hit an edge case that kills us), if this is somewhere close to being merged into riak-ruby-client, we'll hold off.

is pulling in something like meangirls an option?

thanks!!!

seancribbs commented 12 years ago

@skippy I would use aphyr/meangirls for now. In addition to looking at supporting them inside Riak, we'll be looking more closely at client-side CRDTs over the next year.

aphyr commented 12 years ago

Meangirls is directly intended for use with Risky and Riak-client. Integration with Ripple should not be difficult; the Meangirls API is intended to translate to and from json-structured Ruby hashes, arrays, and primitives.

Meangirls isn't ready yet, though. I don't believe I have sufficient test coverage; working on probabilistic tests of CRDT invariants now.

--Kyle

On Apr 2, 2012, at 7:25 AM, Adam Greene wrote:

Hey @seancribbs , I cringe to ask, as I know this is not trivial, plus I know that you all at Basho are working on it! I wanted to throw a place holder up here in case others like myself have questions.

Is there a rough ETA on something like this? Even if it is vague like mid-level priority, q3 of this year, etc would be helpful. We want to move more towards riak but this is a blocker for us. While we might be able to figure something out on our own (perhaps..., or mostly until we hit an edge case that kills us), if this is somewhere close to being merged into riak-ruby-client, we'll hold off.

is pulling in something like meangirls an option?

thanks!!!


Reply to this email directly or view it on GitHub: https://github.com/basho/riak-ruby-client/issues/31

seancribbs commented 12 years ago

@aphyr I'd be happy to throw some code your way soon, this needs to happen.

aphyr commented 12 years ago

Ooh, all over that. I've got an early stab at a probabilistic test for generating CRDT set permutations/forks/joins but no invariants yet. Will likely take 1-2 weeks before I'm ready, what with vacation n all. If you want to implement any of the other CRDT datatypes (or improve what's there already) I've got OR-sets, LWW-sets, and 2P-sets in the repo with passing tests.

On Apr 2, 2012, at 9:48 AM, Sean Cribbs wrote:

@aphyr I'd be happy to throw some code your way soon, this needs to happen.


Reply to this email directly or view it on GitHub: https://github.com/basho/riak-ruby-client/issues/31#issuecomment-4869807

seancribbs commented 12 years ago

Closing, use Meangirls

skippy commented 12 years ago

thanks gents