|
|
|
|
|
by rb2k_
5226 days ago
|
|
I love to go back to Riak every now and then and throw one of the bigger datasets I have sitting around at a single node using Ruby. It is one of the most interesting databases out there and it's a breeze to set up (especially when compared to Cassandra). It is kind of a shame though. Riak has awesome features, but some of them (e.g. secondary indexes) are hard to use and documentation is somewhat missing. If you look at the official clients page (http://wiki.basho.com/Client-Libraries.html#Ruby), you can see ripple (https://github.com/seancribbs/ripple) but the page doesn't mention riak-ruby-client (https://github.com/basho/riak-ruby-client) which was split from ripple some time ago. In theory, both of them support secondary indexes as far as I can tell, but you won't find that feature in either readme. There are some specs available that somehow describe parts of it though. I still don't see clearly how I could search secondary indexes from either library. The same goes for things like data vs raw_data and serializers (small discussion: https://github.com/basho/riak-ruby-client/pull/19). While there is a very informative screencast in Seans blog, there is no mention in the readme file. |
|