Introduction to CouchDB

1,280 views

Published on

An introduction to CouchDB the awesome NoSQL JSON document store.

Published in: Technology, Business
1 Comment
0 Likes
Statistics
Notes
  • Be the first to like this

No Downloads
Views
Total views
1,280
On SlideShare
0
From Embeds
0
Number of Embeds
12
Actions
Shares
0
Downloads
11
Comments
1
Likes
0
Embeds 0
No embeds

No notes for slide

Introduction to CouchDB

  1. 1. Gavin Cooper
  2. 2. Magicseaweed.com
  3. 3. @gavincoop
  4. 4. Who?
  5. 5. Erlanghttp://www.flickr.com/photos/caffull/4457324501/
  6. 6. Awesome Scalabilityhttp://www.flickr.com/photos/thetodd717/5126328291/
  7. 7. Schema Free (JSON Doc’s)http://www.flickr.com/photos/josefgrunig/1732787905/
  8. 8. { “_id”: “ABCD”, “_rev”: “3-ABCD32432”, “type”: “user”, “name”: “Gavin Cooper”}
  9. 9. RESTful Interface • Create PUT /dbname/ • Read GET /dbname/docid • Update PUT /dbname/docid • Delete DELETE /dbname/docidhttp://www.flickr.com/photos/odreiuqzide/3289073079/
  10. 10. Futon
  11. 11. JavaScript Map/Reducehttp://www.flickr.com/photos/nyuhuhuu/3367743012/
  12. 12. Map extracts datahttp://www.flickr.com/photos/cobalt/4720536135/
  13. 13. Reduce aggregates datahttp://www.flickr.com/photos/zkorb/1445131889/
  14. 14. “the more you know Oracle (or any RDBMS) the harder it is to pick up” - Simon Metsonhttp://www.flickr.com/photos/antoaneta/4903441211/
  15. 15. Map/Reduce Views = Data Poolhttp://www.flickr.com/photos/charliebrewer/1466724792/
  16. 16. Mapfunction (doc) { if (doc.type === “user” && doc.name) { emit(doc.name, doc); }}
  17. 17. Reducefunction (keys, values) { return sum(values);}
  18. 18. Map/Reduce Taskshttp://www.flickr.com/photos/koisny/5395521966/
  19. 19. Awesome Replicationhttp://www.flickr.com/photos/jaumebonet/5249483963/
  20. 20. Latency Suckshttp://www.flickr.com/photos/basegreen/1397798304/
  21. 21. Bring The Couch Closerhttp://www.flickr.com/photos/basegreen/1397798304/
  22. 22. CouchDB Runs on Androidhttp://www.flickr.com/photos/appletv/4920964839/
  23. 23. Replication Filtershttp://www.flickr.com/photos/mbiskoping/298129486/
  24. 24. Resources delicious.com/gavincoop/couchdbhttp://www.flickr.com/photos/jiscinfonet/391917876/

×