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

Introduction to CouchDB

2553dc824d5a4fdd278651385a48b8ec?s=47 Joan Touzet
November 17, 2014

Introduction to CouchDB

What makes CouchDB different from all other databases? Find out in this talk.

2553dc824d5a4fdd278651385a48b8ec?s=128

Joan Touzet

November 17, 2014
Tweet

Transcript

  1. CouchDB Apache Introduction to

  2. WHAT SETS COUCHDB APART FROM OTHER DATABASES?

  3. Joan Touzet wohali@apache.org @wohali

  4. A database: The single origin of truth

  5. Then NoSQL happened

  6. What makes CouchDB special?

  7. CouchDB is more like git than Postgres

  8. master

  9. master secondary

  10. master …2ndary 2ndary 2ndary…

  11. master master

  12. master master master…

  13. CouchDB is not just a database It is a protocol

  14. The Couch Replication Protocol

  15. PouchDB

  16. A database in your browser

  17. TouchDB Couchbase Mobile

  18. None
  19. None
  20. None
  21. None
  22. None
  23. None
  24. None
  25. None
  26. None
  27. 1969-1997 (ish) 27

  28. Offline was the default. 28

  29. Online was slow, expensive, rare. 29

  30. Online was slow, expensive, rare. 30

  31. Design pattern: Store and Forward Plan 55-A message switching systems

    31
  32. Design pattern: Store and Forward Unix to Unix Copy (UUCP)

    Network News Transfer Protocol (NNTP) Simple Mail Transport Protocol (SMTP) 32
  33. DETAILS

  34. HTTP

  35. JSON DOCUMENTS

  36. REPLICATION

  37. _changes

  38. VIEWS

  39. R O B U S T

  40. STORAGE

  41. CONCURRENCY

  42. RESUME

  43. THANKS!

  44. Questions?

  45. None
  46. BONUS MATERIAL

  47. Conflicts

  48. ❦ Conflict resolution by example A B

  49. ❦ ❦ Conflict resolution by example A B

  50. ❦ Conflict resolution by example A B ❦ ✿ ̇

  51. ✿ ̇ Conflict resolution by example A B ̇

  52. ✿ ̇ Conflict resolution by example A B ̇

  53. None