Introduction to Riak, and Riak-CS at "Munich Rubyshift The big Ruby & Database shootout!" 9/2013 http://www.meetup.com/Munich-Rubyshift-Ruby-User-Group/
15. More on the basics behind
this?
Littleriakbook by Eric Redmond
dynamo paper
16. Ring members
$ riak-admin member-status
=========================== Membership ============================
Status Ring Pending Node
-------------------------------------------------------------------
valid 100.0% -- 'riak@127.0.0.1'
-------------------------------------------------------------------
Valid:1 / Leaving:0 / Exiting:0 / Joining:0 / Down:0
17. Ring Status
$ riak-admin ring-status
============================ Claimant =============================
Claimant: 'riak@127.0.0.1'
Status: up
Ring Ready: true
======================== Ownership Handoff ========================
No pending changes.
======================== Unreachable Nodes ========================
All nodes are up and reachable
18. Just Key / Value store? ...
mehh!
Tags
Map and Reduce
S3...
25. ... or just setup via Vagrant!
$ vagrant plugin install vagrant-berkshelf
$ vagrant plugin install vagrant-omnibus
$ git clone https://github.com/basho/vagrant-riak-cs-cluster
$ cd vagrant-riak-cs-cluster
$ RIAK_CS_CREATE_ADMIN_USER=1 vagrant up
Virtual setup using vagrant
26. Create a user
curl -H 'Content-Type: application/json' -X POST
http://127.0.0.1:8080/riak-cs/user
--data '{"email":"admin@admin.com", "name":"admin"}'