celluloid / dcell

UNMAINTAINED: See celluloid/celluloid#779 - Actor-based distributed objects in Ruby based on Celluloid and 0MQ
http://celluloid.io
MIT License
595 stars 65 forks source link

Riak registry adapter #34

Closed bkerley closed 11 years ago

bkerley commented 11 years ago

This adds a dependency on the "riak-client" gem (c.f. https://github.com/basho/riak-ruby-client ).

It uses Riak buckets prefixed as "dcellenvironment" by default, but you can override that. All the options that aren't environment and prefix are passed right to the Riak client, so you can set it up with multiple nodes, protocol buffers, etc.

I know you're changing the API soon, but I wanted to do this for reasons :tongue:

halorgium commented 11 years ago

@tarcieri what should we do with this? I think we have the potential to easily have all these adapters as part of any DCell node discovery/co-ordination gem.

tarcieri commented 11 years ago

I'd suggest for starters converting the existing adapters into actors, then perhaps factoring them out of DCell proper into their own gems or something.

bkerley commented 11 years ago

Whenever the API gets changed to actor-based instead of just raw Ruby, I'll port this over :)

tarcieri commented 11 years ago

Cool! Closing for now ;)