No-SQL Workshop March 30, 2010 @ Vermonster HQ in Boston, MA Agenda No-SQL  Background   (10 mins) Introduction to Riak (5...
What is No-SQL? Non-relational data stores that break with a long history of relational databases and ACID guarantees.
Why No-SQL? <ul><li>Scalability
Durability
More Natural Data Representation / Modeling
Because </li></ul>
Kinds of No-SQL <ul><li>Key/Store
Document
Graph
Others </li></ul>
CAP Theorem http://blog.nahurst.com/visual-guide-to-nosql-systems
Introduction to Riak <ul><li>Basho's Product
Erlang
Highly Distributed
Upcoming SlideShare
Loading in...5
×

Newer Yankee Workshop - NoSQL

1,314

Published on

Our Newer Yankee Workshop on NoSQL featuring Riak and CouchDB

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,314
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
19
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Newer Yankee Workshop - NoSQL

  1. 1. No-SQL Workshop March 30, 2010 @ Vermonster HQ in Boston, MA Agenda No-SQL Background (10 mins) Introduction to Riak (5 mins) Riak install (15 mins) Introduction to CouchDB (5 mins) CouchDB install (15 mins) Data Modeling (10 mins) Hands on Riak (20 mins) Hands on Couch (20 mins) Workshop Challenge (remainder)
  2. 2. What is No-SQL? Non-relational data stores that break with a long history of relational databases and ACID guarantees.
  3. 3. Why No-SQL? <ul><li>Scalability
  4. 4. Durability
  5. 5. More Natural Data Representation / Modeling
  6. 6. Because </li></ul>
  7. 7. Kinds of No-SQL <ul><li>Key/Store
  8. 8. Document
  9. 9. Graph
  10. 10. Others </li></ul>
  11. 11. CAP Theorem http://blog.nahurst.com/visual-guide-to-nosql-systems
  12. 12. Introduction to Riak <ul><li>Basho's Product
  13. 13. Erlang
  14. 14. Highly Distributed
  15. 15. No Master Node
  16. 16. Link Walking (cool!)
  17. 17. Vector Clocks (kinda like git – parent commits) </li></ul>
  18. 18. (Riak Install, riak ping ) https://wiki.basho.com/display/RIAK/Getting+Started
  19. 19. Riak Install (ruby gems) <ul><li>Did you RMV today? </li><ul><li>http://neweryankee.github.com/no-sql/ </li></ul><li>Gem install: </li><ul><li>rspec
  20. 20. ruby-debug19
  21. 21. ripple
  22. 22. faker </li></ul></ul>
  23. 23. Introduction to CouchDB <ul><li>Apache Project
  24. 24. Document Oriented Database
  25. 25. Store & read JSON
  26. 26. RESTful interface
  27. 27. Map/reduce views
  28. 28. CouchRest, CouchPotato and CouchFoo </li></ul>
  29. 29. (CouchDB Install) <ul><li>Gem install: </li><ul><li>couch_potato </li></ul><li>CouchDBX </li><ul><li>http://janl.github.com/couchdbx/ </li></ul></ul>
  30. 30. Data Modeling - OpenDocket <ul><li>Context: A project we are working on that promotes local government transparency.
  31. 31. Modeling (for this workshop): </li></ul>A docket_item has_many motions
  32. 32. Hands On Riak (riak implementation of document) $ git clone git://github.com/neweryankee/no-sql.git $ git branch --track riak origin/riak $ git checkout riak $ spec spec/
  33. 33. Hands On CouchDB (CouchDB implementation of document) $ git clone git://github.com/neweryankee/no-sql.git $ git branch --track couch origin/couch $ git checkout couch $ spec spec/
  34. 34. Workshop Challenge <ul>First, choose either riak or couch (or both) branch in git and load some data: $ rake import Find the difference between yeas and nays. (i.e. how many more yeas than nays?) </ul>
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×