Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Riak & Mobile for AT&T Hackathon

Riak & Mobile for AT&T Hackathon

12 slides and 5 minutes to cover Riak for mobile developers.

Mark Phillips

July 14, 2012
Tweet

More Decks by Mark Phillips

Other Decks in Technology

Transcript

  1. basho a scalable, boring backend for all (or at least

    some*) of your mobile apps http://bit.ly/riak-4-mobile Friday, July 13, 12
  2. Distributed, Scalable, Fault Tolerant Horizontally Scalable; Add commodity hardware to

    get more [throughput | processing | storage]. basho Friday, July 13, 12
  3. Distributed, Scalable, Fault Tolerant Always Available No Single Point of

    Failure Self-healing basho Friday, July 13, 12
  4. basho $ curl -O http://downloads.basho.com/riak/CURRENT/riak-1.1.4-osx-x86_64.tar.gz $ tar xzvf riak-1.1.4-osx-x86_64.tar.gz $

    cd riak-1.1.4 $ bin/riak start Getting Riak Or ... run four nodes locally -> http://bit.ly/riak-local Friday, July 13, 12
  5. basho HTTP API •PUT /buckets/bucket/keys/key # write object with user

    defined key •POST /buckets/bucket/keys/key # write object with Riak-supplied key •GET /buckets/bucket/keys/key •DELETE /buckets/bucket/keys/key HTTP API has robust meta-data support; cURL is perfect for testing http://wiki.basho.com/HTTP-API.html Friday, July 13, 12
  6. basho Other Hotness •MapReduce # Targeted queries over known keys

    •Secondary Indexes # meta-data based indexing of k/v pairs •Riak Search # scalable, real-time, full-text search engine http://wiki.basho.com/Riak-Search.html http://wiki.basho.com/Secondary-Indexes.html http://wiki.basho.com/MapReduce.html Friday, July 13, 12
  7. basho Getting Started • wiki.basho.com/Riak.html • http://bit.ly/riak-local <- local dev

    environment • downloads.basho.com/riak/CURRENT/ • git.io/riak Friday, July 13, 12