-
Notifications
You must be signed in to change notification settings - Fork 0
Chapter 3 Riak Exercises
mattcallanan edited this page Sep 19, 2012
·
1 revision
- Using PUT, update animals/polly to have a Link pointing to photos/polly.jpg
- POST a file of a MIME type we haven’t tried (such as application/pdf), find the generated key, and hit that URL from a web browser
- Add medicines:
- Create new bucket type called medicines
- PUT JPEG image value (with proper MIME type) keyed as antibiotics
- Link to the animal Ace (poor, sick puppy)
- Write map and reduce functions against the rooms bucket to find the total guest capacity per floor
- Extend the previous function with a filter to find the capacities only for rooms on floors 42 and 43
- Create your own index that defines the animals schema.
- Specifically, set the score field to integer type, and query it as a range
- Start up a small cluster of three servers (such as three laptops or EC2 instances), and install Riak on each
- Set up the servers as a cluster
- Install the Google stock dataset, located on the Basho website