riak and The Beatles

francisco treacy francisco.treacy at gmail.com
Sat Jun 5 07:06:56 EDT 2010

Check out the Riak Fast Track in the wiki at wiki.basho.com. IIRC
there is an example with sample data from Google stocks.

But I agree there should be more.


2010/6/5 Thomas Heller <info at zilence.net>:
> Howdy folks,
> I'm trying to get more into riak lately but my time is limited so I'm
> still at the most basic level.
> Anyways, looking over every example I find (talks, blogs, etc) there
> are always great examples how link-walking, map-reduce, etc is the
> answer to all. But NEVER do I seem to find any source Data. I mean its
> great that I can call something like:
> @ http://seancribbs.com/tech/2010/02/06/why-riak-should-power-your-next-rails-app/
> GET /raw/artists/TheBeatles/albums,_,_/tracks,_,1
> or something ripple style:
> @ http://github.com/seancribbs/ripple
> results = Riak::MapReduce.new(client).
>                add("artists","Beatles").
>                link(:bucket => "albums").
>                map("function(v){ return
> [JSON.parse(v.values[0].data).title]; }", :keep => true).run
> and get a bunch of Beatles tracks but would anyone mind showing the
> the source data?
> How would the artist/album/track documents look like?
> What would their links look like?
> I appreciate the effort to evangilize Riak and probably can work all
> that out by myself but that would require alot more time than just
> looking at some simple examples (with DATA). I can understand that you
> probably dont want to "enforce" a Schema upon people by building a
> defacto "reference" app but at least back up your examples with the
> underlying data, even if its just for one artist/album/track relation.
> Sorry for the rant.
> Cheers,
> /thomas
> PS: Sorry Sean for only including examples from your Posts, there are
> others too.
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

More information about the riak-users mailing list